保留整数

parent c5539259
...@@ -381,7 +381,7 @@ public List<SecondColumnDictionary> GetTableHeaderDictionary(ComputeMode compute ...@@ -381,7 +381,7 @@ public List<SecondColumnDictionary> GetTableHeaderDictionary(ComputeMode compute
var rescompute = _resaccountRepository.GetEntity(w => w.AccountingUnit == second.Department && w.UnitType == (int)((UnitType)unittype)); var rescompute = _resaccountRepository.GetEntity(w => w.AccountingUnit == second.Department && w.UnitType == (int)((UnitType)unittype));
refAvg = rescompute?.Avg ?? 0; refAvg = rescompute?.Avg ?? 0;
} }
head.AddOrUpdate("RefAvg", refAvg); head.AddOrUpdate("RefAvg", Math.Round(refAvg, 0, MidpointRounding.AwayFromZero));
#endregion #endregion
// 横向 纵向 特有顶部信息 // 横向 纵向 特有顶部信息
......
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