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
5900541e
Commit
5900541e
authored
May 19, 2021
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'hotfix/行政中层二次分配显示错误'
parents
c91751fb
920f278b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
24 deletions
+25
-24
performance/Performance.DtoModels/PerExcel/PerDataAccountBaisc.cs
+4
-0
performance/Performance.Services/ComputeService.cs
+21
-24
No files found.
performance/Performance.DtoModels/PerExcel/PerDataAccountBaisc.cs
View file @
5900541e
...
@@ -284,5 +284,9 @@ public class PerDataAccountBaisc : IPerData
...
@@ -284,5 +284,9 @@ public class PerDataAccountBaisc : IPerData
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
PostCoefficient
{
get
;
set
;
}
public
Nullable
<
decimal
>
PostCoefficient
{
get
;
set
;
}
/// <summary>
/// 考核后绩效
/// </summary>
public
Nullable
<
decimal
>
GiveFee
{
get
;
set
;
}
}
}
}
}
performance/Performance.Services/ComputeService.cs
View file @
5900541e
...
@@ -1667,40 +1667,37 @@ public DeptDataDetails GetAdministration(int computeId)
...
@@ -1667,40 +1667,37 @@ public DeptDataDetails GetAdministration(int computeId)
var
resCompute
=
_perforRescomputeRepository
.
GetEntity
(
t
=>
t
.
ID
==
computeId
);
var
resCompute
=
_perforRescomputeRepository
.
GetEntity
(
t
=>
t
.
ID
==
computeId
);
if
(
resCompute
==
null
)
return
new
DeptDataDetails
();
if
(
resCompute
==
null
)
return
new
DeptDataDetails
();
var
employee
=
_perforImemployeeRepository
.
GetEntity
(
t
=>
t
.
AllotID
==
resCompute
.
AllotID
&&
t
.
AccountingUnit
==
resCompute
.
AccountingUnit
&&
t
.
PersonnelNumber
==
resCompute
.
JobNumber
);
//
var employee = _perforImemployeeRepository.GetEntity(t => t.AllotID == resCompute.AllotID && t.AccountingUnit == resCompute.AccountingUnit && t.PersonnelNumber == resCompute.JobNumber);
DeptDataDetails
doctorDetails
=
new
DeptDataDetails
DeptDataDetails
doctorDetails
=
new
DeptDataDetails
{
{
ShowFormula
=
0
,
ShowFormula
=
0
,
Pandect
=
new
PerDataAccountBaisc
Pandect
=
new
PerDataAccountBaisc
{
{
EmployeeName
=
employee
.
DoctorName
,
//医生姓名
EmployeeName
=
resCompute
.
EmployeeName
,
//医生姓名
JobNumber
=
employee
.
PersonnelNumber
,
//工号
JobNumber
=
resCompute
.
JobNumber
,
//工号
AccountingUnit
=
employee
.
AccountingUnit
,
//核算单元
AccountingUnit
=
resCompute
.
AccountingUnit
,
//核算单元
AccountType
=
employee
.
AccountType
,
//核算单元类型
AccountType
=
resCompute
.
AccountType
,
//核算单元类型
JobTitle
=
employee
.
JobTitle
,
//职称
JobTitle
=
resCompute
.
JobTitle
,
//职称
FitPeople
=
employee
.
FitPeople
,
//绩效基数核算参考对象
FitPeople
=
resCompute
.
FitPeople
,
//绩效基数核算参考对象
FitPeopleValue
=
employee
.
FitPeopleValue
??
0
,
//绩效基础核算参考值
FitPeopleValue
=
resCompute
.
FitPeopleValue
??
0
,
//绩效基础核算参考值
FitPeopleRatio
=
employee
.
FitPeopleRatio
,
//绩效基础核算系数
FitPeopleRatio
=
resCompute
.
FitPeopleRatio
,
//绩效基础核算系数
PostCoefficient
=
employee
.
PostCoefficient
,
//岗位系数
PostCoefficient
=
resCompute
.
PostCoefficient
,
//岗位系数
Attendance
=
employee
.
Attendance
,
//出勤率
Attendance
=
resCompute
.
Attendance
,
//出勤率
ScoringAverage
=
employee
?.
ScoreAverageRate
,
//考核得分率
ScoringAverage
=
resCompute
?.
ScoreAverageRate
,
//考核得分率
AssessBeforeOtherFee
=
employee
.
AssessBeforeOtherFee
??
0
,
AssessBeforeOtherFee
=
resCompute
.
AssessBeforeOtherFee
??
0
,
Extra
=
employee
.
Punishment
,
//医院奖罚
Extra
=
resCompute
.
Punishment
,
//医院奖罚
NightShiftWorkPerforFee
=
employee
.
NightWorkPerfor
,
//夜班费
NightShiftWorkPerforFee
=
resCompute
.
NightWorkPerfor
,
//夜班费
AdjustFactor
=
employee
.
Adjust
,
//调节系数
AdjustFactor
=
resCompute
.
Adjust
,
//调节系数
AdjustLaterOtherFee
=
employee
?.
AdjustLaterOtherFee
??
0
,
//调解后其他绩效
AdjustLaterOtherFee
=
resCompute
?.
AdjustLaterOtherFee
??
0
,
//调解后其他绩效
PerforTotal
=
Math
.
Round
(
employee
.
FitPeopleValue
??
0
*
employee
.
PostCoefficient
??
0
*
employee
.
Attendance
+
employee
.
AssessBeforeOtherFee
??
0
),
PerforTotal
=
resCompute
.
PerforTotal
,
//考核前绩效
//考核前绩效
GiveFee
=
resCompute
.
GiveFee
,
//考核后绩效
RealGiveFee
=
resCompute
.
RealGiveFee
//实发绩效
},
},
Detail
=
new
List
<
DetailDtos
>()
Detail
=
new
List
<
DetailDtos
>()
};
};
var
pandect
=
doctorDetails
.
Pandect
;
//考核后绩效
doctorDetails
.
Pandect
.
AssessLaterPerforTotal
=
Math
.
Round
(
pandect
.
PerforTotal
*
pandect
.
ScoringAverage
+
pandect
.
Extra
??
0
);
//实发绩效
doctorDetails
.
Pandect
.
RealGiveFee
=
Math
.
Round
((
pandect
.
AssessLaterPerforTotal
*
pandect
.
AdjustFactor
+
pandect
.
AdjustLaterOtherFee
)
??
0
);
var
isShowManage
=
IsShowManage
(
resCompute
.
AllotID
.
Value
);
var
isShowManage
=
IsShowManage
(
resCompute
.
AllotID
.
Value
);
// 开启 显示管理绩效
// 开启 显示管理绩效
...
...
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