Commit db96ac58 authored by 332784038@qq.com's avatar 332784038@qq.com

Merge branch 'master-billOfLading-fix' into dev

parents 72f57c0d 309f888f
...@@ -1201,7 +1201,7 @@ public class MakeBillOfLadingServiceImpl extends AbstractService<MakeBillOfLadin ...@@ -1201,7 +1201,7 @@ public class MakeBillOfLadingServiceImpl extends AbstractService<MakeBillOfLadin
realClearanceFreightCurrency = 6L; realClearanceFreightCurrency = 6L;
} }
//总金额右边再加上清关费 //总金额右边再加上清关费
List<ReceivableOrderPayedFeeTypeVO> receivableQingGuanFeiList = payedFeeTypeVOList.stream().filter(i -> i.getFeeType() == 2).collect(Collectors.toList()); List<ReceivableOrderPayedFeeTypeVO> receivableQingGuanFeiList = payedFeeTypeVOList.stream().filter(i -> i.getFeeType() == 2 && i.getFeeSource() == 1).collect(Collectors.toList());
for (ReceivableOrderPayedFeeTypeVO i : receivableQingGuanFeiList) { for (ReceivableOrderPayedFeeTypeVO i : receivableQingGuanFeiList) {
if (i.getCurrencyId() != realClearanceFreightCurrency) { if (i.getCurrencyId() != realClearanceFreightCurrency) {
totalRight = totalRight.add(changeAmountToDestCurrency(i.getCurrencyId(), realClearanceFreightCurrency, i.getTotalAmount())); totalRight = totalRight.add(changeAmountToDestCurrency(i.getCurrencyId(), realClearanceFreightCurrency, i.getTotalAmount()));
......
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