打印实发绩效BUG

parent 5d68f3a9
...@@ -2176,6 +2176,14 @@ public List<SecPrintResponse> Print(int secondId) ...@@ -2176,6 +2176,14 @@ public List<SecPrintResponse> Print(int secondId)
} }
} }
} }
// 重算实发绩效
foreach (var item in result)
{
item.RealAmount = (item.DistPerformance ?? 0) + (item.OtherPerformance ?? 0) + (item.NightWorkPerformance ?? 0);
}
return result.OrderBy(t => t.JobNumber).ThenBy(t => t.PersonName).ToList(); return result.OrderBy(t => t.JobNumber).ThenBy(t => t.PersonName).ToList();
} }
......
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