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
ba158793
Commit
ba158793
authored
Nov 24, 2021
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
二次分配核算前单项计算BUG修复
parent
526146dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
performance/Performance.Services/RedistributionService.cs
+7
-6
No files found.
performance/Performance.Services/RedistributionService.cs
View file @
ba158793
...
...
@@ -982,8 +982,12 @@ private void overviewCalculate(Dictionary<string, object> head, List<Dictionary<
//// 夜班工作量绩效总和
//var nightShiftWorkPerforTotal = rows.Sum(row => GetDecimal2(row, nameof(ag_bodysource.NightWorkPerformance)));
//head.AddOrUpdate(nameof(ag_headsource.NightShiftWorkPerforTotal), nightShiftWorkPerforTotal);
// 可分配绩效(顶栏) = 科室总绩效 - 夜班绩效(顶栏)
var
totalPerformance
=
GetDecimal2
(
head
,
nameof
(
ag_headsource
.
TotalDistPerformance
))
-
GetDecimal2
(
head
,
nameof
(
ag_headsource
.
NightShiftWorkPerforTotal
));
// 科室考核前奖励
var
totalPreAccountingReward
=
rows
.
Sum
(
row
=>
GetDecimal2
(
row
,
nameof
(
ag_bodysource
.
PreDeptReward
)));
head
.
AddOrUpdate
(
nameof
(
ag_headsource
.
TotalPreAccountingReward
),
totalPreAccountingReward
);
// 可分配绩效(顶栏) = 科室总绩效 - 夜班绩效(顶栏) - 科室考核前奖励
var
totalPerformance
=
GetDecimal2
(
head
,
nameof
(
ag_headsource
.
TotalDistPerformance
))
-
GetDecimal2
(
head
,
nameof
(
ag_headsource
.
NightShiftWorkPerforTotal
))
-
totalPreAccountingReward
;
head
.
AddOrUpdate
(
nameof
(
ag_headsource
.
TotalPerformance
),
totalPerformance
);
//// 医院其他绩效总和
//var otherPerformance = rows.Sum(row => GetDecimal2(row, nameof(ag_bodysource.OtherPerformance)));
...
...
@@ -998,14 +1002,11 @@ private void overviewCalculate(Dictionary<string, object> head, List<Dictionary<
// 科室单项奖励
var
totalDeptReward
=
rows
.
Sum
(
row
=>
GetDecimal2
(
row
,
nameof
(
ag_bodysource
.
DeptReward
)));
head
.
AddOrUpdate
(
nameof
(
ag_headsource
.
TotalDeptReward
),
totalDeptReward
);
// 科室考核前奖励
var
totalPreAccountingReward
=
rows
.
Sum
(
row
=>
GetDecimal2
(
row
,
nameof
(
ag_bodysource
.
PreDeptReward
)));
head
.
AddOrUpdate
(
nameof
(
ag_headsource
.
TotalPreAccountingReward
),
totalPreAccountingReward
);
// 主任基础绩效(顶部) = 行内主任基础绩效总和
var
directorBasisPerformance
=
rows
.
Sum
(
row
=>
GetDecimal2
(
row
,
nameof
(
ag_bodysource
.
BasisPerformance
)));
head
.
AddOrUpdate
(
nameof
(
ag_headsource
.
DirectorBasisPerformance
),
directorBasisPerformance
);
// 业绩分配绩效总额 = 可分配绩效 - 科主任或护士长基础绩效 - 科室单项奖励 - 科室考核前奖励
var
theTotalAllocationOfPerformanceResults
=
totalPerformance
-
directorBasisPerformance
-
totalDeptReward
-
totalPreAccountingReward
;
var
theTotalAllocationOfPerformanceResults
=
totalPerformance
-
directorBasisPerformance
-
totalDeptReward
;
head
.
AddOrUpdate
(
nameof
(
ag_headsource
.
TheTotalAllocationOfPerformanceResults
),
theTotalAllocationOfPerformanceResults
);
}
...
...
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