From 230f202a911bed6766054f99b69699326085da83 Mon Sep 17 00:00:00 2001 From: zhaoyiran Date: Fri, 19 Apr 2024 15:42:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/win/bank/service/cmb/CmbServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/win/bank/service/cmb/CmbServiceImpl.java b/src/main/java/com/win/bank/service/cmb/CmbServiceImpl.java index 7e9ea2e..2c1cc9d 100644 --- a/src/main/java/com/win/bank/service/cmb/CmbServiceImpl.java +++ b/src/main/java/com/win/bank/service/cmb/CmbServiceImpl.java @@ -60,8 +60,8 @@ public class CmbServiceImpl implements BaseBankService { JsonObject requestJson = new Gson().fromJson(data, JsonObject.class); JsonArray bb1payopx1 = new JsonArray(); JsonObject info = new JsonObject(); - info.addProperty("dbtAcc", bankDO.getPayAccount()); - info.addProperty("crtAcc", bankDO.getRcvAccount()); + info.addProperty("dbtAcc", bankDO.getPayAccount().replaceAll("\\s+", "")); + info.addProperty("crtAcc", bankDO.getRcvAccount().replaceAll("\\s+", "")); info.addProperty("crtNam", bankDO.getRcvUserName()); info.addProperty("ccyNbr", "10"); info.addProperty("trsAmt", bankDO.getAmount().toString());