解决美金发票上传报错问题

master
wanghaomei 2 years ago
parent 99c717aa1a
commit 24d4d23ae7

@ -416,7 +416,7 @@ public class InvLinkInfoServiceImpl implements InvLinkInfoService {
if ("RMB".equals(fees.get(0).getCurrency())) {
checkinvocie = invoiceAmount;
} else {
checkinvocie = invoiceAmount.divide(fees.get(0).getExchangeRate()).setScale(2, BigDecimal.ROUND_HALF_UP);
checkinvocie = invoiceAmount.divide(fees.get(0).getExchangeRate(), BigDecimal.ROUND_HALF_UP).setScale(2, BigDecimal.ROUND_HALF_UP);
}

Loading…
Cancel
Save