解决多账户的明细合计的空bug

This commit is contained in:
jishenghua
2024-01-14 15:38:22 +08:00
parent 644abc7a14
commit 9f2dee507e

View File

@@ -331,6 +331,7 @@ public class AccountService {
List<DepotHead> dataList = accountMapperEx.getManyAccountSum(accountId, beginTime, endTime, forceFlag);
if (dataList != null) {
for (DepotHead depotHead : dataList) {
if(depotHead != null) {
String accountIdList = depotHead.getAccountIdList();
String accountMoneyList = depotHead.getAccountMoneyList();
if(StringUtil.isNotEmpty(accountIdList) && StringUtil.isNotEmpty(accountMoneyList)) {
@@ -346,6 +347,7 @@ public class AccountService {
}
}
}
}
return accountSum;
}