Commit 63e7a263 by jianan

薪资管理-出账金额3

parent b90383ff
...@@ -361,7 +361,7 @@ public class FortuneAccountServiceImpl extends ServiceImpl<FortuneAccountMapper, ...@@ -361,7 +361,7 @@ public class FortuneAccountServiceImpl extends ServiceImpl<FortuneAccountMapper,
List<FortuneAccount> fortuneAccountList = this.baseMapper.selectBatchIds(fortuneAccountIdList); List<FortuneAccount> fortuneAccountList = this.baseMapper.selectBatchIds(fortuneAccountIdList);
BigDecimal totalAmount = fortuneAccountList.stream() BigDecimal totalAmount = fortuneAccountList.stream()
.map(FortuneAccount::getAmount) .map(FortuneAccount::getHkdAmount)
.reduce(BigDecimal.ZERO, BigDecimal::add); .reduce(BigDecimal.ZERO, BigDecimal::add);
int brokerCount = fortuneAccountList.stream() int brokerCount = fortuneAccountList.stream()
.map(FortuneAccount::getBroker) .map(FortuneAccount::getBroker)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment