Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
performance
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zry
performance
Commits
1220c4ad
Commit
1220c4ad
authored
Feb 10, 2023
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
医院其他绩效备注汇总
parent
82528a8d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
performance/Performance.Api/Controllers/EmployeeController.cs
+4
-4
performance/Performance.Services/EmployeeService.cs
+1
-1
No files found.
performance/Performance.Api/Controllers/EmployeeController.cs
View file @
1220c4ad
...
@@ -341,7 +341,7 @@ public ApiResponse GetAprDetail([FromBody] AprAmountAuditRequest request)
...
@@ -341,7 +341,7 @@ public ApiResponse GetAprDetail([FromBody] AprAmountAuditRequest request)
{
{
Title
=
string
.
IsNullOrEmpty
(
s
.
Key
)
?
"未知"
:
s
.
Key
,
Title
=
string
.
IsNullOrEmpty
(
s
.
Key
)
?
"未知"
:
s
.
Key
,
Value
=
s
.
Sum
(
sum
=>
sum
.
Amount
??
0
),
Value
=
s
.
Sum
(
sum
=>
sum
.
Amount
??
0
),
Remark
=
s
.
FirstOrDefault
()?.
Remark
??
""
,
Remark
=
s
tring
.
Join
(
";"
,
s
.
Where
(
w
=>
!
string
.
IsNullOrEmpty
(
w
.
Remark
)).
Select
(
w
=>
w
.
Remark
))
,
})
})
});
});
return
new
ApiResponse
(
ResponseType
.
OK
,
"ok"
,
result
);
return
new
ApiResponse
(
ResponseType
.
OK
,
"ok"
,
result
);
...
@@ -541,7 +541,7 @@ public ApiResponse AprOverview(int allotId)
...
@@ -541,7 +541,7 @@ public ApiResponse AprOverview(int allotId)
Detail
=
t
.
GroupBy
(
group
=>
group
.
PerforType
).
Select
(
s
=>
new
Detail
=
t
.
GroupBy
(
group
=>
group
.
PerforType
).
Select
(
s
=>
new
{
{
Title
=
string
.
IsNullOrEmpty
(
s
.
Key
)
?
"未知"
:
s
.
Key
,
Title
=
string
.
IsNullOrEmpty
(
s
.
Key
)
?
"未知"
:
s
.
Key
,
Remark
=
s
.
FirstOrDefault
()?.
Remark
??
""
,
Remark
=
s
tring
.
Join
(
";"
,
s
.
Where
(
w
=>
!
string
.
IsNullOrEmpty
(
w
.
Remark
)).
Select
(
w
=>
w
.
Remark
))
,
Value
=
s
.
Sum
(
sum
=>
sum
.
Amount
??
0
)
Value
=
s
.
Sum
(
sum
=>
sum
.
Amount
??
0
)
})
})
});
});
...
@@ -711,7 +711,7 @@ public ApiResponse GetAprHideDetail([FromBody] per_apr_amount request)
...
@@ -711,7 +711,7 @@ public ApiResponse GetAprHideDetail([FromBody] per_apr_amount request)
{
{
Title
=
string
.
IsNullOrEmpty
(
s
.
Key
)
?
"未知"
:
s
.
Key
,
Title
=
string
.
IsNullOrEmpty
(
s
.
Key
)
?
"未知"
:
s
.
Key
,
Value
=
s
.
Sum
(
sum
=>
sum
.
Amount
??
0
),
Value
=
s
.
Sum
(
sum
=>
sum
.
Amount
??
0
),
Remark
=
s
.
FirstOrDefault
()?.
Remark
??
""
,
Remark
=
s
tring
.
Join
(
";"
,
s
.
Where
(
w
=>
!
string
.
IsNullOrEmpty
(
w
.
Remark
)).
Select
(
w
=>
w
.
Remark
))
,
})
})
});
});
return
new
ApiResponse
(
ResponseType
.
OK
,
"ok"
,
result
);
return
new
ApiResponse
(
ResponseType
.
OK
,
"ok"
,
result
);
...
@@ -901,7 +901,7 @@ public ApiResponse AprHideOverview(int allotId)
...
@@ -901,7 +901,7 @@ public ApiResponse AprHideOverview(int allotId)
Detail
=
t
.
GroupBy
(
group
=>
group
.
PerforType
).
Select
(
s
=>
new
Detail
=
t
.
GroupBy
(
group
=>
group
.
PerforType
).
Select
(
s
=>
new
{
{
Title
=
string
.
IsNullOrEmpty
(
s
.
Key
)
?
"未知"
:
s
.
Key
,
Title
=
string
.
IsNullOrEmpty
(
s
.
Key
)
?
"未知"
:
s
.
Key
,
Remark
=
s
.
FirstOrDefault
()?.
Remark
??
""
,
Remark
=
s
tring
.
Join
(
";"
,
s
.
Where
(
w
=>
!
string
.
IsNullOrEmpty
(
w
.
Remark
)).
Select
(
w
=>
w
.
Remark
))
,
Value
=
s
.
Sum
(
sum
=>
sum
.
Amount
??
0
)
Value
=
s
.
Sum
(
sum
=>
sum
.
Amount
??
0
)
})
})
});
});
...
...
performance/Performance.Services/EmployeeService.cs
View file @
1220c4ad
...
@@ -2099,7 +2099,7 @@ public string AprListDownload(string name, int userId, List<view_per_apr_amount>
...
@@ -2099,7 +2099,7 @@ public string AprListDownload(string name, int userId, List<view_per_apr_amount>
{
"人员工号"
,
item
.
Key
.
PersonnelNumber
},
{
"人员工号"
,
item
.
Key
.
PersonnelNumber
},
{
"姓名"
,
item
.
Key
.
DoctorName
},
{
"姓名"
,
item
.
Key
.
DoctorName
},
};
};
allTypes
.
ForEach
(
w
=>
x
.
Add
(
w
,
""
));
allTypes
.
ForEach
(
w
=>
x
.
Add
(
string
.
IsNullOrEmpty
(
w
)
?
"未知"
:
w
,
""
));
foreach
(
var
type
in
item
.
GroupBy
(
group
=>
group
.
PerforType
))
foreach
(
var
type
in
item
.
GroupBy
(
group
=>
group
.
PerforType
))
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment