From a16a9accb4c514a728ba0fdb7049ca83993b253a Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Thu, 29 Aug 2024 17:45:44 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=AA=A8=EB=B0=94=EC=9D=BC=20=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=20redirect=5Furl=20=EC=A0=95=EB=B3=B4=20set?= =?UTF-8?q?=20=EB=B3=80=EA=B2=BD=20=20=20=20=20=20->=20prop=EC=97=90?= =?UTF-8?q?=EC=84=9C=20tb=5Fens=5Ftmplat=5Fmanage=20=ED=85=8C=EC=9D=B4?= =?UTF-8?q?=EB=B8=94=EC=9D=98=20reditrect=5Furl=EB=A1=9C=20set?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../biz/ens/service/EnsBatchMakeService.java | 35 ------------------- .../mapper/biz/ens-oracle-mapper.xml | 4 +-- 2 files changed, 2 insertions(+), 37 deletions(-) diff --git a/mens-batch/src/main/java/kr/xit/biz/ens/service/EnsBatchMakeService.java b/mens-batch/src/main/java/kr/xit/biz/ens/service/EnsBatchMakeService.java index 4a2bd9b..6149c76 100644 --- a/mens-batch/src/main/java/kr/xit/biz/ens/service/EnsBatchMakeService.java +++ b/mens-batch/src/main/java/kr/xit/biz/ens/service/EnsBatchMakeService.java @@ -5,13 +5,11 @@ import java.util.List; import java.util.Map; import org.slf4j.MDC; -import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Propagation; import org.springframework.transaction.annotation.Transactional; import kr.xit.biz.common.ApiConstants; -import kr.xit.biz.common.ApiConstants.SignguCode; import kr.xit.biz.common.ApiConstants.SndngSeCode; import kr.xit.biz.ens.cmm.CmmEnsBizUtils; import kr.xit.biz.ens.mapper.IEnsBatchMapper; @@ -40,13 +38,6 @@ import lombok.RequiredArgsConstructor; @RequiredArgsConstructor @Service public class EnsBatchMakeService extends AbstractService implements IEnsBatchMakeService { - // FIXME: KT callback url 확인 적용 - @Value("${app.contract.kt.api.chuncheon-callback-url}") - private String CHUNCHEON_CALLBACK_URL; - // FIXME: KT callback url 확인 적용 - @Value("${app.contract.kt.api.me-callback-url}") - private String ME_CALLBACK_URL; - private static final String SNDNG_PROCESS_STTUS = "sndngProcessSttus"; private static final String UNITY_SNDNG_MST_ID = "unitySndngMastrId"; @@ -202,36 +193,10 @@ public class EnsBatchMakeService extends AbstractService implements IEnsBatchMak case KAKAO -> mapper.insertKakaopay(dto); case KAKAO_NEW -> mapper.insertKakaotalk(dto); case KT_BC -> { - // FIXME: KT callback url 확인 적용 - if(SignguCode.CHUNCHEON.getCode().equals(dto.getSignguCode())){ - dto.setUrl(CHUNCHEON_CALLBACK_URL); - } - // FIXME: KT callback url 확인 적용 - if(SignguCode.CHEONAN_ES.getCode().equals(dto.getSignguCode())){ - dto.setUrl(ME_CALLBACK_URL); - } - if(SignguCode.CHEONAN_WN.getCode().equals(dto.getSignguCode())){ - dto.setUrl(ME_CALLBACK_URL); - } mapper.insertKtBcMastr(dto); yield mapper.insertKtBcDetail(dto); } case KT_GIBIS -> { - // FIXME: KT callback url 확인 적용 - // TB_ENS_KT_GBS - if(SignguCode.CHUNCHEON.getCode().equals(dto.getSignguCode())){ - dto.setUrl(CHUNCHEON_CALLBACK_URL); - } - // FIXME: KT callback url 확인 적용 - if(SignguCode.CHEONAN_ES.getCode().equals(dto.getSignguCode())){ - dto.setUrl(ME_CALLBACK_URL); - } - if(SignguCode.CHEONAN_WN.getCode().equals(dto.getSignguCode())){ - dto.setUrl(ME_CALLBACK_URL); - } - //mapper.insertKtBcMastr(dto); - //tb_ens_sndng_mastr - //TB_ENS_KT_GBS yield mapper.insertKtGbsDetail(dto); } //default -> throw BizRuntimeException.create(String.format("정의 되지 않은 문서 중개자[%s] 입니다", sndngSeCode.getCode())); diff --git a/mens-batch/src/main/resources/egovframework/mapper/biz/ens-oracle-mapper.xml b/mens-batch/src/main/resources/egovframework/mapper/biz/ens-oracle-mapper.xml index 1e9dec8..bfd412c 100644 --- a/mens-batch/src/main/resources/egovframework/mapper/biz/ens-oracle-mapper.xml +++ b/mens-batch/src/main/resources/egovframework/mapper/biz/ens-oracle-mapper.xml @@ -454,7 +454,7 @@ , tetm.tmplat_cn || CHR(13) || CHR(10) || '- 열람기간 : ' || substr(teusm.clos_dt, 1, 4) || '년 ' || substr(teusm.clos_dt, 5, 2) || '월 ' || substr(teusm.clos_dt, 7, 2) || '일까지'|| CHR(13) || CHR(10) || '- 문의처 : ' || tetm.cstmr_cnter_tlphon_no || CHR(13) || CHR(10) || CHR(13) || CHR(10) ||'{#INFO_CFRM_STR}'|| CHR(13) || CHR(10) ||'{#RCVE_RF_STR}' , tetm.tmplat_sj , tetm.tmplat_cn || CHR(13) || CHR(10) || '- 열람기간 : ' || substr(teusm.clos_dt, 1, 4) || '년 ' || substr(teusm.clos_dt, 5, 2) || '월 ' || substr(teusm.clos_dt, 7, 2) || '일까지'|| CHR(13) || CHR(10) || '- 문의처 : ' || tetm.cstmr_cnter_tlphon_no || CHR(13) || CHR(10) - , #{url} + , tetm.redirect_url , sha256.encrypt(teusd.unity_sndng_detail_id) , '' , 'N' @@ -530,7 +530,7 @@ ELSE tetm.tmplat_cn END , tetm.tmplat_sj , '' - , #{url} + , tetm.redirect_url , sha256.encrypt(teusd.unity_sndng_detail_id) , '' , sysdate