Commit 68811594 by lcx

Merge branch 'v2020morge' into 二次绩效历史人员

parents 891d5ff7 e7981a79
...@@ -236,6 +236,7 @@ public void SpecialUnitCompute(PerExcel excel, per_allot allot, List<res_baiscno ...@@ -236,6 +236,7 @@ public void SpecialUnitCompute(PerExcel excel, per_allot allot, List<res_baiscno
var avg = (empolyee.FitPeopleValue.HasValue) var avg = (empolyee.FitPeopleValue.HasValue)
? empolyee.FitPeopleValue ? empolyee.FitPeopleValue
: group.Number == 0 ? 0 : sumValue / group.Number; : group.Number == 0 ? 0 : sumValue / group.Number;
var effAvg = empolyee.PermanentStaff == 0 ? 0 : sumValue / empolyee.PermanentStaff;
var empolyeeAdjust = isBudget ? adjust : empolyee.Adjust; var empolyeeAdjust = isBudget ? adjust : empolyee.Adjust;
var compute = new ComputeResult var compute = new ComputeResult
...@@ -261,7 +262,7 @@ public void SpecialUnitCompute(PerExcel excel, per_allot allot, List<res_baiscno ...@@ -261,7 +262,7 @@ public void SpecialUnitCompute(PerExcel excel, per_allot allot, List<res_baiscno
AssessBeforeOtherFee = empolyee?.AssessBeforeOtherFee ?? 0, AssessBeforeOtherFee = empolyee?.AssessBeforeOtherFee ?? 0,
AssessLaterOtherFee = empolyee?.AssessLaterOtherFee ?? 0, AssessLaterOtherFee = empolyee?.AssessLaterOtherFee ?? 0,
AdjustLaterOtherFee = empolyee?.AdjustLaterOtherFee ?? 0, AdjustLaterOtherFee = empolyee?.AdjustLaterOtherFee ?? 0,
Efficiency = avg * (empolyee.Efficiency ?? 0), Efficiency = effAvg * (empolyee.Efficiency ?? 0),
Scale = sumValue * (empolyee.Scale ?? 0), Scale = sumValue * (empolyee.Scale ?? 0),
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment