@@ -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