update 首页订单金额数据

This commit is contained in:
Lemon
2025-08-08 13:18:14 +08:00
parent 1cd3038e42
commit 0de268c679
3 changed files with 8 additions and 1 deletions

View File

@@ -3020,7 +3020,8 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
List<String> orderCodeList = Lists.newArrayList();
for (IndexOrderInfoVO indexOrderInfoVO : entry.getValue()) {
totalOrderAmount = totalOrderAmount.add(new BigDecimal(indexOrderInfoVO.getTotalOrderAmount()));
// totalOrderAmount = totalOrderAmount.add(new BigDecimal(indexOrderInfoVO.getTotalOrderAmount()));
totalOrderAmount = totalOrderAmount.add(new BigDecimal(indexOrderInfoVO.getTotalSettleAmount()));
totalElectricity = totalElectricity.add(new BigDecimal(indexOrderInfoVO.getTotalElectricity()));
orderCodeList.addAll(Lists.newArrayList(StringUtils.split(indexOrderInfoVO.getOrderCodes(), ",")));
}