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