考核得分率不纳入平均值极端

parent ae146fc4
...@@ -467,7 +467,7 @@ public void ComputeCustomMinimum(PerExcel excel, List<PerSheet> perSheet, List<r ...@@ -467,7 +467,7 @@ public void ComputeCustomMinimum(PerExcel excel, List<PerSheet> perSheet, List<r
dept.RealGiveFee = (dept.PerforTotal * dept.ScoringAverage + dept.Extra + dept.OtherPerfor2) * dept.AdjustFactor; dept.RealGiveFee = (dept.PerforTotal * dept.ScoringAverage + dept.Extra + dept.OtherPerfor2) * dept.AdjustFactor;
dept.Avg = dept.ManagerNumber + dept.Number == 0 ? 0 : dept.PerforTotal / (dept.ManagerNumber + dept.Number); dept.Avg = dept.ManagerNumber + dept.Number == 0 ? 0 : dept.PerforTotal / (dept.ManagerNumber + dept.Number);
totalValue += (dept.RealGiveFee ?? 0); totalValue += (dept.PerforTotal ?? 0);
} }
var baiscnorm = new res_baiscnorm var baiscnorm = new res_baiscnorm
{ {
......
...@@ -218,9 +218,9 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, List<im_a ...@@ -218,9 +218,9 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, List<im_a
//绩效合计 //绩效合计
compute.PerforSumFee = compute.Avg + compute.ShouldGiveFee; compute.PerforSumFee = compute.Avg + compute.ShouldGiveFee;
//应发绩效 //应发绩效
compute.GiveFee = compute.PerforSumFee * compute.ScoreAverageRate + (compute.Punishment ?? 0) + (compute.OtherPerfor ?? 0); compute.GiveFee = compute.PerforSumFee ;
//实发绩效 //实发绩效
compute.RealGiveFee = compute.GiveFee * (compute.Adjust ?? 1m); compute.RealGiveFee = (compute.GiveFee * compute.ScoreAverageRate + (compute.Punishment ?? 0) + (compute.OtherPerfor ?? 0)) * (compute.Adjust ?? 1m);
computeList.Add(compute); computeList.Add(compute);
} }
return computeList; return computeList;
......
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