diff --git a/invoice/src/main/java/com/djy/invoice/service/impl/InvLinkInfoServiceImpl.java b/invoice/src/main/java/com/djy/invoice/service/impl/InvLinkInfoServiceImpl.java index 486088e..7152d76 100644 --- a/invoice/src/main/java/com/djy/invoice/service/impl/InvLinkInfoServiceImpl.java +++ b/invoice/src/main/java/com/djy/invoice/service/impl/InvLinkInfoServiceImpl.java @@ -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); }