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
ccc24bb3
Commit
ccc24bb3
authored
Jun 07, 2021
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
医院其他绩效
parent
3f4b013a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
performance/Performance.Services/ComputeService.cs
+4
-2
No files found.
performance/Performance.Services/ComputeService.cs
View file @
ccc24bb3
...
@@ -606,12 +606,14 @@ public List<DeptResponse> GetAdminPerformance(int allotId)
...
@@ -606,12 +606,14 @@ public List<DeptResponse> GetAdminPerformance(int allotId)
var
otherPerformances
=
perapramountRepository
var
otherPerformances
=
perapramountRepository
.
GetFullAmount
(
t
=>
t
.
AllotId
==
allotId
&&
t
.
Status
==
3
)
.
GetFullAmount
(
t
=>
t
.
AllotId
==
allotId
&&
t
.
Status
==
3
)
?.
GroupBy
(
t
=>
new
{
t
.
AccountingUnit
,
t
.
UnitType
})
?.
GroupBy
(
t
=>
new
{
t
.
AccountingUnit
,
t
.
UnitType
})
.
Select
(
t
=>
new
view_per_total_amount
(
t
.
Key
.
UnitType
.
Replace
(
"行政后勤"
,
"行政工勤"
),
t
.
Key
.
AccountingUnit
,
""
,
t
.
Sum
(
s
=>
s
.
Amount
)
??
0
));
.
Select
(
t
=>
new
view_per_total_amount
(
t
.
Key
.
UnitType
.
Replace
(
"行政后勤"
,
"行政工勤"
),
t
.
Key
.
AccountingUnit
,
""
,
t
.
Sum
(
s
=>
s
.
Amount
)
??
0
))
.
ToList
();
var
hideOtherPerformances
=
_hideRepository
var
hideOtherPerformances
=
_hideRepository
.
GetFullAmount
(
t
=>
t
.
AllotId
==
allotId
&&
t
.
Status
==
3
)
.
GetFullAmount
(
t
=>
t
.
AllotId
==
allotId
&&
t
.
Status
==
3
)
?.
GroupBy
(
t
=>
new
{
t
.
AccountingUnit
,
t
.
UnitType
})
?.
GroupBy
(
t
=>
new
{
t
.
AccountingUnit
,
t
.
UnitType
})
.
Select
(
t
=>
new
view_per_total_amount
(
t
.
Key
.
UnitType
.
Replace
(
"行政后勤"
,
"行政工勤"
),
t
.
Key
.
AccountingUnit
,
""
,
t
.
Sum
(
s
=>
s
.
Amount
)
??
0
));
.
Select
(
t
=>
new
view_per_total_amount
(
t
.
Key
.
UnitType
.
Replace
(
"行政后勤"
,
"行政工勤"
),
t
.
Key
.
AccountingUnit
,
""
,
t
.
Sum
(
s
=>
s
.
Amount
)
??
0
))
.
ToList
();
// 医院其他绩效 / 不公示其他绩效、科主任护士长管理绩效、合并实发
// 医院其他绩效 / 不公示其他绩效、科主任护士长管理绩效、合并实发
foreach
(
var
item
in
result
)
foreach
(
var
item
in
result
)
...
...
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