解决多账户的明细合计的空bug
This commit is contained in:
@@ -331,6 +331,7 @@ public class AccountService {
|
|||||||
List<DepotHead> dataList = accountMapperEx.getManyAccountSum(accountId, beginTime, endTime, forceFlag);
|
List<DepotHead> dataList = accountMapperEx.getManyAccountSum(accountId, beginTime, endTime, forceFlag);
|
||||||
if (dataList != null) {
|
if (dataList != null) {
|
||||||
for (DepotHead depotHead : dataList) {
|
for (DepotHead depotHead : dataList) {
|
||||||
|
if(depotHead != null) {
|
||||||
String accountIdList = depotHead.getAccountIdList();
|
String accountIdList = depotHead.getAccountIdList();
|
||||||
String accountMoneyList = depotHead.getAccountMoneyList();
|
String accountMoneyList = depotHead.getAccountMoneyList();
|
||||||
if(StringUtil.isNotEmpty(accountIdList) && StringUtil.isNotEmpty(accountMoneyList)) {
|
if(StringUtil.isNotEmpty(accountIdList) && StringUtil.isNotEmpty(accountMoneyList)) {
|
||||||
@@ -346,6 +347,7 @@ public class AccountService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return accountSum;
|
return accountSum;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user