From 24d4d23ae7b34232e8c1d51a2bb5ca51a672086e Mon Sep 17 00:00:00 2001 From: wanghaomei Date: Tue, 21 Jun 2022 17:17:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E7=BE=8E=E9=87=91=E5=8F=91?= =?UTF-8?q?=E7=A5=A8=E4=B8=8A=E4=BC=A0=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/djy/invoice/service/impl/InvLinkInfoServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }