From 5ff14ba61758add1b61c73202f5d3e2514173628 Mon Sep 17 00:00:00 2001 From: hurui <177768073@qq.com> Date: Tue, 11 Jul 2023 10:21:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/hfkj/schedule/TradeOrderSchedule.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schedule/src/main/java/com/hfkj/schedule/TradeOrderSchedule.java b/schedule/src/main/java/com/hfkj/schedule/TradeOrderSchedule.java index 15c52b6..0dbbe06 100644 --- a/schedule/src/main/java/com/hfkj/schedule/TradeOrderSchedule.java +++ b/schedule/src/main/java/com/hfkj/schedule/TradeOrderSchedule.java @@ -277,13 +277,13 @@ public class TradeOrderSchedule { JSONObject queryTrans = laKaLaTradeService.queryTrans(tradeOrder.getOutTradeNo()); if (queryTrans != null && queryTrans.getString("trade_state").equals("03")) { tradeOrder.setShdFeeAmt(queryTrans.getBigDecimal("fee_amount")); - tradeOrder.setSettleAmount(queryTrans.getBigDecimal("settle_amount")); + tradeOrder.setSettleAmount(new BigDecimal(queryTrans.getString("settle_amount").replace(",",""))); tradeOrder.setSettleDate(queryTrans.getDate("clear_date")); tradeOrder.setFeeRate(new BigDecimal(queryTrans.getString("fee_rate").split(",")[0])); tradeOrderService.editOrder(tradeOrder); } } catch (Exception e) { - + System.out.println(e); } } }