Commit 2da5c992 authored by chenzhao's avatar chenzhao

统计首页问题修复

parent 3e7c1af5
......@@ -188,8 +188,9 @@ public class StatisticsHomepageServiceImpl {
for (String e : preparationMoney.keySet()) {
if (!e.equals("已收货") &&!e.equals("yshrl")){
list.add(MapBuilder.<String, Object>create().put("statusText", e).put("total", preparationMoney.get(e)).build());
preparationNum += new BigDecimal(preparationMoney.get(e).toString()).longValue();
}
preparationNum += new BigDecimal(preparationMoney.get(e).toString()).longValue();
}
list.add(MapBuilder.<String, Object>create().put("statusText", "已收货").put("total", preparationMoney.get("已收货")).put("realScale", preparationMoney.get("yshrl")).build());
list = this.nullDataBuildResult(list,preparationMoneyKeys);
......
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