diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxCarCmdLogServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxCarCmdLogServiceImpl.java index 5565a90fe..8804aee91 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxCarCmdLogServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxCarCmdLogServiceImpl.java @@ -130,6 +130,9 @@ public class WxCarCmdLogServiceImpl implements WxCarCmdLogService { params.put("tenantId", te.getTenantId()); params.put("parentTenantId", te.getParentTenantId()); BigDecimal bigDecimal = wxCarCmdLogMapper.queryCarPay(params); + if(bigDecimal == null){ + bigDecimal = new BigDecimal(0); + } carPay.add(bigDecimal); } params.put("tenantId", tenantEntity.getTenantId());