解决多账户的明细合计的空bug
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user