|
@@ -118,7 +118,7 @@ public class AssetsService { |
|
@@ -118,7 +118,7 @@ public class AssetsService { |
118
|
TradeBillsSummaryBo summary(int uid) {
|
118
|
TradeBillsSummaryBo summary(int uid) {
|
119
|
return assetsDetailsViewCache.summary(AssetsDetailsViewRequest.builder().uid(uid).build(), request -> {
|
119
|
return assetsDetailsViewCache.summary(AssetsDetailsViewRequest.builder().uid(uid).build(), request -> {
|
120
|
log.info("{} load summary", request.getUid());
|
120
|
log.info("{} load summary", request.getUid());
|
121
|
- List<AssetsDetailsViewIncomeAmount> incomeAmounts = tradeBillsMapper.selectIncomeAmountForAssetsDetailsView(request.getUid(),null);
|
121
|
+ List<AssetsDetailsViewIncomeAmount> incomeAmounts = tradeBillsMapper.selectIncomeAmountForAssetsDetailsView(request.getUid());
|
122
|
log.info("{} load summary found {} items", request.getUid(), incomeAmounts.size());
|
122
|
log.info("{} load summary found {} items", request.getUid(), incomeAmounts.size());
|
123
|
BigDecimal goodsIncome = incomeAmounts.stream()
|
123
|
BigDecimal goodsIncome = incomeAmounts.stream()
|
124
|
.filter(e -> TradeType.goods_income.getCode() == e.getTradeType().intValue())
|
124
|
.filter(e -> TradeType.goods_income.getCode() == e.getTradeType().intValue())
|