Commit 6bd61862 by ruyun.zhang

个人岗位系数错误修复

parent 99a0d356
...@@ -103,6 +103,7 @@ public UniteDeptDetailResponse UniteDeptDetail(int allotId, UnitType unitType, s ...@@ -103,6 +103,7 @@ public UniteDeptDetailResponse UniteDeptDetail(int allotId, UnitType unitType, s
} }
var amount = post.FirstOrDefault(w => w.IsTotal == 1)?.CellValue ?? 0; var amount = post.FirstOrDefault(w => w.IsTotal == 1)?.CellValue ?? 0;
row.AddOrUpdate("合计", ValueFormating(amount, ""), ValueFormating(amount, "")); row.AddOrUpdate("合计", ValueFormating(amount, ""), ValueFormating(amount, ""));
items.Add(row);
} }
detailItems.Add(new DeptDetailItem { Title = "岗位系数", Total = 0, Items = items }); detailItems.Add(new DeptDetailItem { Title = "岗位系数", Total = 0, Items = items });
} }
......
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