diff --git a/mens-api/src/main/java/kr/xit/biz/kt/service/BizKtMmsService.java b/mens-api/src/main/java/kr/xit/biz/kt/service/BizKtMmsService.java index 00f170c..fa42dd1 100644 --- a/mens-api/src/main/java/kr/xit/biz/kt/service/BizKtMmsService.java +++ b/mens-api/src/main/java/kr/xit/biz/kt/service/BizKtMmsService.java @@ -121,7 +121,6 @@ public class BizKtMmsService extends EgovAbstractServiceImpl implements IBizKtMm KtMainSendRequest.builder() .signguCode(reqDTO.getSignguCode()) .ffnlgCode(reqDTO.getFfnlgCode()) - .profile(ApiConstants.PROFILE) //.serviceCd("cache") //.serviceKey("cache") .msgCd("db") @@ -168,7 +167,6 @@ public class BizKtMmsService extends EgovAbstractServiceImpl implements IBizKtMm KtMsgRsltRequest.builder() .signguCode(reqDTO.getSignguCode()) .ffnlgCode(reqDTO.getFfnlgCode()) - .profile(ApiConstants.PROFILE) .reqs(reqs) .build() ); diff --git a/mens-api/src/main/java/kr/xit/ens/epost/service/EpostService.java b/mens-api/src/main/java/kr/xit/ens/epost/service/EpostService.java index 9d59f0a..6b44b32 100644 --- a/mens-api/src/main/java/kr/xit/ens/epost/service/EpostService.java +++ b/mens-api/src/main/java/kr/xit/ens/epost/service/EpostService.java @@ -56,6 +56,7 @@ public class EpostService extends EgovAbstractServiceImpl implements IEpostServi reqDTO.setSignguCode(null); reqDTO.setFfnlgCode(null); + reqDTO.setProfile(null); CmmEnsUtils.validate(reqDTO); return webClient.exchange( diff --git a/mens-api/src/main/java/kr/xit/ens/kt/service/KtMmsService.java b/mens-api/src/main/java/kr/xit/ens/kt/service/KtMmsService.java index 3b0a1e3..f9ec935 100644 --- a/mens-api/src/main/java/kr/xit/ens/kt/service/KtMmsService.java +++ b/mens-api/src/main/java/kr/xit/ens/kt/service/KtMmsService.java @@ -271,7 +271,6 @@ public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsServi case CHUMO -> reqDTO.setSignguCode(SignguCode.FUNERAL.getCode()); } reqDTO.setFfnlgCode(ApiConstants.FFNLN_CODE); - reqDTO.setProfile(ApiConstants.PROFILE); final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode()); @@ -326,8 +325,9 @@ public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsServi @Override public KtCommonResponse blacklist(final KtBlacklistRequest reqDTO) { final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode()); - //reqDTO.setServiceCd(ktMnsInfo.get); - //reqDTO.setServiceKey(ktMnsInfo.get); + reqDTO.setSignguCode(null); + reqDTO.setFfnlgCode(null); + reqDTO.setProfile(null); CmmEnsUtils.validate(reqDTO); return webClient.exchangeKt( @@ -342,8 +342,9 @@ public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsServi @Override public KtSendSttcResponse sendSttc(final KtSendSttcRequest reqDTO) { final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode()); - //reqDTO.setServiceCd(ktMnsInfo.get); - //reqDTO.setServiceKey(ktMnsInfo.get); + reqDTO.setSignguCode(null); + reqDTO.setFfnlgCode(null); + reqDTO.setProfile(null); CmmEnsUtils.validate(reqDTO); return webClient.exchangeKt( @@ -358,8 +359,9 @@ public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsServi @Override public KtSendSttcDtlResponse sendSttcDtl(final KtSendSttcDtlRequest reqDTO) { final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode()); - //reqDTO.setServiceCd(ktMnsInfo.get); - //reqDTO.setServiceKey(ktMnsInfo.get); + reqDTO.setSignguCode(null); + reqDTO.setFfnlgCode(null); + reqDTO.setProfile(null); CmmEnsUtils.validate(reqDTO); return webClient.exchangeKt( @@ -374,8 +376,9 @@ public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsServi @Override public KtCommonResponse whitelist(final KtWhitelistRequest reqDTO) { final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode()); - //reqDTO.setServiceCd(ktMnsInfo.get); - //reqDTO.setServiceKey(ktMnsInfo.get); + reqDTO.setSignguCode(null); + reqDTO.setFfnlgCode(null); + reqDTO.setProfile(null); CmmEnsUtils.validate(reqDTO); return webClient.exchangeKt( @@ -416,8 +419,9 @@ public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsServi @Override public KtAcmdCerfResponse cerfAcmd(final KtAcmdCerfRequest reqDTO) { final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode()); - //reqDTO.setServiceCd(ktMnsInfo.get); - //reqDTO.setServiceKey(ktMnsInfo.get); + reqDTO.setSignguCode(null); + reqDTO.setFfnlgCode(null); + reqDTO.setProfile(null); CmmEnsUtils.validate(reqDTO); return webClient.exchangeKt( @@ -432,8 +436,9 @@ public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsServi @Override public KtCommonResponse excaAcmd(KtTokenExcaRequest reqDTO) { final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode()); - //reqDTO.setServiceCd(ktMnsInfo.get); - //reqDTO.setServiceKey(ktMnsInfo.get); + reqDTO.setSignguCode(null); + reqDTO.setFfnlgCode(null); + reqDTO.setProfile(null); CmmEnsUtils.validate(reqDTO); return webClient.exchangeKt( @@ -448,8 +453,9 @@ public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsServi @Override public KtExcaResponse exca(final KtExcaRequest reqDTO) { final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode()); - //reqDTO.setServiceCd(ktMnsInfo.get); - //reqDTO.setServiceKey(ktMnsInfo.get); + reqDTO.setSignguCode(null); + reqDTO.setFfnlgCode(null); + reqDTO.setProfile(null); CmmEnsUtils.validate(reqDTO); return webClient.exchangeKt( @@ -464,8 +470,9 @@ public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsServi @Override public KtAcmdInfoResponse infoAcmd(final KtAcmdInfoRequest reqDTO) { final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode()); - //reqDTO.setServiceCd(ktMnsInfo.get); - //reqDTO.setServiceKey(ktMnsInfo.get); + reqDTO.setSignguCode(null); + reqDTO.setFfnlgCode(null); + reqDTO.setProfile(null); CmmEnsUtils.validate(reqDTO); return webClient.exchangeKt( @@ -480,8 +487,9 @@ public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsServi @Override public KtAcmdInfoCfmResponse cfmAcmd(final KtAcmdInfoCfmRequest reqDTO) { final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode()); - //reqDTO.setServiceCd(ktMnsInfo.get); - //reqDTO.setServiceKey(ktMnsInfo.get); + reqDTO.setSignguCode(null); + reqDTO.setFfnlgCode(null); + reqDTO.setProfile(null); CmmEnsUtils.validate(reqDTO); return webClient.exchangeKt( diff --git a/mens-api/src/main/java/kr/xit/ens/pplus/service/PplusService.java b/mens-api/src/main/java/kr/xit/ens/pplus/service/PplusService.java index 66fcb5d..c4c33de 100644 --- a/mens-api/src/main/java/kr/xit/ens/pplus/service/PplusService.java +++ b/mens-api/src/main/java/kr/xit/ens/pplus/service/PplusService.java @@ -139,6 +139,7 @@ public class PplusService extends EgovAbstractServiceImpl implements IPplusServi reqDTO.setSignguCode(null); reqDTO.setFfnlgCode(null); + reqDTO.setProfile(null); return webClient.exchange( HOST + STATUS, HttpMethod.POST,