|
@@ -92,6 +92,11 @@ public class ClaimServiceImpl extends ServiceImpl<ClaimMapper, Claim> implements
|
|
|
if(CollectionUtils.isNotEmpty(claim.getClaimContractList())){
|
|
|
for(ClaimContract c:claimContractList){
|
|
|
c.setClaimId(claim.getId());
|
|
|
+ //计算转人民币金额,根据流水转人民币的汇率算(没有汇算(流水转人民币金额为空)的跳过)
|
|
|
+ if (ObjectUtils.isNotEmpty(water.getAmountCny())) {
|
|
|
+ BigDecimal multiply = c.getMoney().multiply(water.getRate());
|
|
|
+ c.setMoneyCny(multiply);
|
|
|
+ }
|
|
|
}
|
|
|
claimContractService.saveBatch(claimContractList);
|
|
|
}
|