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); } } }