Commit f441fd10 by ruyun.zhang@suvalue.com

Merge branch 'hotfix/打印实发绩效BUG' into develop

parents 6eda2b04 3ddca4f2
...@@ -2181,6 +2181,14 @@ public List<SecPrintResponse> Print(int secondId) ...@@ -2181,6 +2181,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