Commit 919bd101 by ruyun.zhang@suvalue.com

Merge branch 'feature/科室详情小数位' into develop

parents 65c06afe 789a8c25
...@@ -1292,7 +1292,9 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId) ...@@ -1292,7 +1292,9 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId)
{ {
sheettype = 5; sheettype = 5;
amount = basicData?.Where(t => t.SheetID == sheet.ID && t.UnitType == (int)type && t.IsTotal == 1)?.FirstOrDefault()?.CellValue ?? 0; amount = basicData?.Where(t => t.SheetID == sheet.ID && t.UnitType == (int)type && t.IsTotal == 1)?.FirstOrDefault()?.CellValue ?? 0;
if (sheet.SheetType != (int)SheetType.BudgetRatio) //if (sheet.SheetType != (int)SheetType.BudgetRatio)
// amount = GetDecimal(amount, 0);
if (amount > 5)
amount = GetDecimal(amount, 0); amount = GetDecimal(amount, 0);
} }
return (sheettype, amount); return (sheettype, amount);
......
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