|
|
@@ -2190,6 +2190,21 @@ public class TsfMypageController extends TsfBaseController {
|
|
|
GagaMap result = coreKcpService.checkAccount(custAccount);
|
|
|
if ("0000".equals(result.get("resCd"))) {
|
|
|
isValid = true;
|
|
|
+
|
|
|
+ // 환불계좌 등록 처리
|
|
|
+ if (TsfSession.isLogin()) {
|
|
|
+ Integer custNo = TsfSession.getInfo().getCustNo();
|
|
|
+ Order refundAccount = new Order();
|
|
|
+ refundAccount.setCustNo(custNo);
|
|
|
+ refundAccount.setBankCd(custAccount.getBankCd());
|
|
|
+ refundAccount.setAccountNo(custAccount.getAccountNo());
|
|
|
+ refundAccount.setAccountNm(custAccount.getAccountNm());
|
|
|
+ refundAccount.setRegNo(custNo);
|
|
|
+ refundAccount.setUpdNo(custNo);
|
|
|
+ refundAccount.encryptData();
|
|
|
+
|
|
|
+ coreOrderChangeService.saveRefundAccount(refundAccount);
|
|
|
+ }
|
|
|
}
|
|
|
result.setBoolean("isValid", isValid);
|
|
|
return result;
|