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
2883a02a
Commit
2883a02a
authored
Nov 04, 2020
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
考核等分率、调节系数默认100%
parent
313858af
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
performance/Performance.Services/AllotCompute/ResultComputeService.cs
+2
-2
performance/Performance.Services/ComputeService.cs
+5
-5
performance/Performance.Services/PerExcelService/ComputeEmpolyee/ComputeDirector.cs
+2
-2
No files found.
performance/Performance.Services/AllotCompute/ResultComputeService.cs
View file @
2883a02a
...
@@ -195,12 +195,12 @@ public class ResultComputeService : IAutoInjection
...
@@ -195,12 +195,12 @@ public class ResultComputeService : IAutoInjection
QuantitativeIndicatorsValue
=
item
.
QuantitativeIndicatorsValue
,
QuantitativeIndicatorsValue
=
item
.
QuantitativeIndicatorsValue
,
QuantitativeFee
=
item
.
Quantity
*
item
.
QuantitativeIndicatorsValue
*
headcount
,
QuantitativeFee
=
item
.
Quantity
*
item
.
QuantitativeIndicatorsValue
*
headcount
,
//ScoringAverage = scoreAverage.HasValue ? scoreAverage : dept?.ScoringAverage,
//ScoringAverage = scoreAverage.HasValue ? scoreAverage : dept?.ScoringAverage,
ScoringAverage
=
dept
?.
ScoringAverage
??
0
,
ScoringAverage
=
dept
?.
ScoringAverage
??
1
,
//OtherPerfor = dept?.OtherPerfor1,
//OtherPerfor = dept?.OtherPerfor1,
Punishment
=
(
extra
??
0
),
Punishment
=
(
extra
??
0
),
MedicineExtra
=
(
drugExtra
??
0
),
MedicineExtra
=
(
drugExtra
??
0
),
MaterialsExtra
=
(
materialsExtra
??
0
),
MaterialsExtra
=
(
materialsExtra
??
0
),
Adjust
=
isBudget
?
adjust
:
(
dept
?.
AdjustFactor
??
0
),
Adjust
=
isBudget
?
adjust
:
(
dept
?.
AdjustFactor
??
1
),
AssessBeforeOtherFee
=
dept
?.
AssessBeforeOtherFee
??
0
,
AssessBeforeOtherFee
=
dept
?.
AssessBeforeOtherFee
??
0
,
AssessLaterOtherFee
=
dept
?.
AssessLaterOtherFee
??
0
,
AssessLaterOtherFee
=
dept
?.
AssessLaterOtherFee
??
0
,
...
...
performance/Performance.Services/ComputeService.cs
View file @
2883a02a
...
@@ -178,7 +178,7 @@ public List<ResComputeResponse> GetCompute(int allotId, int type)
...
@@ -178,7 +178,7 @@ public List<ResComputeResponse> GetCompute(int allotId, int type)
{
{
t
.
PerforSumFee
=
t
.
ShouldGiveFee
+
t
.
AssessBeforeOtherFee
;
t
.
PerforSumFee
=
t
.
ShouldGiveFee
+
t
.
AssessBeforeOtherFee
;
var
employee
=
employees
.
FirstOrDefault
(
e
=>
e
.
DoctorName
==
t
.
EmployeeName
&&
e
.
AccountingUnit
==
t
.
AccountingUnit
&&
pairs
[
type
].
Contains
(
e
.
UnitType
));
var
employee
=
employees
.
FirstOrDefault
(
e
=>
e
.
DoctorName
==
t
.
EmployeeName
&&
e
.
AccountingUnit
==
t
.
AccountingUnit
&&
pairs
[
type
].
Contains
(
e
.
UnitType
));
var
scoreAverageRate
=
t
.
ScoreAverageRate
??
employee
.
ScoreAverageRate
??
0
;
var
scoreAverageRate
=
t
.
ScoreAverageRate
??
employee
.
ScoreAverageRate
??
1
;
var
attendance
=
t
.
Attendance
??
employee
.
Attendance
??
0
;
var
attendance
=
t
.
Attendance
??
employee
.
Attendance
??
0
;
t
.
GiveFee
=
t
.
ShouldGiveFee
*
scoreAverageRate
*
attendance
+
(
t
.
OtherPerfor
??
0
)
+
t
.
Punishment
+
t
.
OtherPerfor
+
t
.
AssessLaterOtherFee
;
t
.
GiveFee
=
t
.
ShouldGiveFee
*
scoreAverageRate
*
attendance
+
(
t
.
OtherPerfor
??
0
)
+
t
.
Punishment
+
t
.
OtherPerfor
+
t
.
AssessLaterOtherFee
;
t
.
RealGiveFee
=
t
.
GiveFee
*
(
t
.
Adjust
??
1
m
)
+
t
.
AdjustLaterOtherFee
;
t
.
RealGiveFee
=
t
.
GiveFee
*
(
t
.
Adjust
??
1
m
)
+
t
.
AdjustLaterOtherFee
;
...
@@ -1057,9 +1057,9 @@ public DeptDataDetails SpecialDeptDetail(ag_secondallot second)
...
@@ -1057,9 +1057,9 @@ public DeptDataDetails SpecialDeptDetail(ag_secondallot second)
UnitType
=
second
.
UnitType
,
UnitType
=
second
.
UnitType
,
AccountingUnit
=
second
.
Department
,
AccountingUnit
=
second
.
Department
,
//Department = second.Department,
//Department = second.Department,
ScoringAverage
=
special
.
FirstOrDefault
()?.
ScoringAverage
??
0
,
ScoringAverage
=
special
.
FirstOrDefault
()?.
ScoringAverage
??
1
,
//OtherPerfor1 = special.FirstOrDefault()?.OtherPerfor ?? 0,
//OtherPerfor1 = special.FirstOrDefault()?.OtherPerfor ?? 0,
AdjustFactor
=
special
.
FirstOrDefault
()?.
Adjust
??
0
,
AdjustFactor
=
special
.
FirstOrDefault
()?.
Adjust
??
1
,
Avg
=
special
.
FirstOrDefault
()?.
Avg
,
Avg
=
special
.
FirstOrDefault
()?.
Avg
,
RealGiveFee
=
special
.
FirstOrDefault
()?.
RealGiveFee
,
RealGiveFee
=
special
.
FirstOrDefault
()?.
RealGiveFee
,
Number
=
special
.
FirstOrDefault
()?.
Number
??
0
,
Number
=
special
.
FirstOrDefault
()?.
Number
??
0
,
...
@@ -1207,9 +1207,9 @@ public DeptDataDetails GetDoctorDetail(int computeId)
...
@@ -1207,9 +1207,9 @@ public DeptDataDetails GetDoctorDetail(int computeId)
ScalePerfor
=
resCompute
.
Scale
??
0
,
//规模绩效
ScalePerfor
=
resCompute
.
Scale
??
0
,
//规模绩效
Management
=
employee
.
Management
,
//管理绩效发放系数
Management
=
employee
.
Management
,
//管理绩效发放系数
ShouldGiveFee
=
resCompute
.
ShouldGiveFee
??
0
,
//考核前管理绩效
ShouldGiveFee
=
resCompute
.
ShouldGiveFee
??
0
,
//考核前管理绩效
ScoringAverage
=
resCompute
.
ScoreAverageRate
??
0
,
//考核得分率
ScoringAverage
=
resCompute
.
ScoreAverageRate
??
1
,
//考核得分率
AssessLaterManagementFee
=
Math
.
Round
(
resCompute
.
ShouldGiveFee
*
resCompute
.
ScoreAverageRate
*
resCompute
.
Attendance
+
resCompute
.
Punishment
??
0
),
//考核后管理绩效
AssessLaterManagementFee
=
Math
.
Round
(
resCompute
.
ShouldGiveFee
*
resCompute
.
ScoreAverageRate
*
resCompute
.
Attendance
+
resCompute
.
Punishment
??
0
),
//考核后管理绩效
AdjustFactor
=
employee
?.
Adjust
??
0
,
//调节系数
AdjustFactor
=
employee
?.
Adjust
??
1
,
//调节系数
AdjustLaterOtherFee
=
employee
.
AdjustLaterOtherFee
,
//调节后其他绩效
AdjustLaterOtherFee
=
employee
.
AdjustLaterOtherFee
,
//调节后其他绩效
RealGiveFee
=
resCompute
.
RealGiveFee
//绩效合计
RealGiveFee
=
resCompute
.
RealGiveFee
//绩效合计
},
},
...
...
performance/Performance.Services/PerExcelService/ComputeEmpolyee/ComputeDirector.cs
View file @
2883a02a
...
@@ -380,7 +380,7 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, List<PerS
...
@@ -380,7 +380,7 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, List<PerS
JobNumber
=
empolyee
.
JobNumber
,
JobNumber
=
empolyee
.
JobNumber
,
AssessBeforeOtherFee
=
empolyee
.
AssessBeforeOtherFee
??
0
,
AssessBeforeOtherFee
=
empolyee
.
AssessBeforeOtherFee
??
0
,
ScoreAverageRate
=
empolyee
.
ScoreAverageRate
??
0
,
ScoreAverageRate
=
empolyee
.
ScoreAverageRate
??
1
,
AssessLaterOtherFee
=
empolyee
.
AssessLaterOtherFee
??
0
,
AssessLaterOtherFee
=
empolyee
.
AssessLaterOtherFee
??
0
,
AdjustLaterOtherFee
=
empolyee
.
AdjustLaterOtherFee
??
0
,
AdjustLaterOtherFee
=
empolyee
.
AdjustLaterOtherFee
??
0
,
//OtherPerfor = empolyee.OtherPerfor ?? 0,
//OtherPerfor = empolyee.OtherPerfor ?? 0,
...
@@ -481,7 +481,7 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, per_allot
...
@@ -481,7 +481,7 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, per_allot
//WorkTime = item.WorkTime,
//WorkTime = item.WorkTime,
PostCoefficient
=
item
.
PostCoefficient
??
0
,
PostCoefficient
=
item
.
PostCoefficient
??
0
,
Attendance
=
item
.
Attendance
??
0
,
Attendance
=
item
.
Attendance
??
0
,
ScoreAverageRate
=
item
.
ScoreAverageRate
??
0
,
ScoreAverageRate
=
item
.
ScoreAverageRate
??
1
,
Punishment
=
extra
??
0
,
Punishment
=
extra
??
0
,
OtherPerfor
=
item
.
OtherPerfor
??
0
,
OtherPerfor
=
item
.
OtherPerfor
??
0
,
JobTitle
=
item
.
JobTitle
,
JobTitle
=
item
.
JobTitle
,
...
...
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