yzc 10 miesięcy temu
rodzic
commit
aeb76f3553

+ 4 - 0
hx-form/src/main/java/com/fjhx/form/service/impl/ReportServiceImpl.java

@@ -450,6 +450,10 @@ public class ReportServiceImpl implements ReportService {
             JSONObject item = receivableAccount.getJSONObject("" + month);
             Long customerId = receivableAccount.getLong("customerId");
 
+            if (ObjectUtil.isEmpty(customerId)) {
+                continue;
+            }
+
             DateTime parse = DateUtil.parse(StrUtil.format("{}-{}", dto.getYear(), month), "yyyy-MM");
 
             CustomerPayableBalance customerPayableBalance = customerPayableBalanceService.getOne(q -> q