优化供应商客户金额统计
This commit is contained in:
@@ -211,9 +211,9 @@ public class DepotHeadController {
|
||||
beginNeed = supplier.getBeginNeedPay();
|
||||
}
|
||||
BigDecimal firstMoney = depotHeadService.findTotalPay(organId, beginTime, supType)
|
||||
.add(accountHeadService.findTotalPay(organId, beginTime, supType)).add(beginNeed);
|
||||
.subtract(accountHeadService.findTotalPay(organId, beginTime, supType)).add(beginNeed);
|
||||
BigDecimal lastMoney = depotHeadService.findTotalPay(organId, endTime, supType)
|
||||
.add(accountHeadService.findTotalPay(organId, endTime, supType)).add(beginNeed);
|
||||
.subtract(accountHeadService.findTotalPay(organId, endTime, supType)).add(beginNeed);
|
||||
map.put("firstMoney", firstMoney); //期初
|
||||
map.put("lastMoney", lastMoney); //期末
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user