行政科室详情null值判断

parent 465151fa
......@@ -1002,6 +1002,8 @@ public DeptDataDetails DeptOfficeDetail(int accountId)
Items = new List<DetailModule>(),
GroupBasis = 1,
};
if (computes != null)
{
foreach (var item in computes)
{
detail.Items.Add(new DetailModule
......@@ -1011,6 +1013,8 @@ public DeptDataDetails DeptOfficeDetail(int accountId)
ItemValue = Math.Round(item.PerforSumFee ?? 0, 2)
});
}
}
deptDetails.Detail.Add(detail);
int groupBasis = 0;
......
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