Commit ad501050 by ruyun.zhang@suvalue.com

Merge branch 'v2020calculate' into v2020morge

parents 7eed7aed 4f090183
......@@ -223,11 +223,6 @@ public ApiResponse AllComputeAvg([FromBody] ComputerRequest request)
}
//List<res_baiscnorm> avgs = new List<res_baiscnorm>();
//var gc = list.Where(w => w.UnitType != UnitType.行政高层.ToString());
//avgs.Add(new res_baiscnorm
//{
// PositionName = "不含行政高层人均绩效",
......
......@@ -255,7 +255,6 @@ public class ResultComputeService : IAutoInjection
Scale = sumValue * (empolyee.Scale ?? 0),
};
compute.Avg = (group.Number == 0 ? 0 : (sumValue / group.Number)) * (empolyee.Basics ?? 0) * compute.Attendance;
// 考核前管理绩效
compute.ShouldGiveFee = Math.Round((compute.Efficiency + compute.Scale) * compute.Grant + compute.OtherManagePerfor ?? 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