From 8930962e7a70566b7639c3b6a6a6ce04d46b38c0 Mon Sep 17 00:00:00 2001 From: dalong306 <304592994@qq.com> Date: Fri, 10 Dec 2021 17:15:26 +0800 Subject: [PATCH] =?UTF-8?q?app=E7=AB=AF=20=E8=B7=A8=E5=A2=83=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E5=92=8C=E5=8D=A1=E6=94=AF=E4=BB=98=20=E9=87=91?= =?UTF-8?q?=E9=A2=9D=E6=9C=890.01=E7=9A=84=E8=AF=AF=E5=B7=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../manage/appclient/core/impls/RetailAppServiceImp.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/appclient/core/impls/RetailAppServiceImp.java b/src/main/java/au/com/royalpay/payment/manage/appclient/core/impls/RetailAppServiceImp.java index 567a8ca1b..a5adc3359 100644 --- a/src/main/java/au/com/royalpay/payment/manage/appclient/core/impls/RetailAppServiceImp.java +++ b/src/main/java/au/com/royalpay/payment/manage/appclient/core/impls/RetailAppServiceImp.java @@ -292,11 +292,11 @@ public class RetailAppServiceImp implements RetailAppService { res.put("alipay_rate", paymentApi.channelApi("Alipay").queryExchangeRateDecimal(clientId)); } params.put("channel", "system"); - res.put("sys_not_settled", new BigDecimal(transactionAnalysisMapper.analysisNotSettled(params)).setScale(2, RoundingMode.DOWN).toPlainString()); + res.put("sys_not_settled", transactionAnalysisMapper.analysisNotSettled(params)); params.put("channel", "rpaypmt_card"); - res.put("rpaypmt_card_not_settled", new BigDecimal(transactionAnalysisMapper.analysisNotSettled(params)).setScale(2, RoundingMode.DOWN).toPlainString()); + res.put("rpaypmt_card_not_settled", transactionAnalysisMapper.analysisNotSettled(params)); params.put("channel", "rpaypmt_dd"); - res.put("rpaypmt_dd_not_settled", new BigDecimal(transactionAnalysisMapper.analysisNotSettled(params)).setScale(2, RoundingMode.DOWN).toPlainString()); + res.put("rpaypmt_dd_not_settled",transactionAnalysisMapper.analysisNotSettled(params)); return res; }