| | |
| | | } |
| | | String noByKey = systemDataNoService.getNoByKey(SystemDataNoEnum.YF); |
| | | payableFeeManagement.setSystemNo(noByKey); |
| | | |
| | | payableFeeManagement.setCreateBy(SecurityUtils.getUsername()); |
| | | // 保存主实体 |
| | | int result = payableFeeManagementMapper.insertPayableFeeManagement(payableFeeManagement); |
| | | Integer payableFeeId = payableFeeManagement.getId(); |
| | |
| | | Map<String, BigDecimal> currencyAmountMap = new HashMap<>(); |
| | | for (PayableFeeDetail detail : detailList) { |
| | | String currency = detail.getCurrency(); |
| | | BigDecimal billingAmount = detail.getBillingAmount(); |
| | | BigDecimal billingAmount = detail.getActualAmount(); |
| | | |
| | | if (currency != null && billingAmount != null) { |
| | | currencyAmountMap.merge(currency, billingAmount, BigDecimal::add); |