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