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
da605fc6
Commit
da605fc6
authored
Mar 15, 2021
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节调整
parent
0b6ef0ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
performance/Performance.Services/ComputeService.cs
+3
-7
No files found.
performance/Performance.Services/ComputeService.cs
View file @
da605fc6
...
...
@@ -559,7 +559,7 @@ public List<DeptResponse> GetAdminPerformance(int allotId)
var
officeResult
=
computes
.
GroupBy
(
t
=>
new
{
t
.
AccountingUnit
,
t
.
AccountType
,
t
.
UnitType
}).
Select
(
t
=>
new
DeptResponse
{
UnitName
=
t
.
Key
.
AccountType
==
"行政
工勤"
?
"行政后
勤"
:
t
.
Key
.
AccountType
,
UnitName
=
t
.
Key
.
AccountType
==
"行政
后勤"
?
"行政工
勤"
:
t
.
Key
.
AccountType
,
AccountingUnit
=
t
.
Key
.
AccountingUnit
,
Department
=
t
.
Key
.
AccountingUnit
,
PerforFee
=
0
,
...
...
@@ -577,16 +577,12 @@ public List<DeptResponse> GetAdminPerformance(int allotId)
RealGiveFee
=
t
.
Sum
(
w
=>
w
.
RealGiveFee
),
});
;
result
.
AddRange
(
officeResult
);
// 医院其他绩效、科主任护士长管理绩效、合并实发
foreach
(
var
item
in
result
)
{
item
.
AprPerforAmount
=
otherPerformances
?.
Where
(
w
=>
w
.
AccountingUnit
==
item
.
AccountingUnit
&&
w
.
UnitType
==
item
.
UnitName
)?.
Sum
(
w
=>
w
.
Amount
)
??
0
;
item
.
AssessLaterManagementFee
=
item
.
AssessLaterManagementFee
??
0
;
item
.
RealGiveFee
=
(
item
.
RealGiveFee
??
0
)
+
item
.
AssessLaterManagementFee
+
item
.
AprPerforAmount
;
if
(
item
.
RealGiveFee
<=
0
)
{
}
}
var
enumItems
=
EnumHelper
.
GetItems
<
AccountUnitType
>();
...
...
@@ -1143,7 +1139,7 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId)
if
(
pairs
.
Contains
((
SheetType
)
sheet
.
SheetType
))
{
sheettype
=
5
;
amount
=
basicData
.
Where
(
t
=>
t
.
SheetID
==
sheet
.
ID
&&
t
.
UnitType
==
(
int
)
type
&&
t
.
IsTotal
==
1
)?.
FirstOrDefault
()?.
CellValue
??
0
;
amount
=
basicData
?
.
Where
(
t
=>
t
.
SheetID
==
sheet
.
ID
&&
t
.
UnitType
==
(
int
)
type
&&
t
.
IsTotal
==
1
)?.
FirstOrDefault
()?.
CellValue
??
0
;
if
(
sheet
.
SheetType
!=
(
int
)
SheetType
.
BudgetRatio
)
amount
=
Math
.
Round
(
amount
,
0
);
}
...
...
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