yujian
2019-06-26 0f22244f73f24ebf376c841fed797bc0c3880b1b
fanli/src/main/java/com/yeshi/fanli/service/impl/tlj/UserTaoLiJinDetailServiceImpl.java
@@ -170,9 +170,13 @@
         keys = monthMap.keySet().iterator();
         while (keys.hasNext()) {
            Integer key = keys.next();
            BigDecimal expend = new BigDecimal(voList.get(p).getExpend());
            BigDecimal income = new BigDecimal(voList.get(p).getIncome());
            // 去除支出负号
            finalList.get(key).getMonth().setExpend(voList.get(p).getExpend().replace("-", ""));
            finalList.get(key).getMonth().setIncome(voList.get(p).getIncome());
            finalList.get(key).getMonth().setExpend(expend.setScale(2).toString().replace("-", ""));
            finalList.get(key).getMonth().setIncome(income.setScale(2).toString());
            p++;
         }
      }