From 61b8dfde7ead5755415cce981131b6a399ce1a28 Mon Sep 17 00:00:00 2001 From: xhxu Date: Thu, 10 Mar 2022 10:05:11 +0800 Subject: [PATCH] /. --- .../java/com/iformall/service/impl/WxCarCmdLogServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) 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());