feat: KT 사전/본 문자 수신 결과 전송 API 반영중

dev
gitea-관리자 1 year ago
parent c00b6f545e
commit 42affde649

@ -121,7 +121,6 @@ public class BizKtMmsService extends EgovAbstractServiceImpl implements IBizKtMm
KtMainSendRequest.builder() KtMainSendRequest.builder()
.signguCode(reqDTO.getSignguCode()) .signguCode(reqDTO.getSignguCode())
.ffnlgCode(reqDTO.getFfnlgCode()) .ffnlgCode(reqDTO.getFfnlgCode())
.profile(ApiConstants.PROFILE)
//.serviceCd("cache") //.serviceCd("cache")
//.serviceKey("cache") //.serviceKey("cache")
.msgCd("db") .msgCd("db")
@ -168,7 +167,6 @@ public class BizKtMmsService extends EgovAbstractServiceImpl implements IBizKtMm
KtMsgRsltRequest.builder() KtMsgRsltRequest.builder()
.signguCode(reqDTO.getSignguCode()) .signguCode(reqDTO.getSignguCode())
.ffnlgCode(reqDTO.getFfnlgCode()) .ffnlgCode(reqDTO.getFfnlgCode())
.profile(ApiConstants.PROFILE)
.reqs(reqs) .reqs(reqs)
.build() .build()
); );

@ -56,6 +56,7 @@ public class EpostService extends EgovAbstractServiceImpl implements IEpostServi
reqDTO.setSignguCode(null); reqDTO.setSignguCode(null);
reqDTO.setFfnlgCode(null); reqDTO.setFfnlgCode(null);
reqDTO.setProfile(null);
CmmEnsUtils.validate(reqDTO); CmmEnsUtils.validate(reqDTO);
return webClient.exchange( return webClient.exchange(

@ -271,7 +271,6 @@ public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsServi
case CHUMO -> reqDTO.setSignguCode(SignguCode.FUNERAL.getCode()); case CHUMO -> reqDTO.setSignguCode(SignguCode.FUNERAL.getCode());
} }
reqDTO.setFfnlgCode(ApiConstants.FFNLN_CODE); reqDTO.setFfnlgCode(ApiConstants.FFNLN_CODE);
reqDTO.setProfile(ApiConstants.PROFILE);
final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode()); final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode());
@ -326,8 +325,9 @@ public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsServi
@Override @Override
public KtCommonResponse blacklist(final KtBlacklistRequest reqDTO) { public KtCommonResponse blacklist(final KtBlacklistRequest reqDTO) {
final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode()); final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode());
//reqDTO.setServiceCd(ktMnsInfo.get); reqDTO.setSignguCode(null);
//reqDTO.setServiceKey(ktMnsInfo.get); reqDTO.setFfnlgCode(null);
reqDTO.setProfile(null);
CmmEnsUtils.validate(reqDTO); CmmEnsUtils.validate(reqDTO);
return webClient.exchangeKt( return webClient.exchangeKt(
@ -342,8 +342,9 @@ public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsServi
@Override @Override
public KtSendSttcResponse sendSttc(final KtSendSttcRequest reqDTO) { public KtSendSttcResponse sendSttc(final KtSendSttcRequest reqDTO) {
final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode()); final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode());
//reqDTO.setServiceCd(ktMnsInfo.get); reqDTO.setSignguCode(null);
//reqDTO.setServiceKey(ktMnsInfo.get); reqDTO.setFfnlgCode(null);
reqDTO.setProfile(null);
CmmEnsUtils.validate(reqDTO); CmmEnsUtils.validate(reqDTO);
return webClient.exchangeKt( return webClient.exchangeKt(
@ -358,8 +359,9 @@ public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsServi
@Override @Override
public KtSendSttcDtlResponse sendSttcDtl(final KtSendSttcDtlRequest reqDTO) { public KtSendSttcDtlResponse sendSttcDtl(final KtSendSttcDtlRequest reqDTO) {
final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode()); final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode());
//reqDTO.setServiceCd(ktMnsInfo.get); reqDTO.setSignguCode(null);
//reqDTO.setServiceKey(ktMnsInfo.get); reqDTO.setFfnlgCode(null);
reqDTO.setProfile(null);
CmmEnsUtils.validate(reqDTO); CmmEnsUtils.validate(reqDTO);
return webClient.exchangeKt( return webClient.exchangeKt(
@ -374,8 +376,9 @@ public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsServi
@Override @Override
public KtCommonResponse whitelist(final KtWhitelistRequest reqDTO) { public KtCommonResponse whitelist(final KtWhitelistRequest reqDTO) {
final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode()); final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode());
//reqDTO.setServiceCd(ktMnsInfo.get); reqDTO.setSignguCode(null);
//reqDTO.setServiceKey(ktMnsInfo.get); reqDTO.setFfnlgCode(null);
reqDTO.setProfile(null);
CmmEnsUtils.validate(reqDTO); CmmEnsUtils.validate(reqDTO);
return webClient.exchangeKt( return webClient.exchangeKt(
@ -416,8 +419,9 @@ public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsServi
@Override @Override
public KtAcmdCerfResponse cerfAcmd(final KtAcmdCerfRequest reqDTO) { public KtAcmdCerfResponse cerfAcmd(final KtAcmdCerfRequest reqDTO) {
final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode()); final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode());
//reqDTO.setServiceCd(ktMnsInfo.get); reqDTO.setSignguCode(null);
//reqDTO.setServiceKey(ktMnsInfo.get); reqDTO.setFfnlgCode(null);
reqDTO.setProfile(null);
CmmEnsUtils.validate(reqDTO); CmmEnsUtils.validate(reqDTO);
return webClient.exchangeKt( return webClient.exchangeKt(
@ -432,8 +436,9 @@ public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsServi
@Override @Override
public KtCommonResponse excaAcmd(KtTokenExcaRequest reqDTO) { public KtCommonResponse excaAcmd(KtTokenExcaRequest reqDTO) {
final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode()); final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode());
//reqDTO.setServiceCd(ktMnsInfo.get); reqDTO.setSignguCode(null);
//reqDTO.setServiceKey(ktMnsInfo.get); reqDTO.setFfnlgCode(null);
reqDTO.setProfile(null);
CmmEnsUtils.validate(reqDTO); CmmEnsUtils.validate(reqDTO);
return webClient.exchangeKt( return webClient.exchangeKt(
@ -448,8 +453,9 @@ public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsServi
@Override @Override
public KtExcaResponse exca(final KtExcaRequest reqDTO) { public KtExcaResponse exca(final KtExcaRequest reqDTO) {
final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode()); final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode());
//reqDTO.setServiceCd(ktMnsInfo.get); reqDTO.setSignguCode(null);
//reqDTO.setServiceKey(ktMnsInfo.get); reqDTO.setFfnlgCode(null);
reqDTO.setProfile(null);
CmmEnsUtils.validate(reqDTO); CmmEnsUtils.validate(reqDTO);
return webClient.exchangeKt( return webClient.exchangeKt(
@ -464,8 +470,9 @@ public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsServi
@Override @Override
public KtAcmdInfoResponse infoAcmd(final KtAcmdInfoRequest reqDTO) { public KtAcmdInfoResponse infoAcmd(final KtAcmdInfoRequest reqDTO) {
final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode()); final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode());
//reqDTO.setServiceCd(ktMnsInfo.get); reqDTO.setSignguCode(null);
//reqDTO.setServiceKey(ktMnsInfo.get); reqDTO.setFfnlgCode(null);
reqDTO.setProfile(null);
CmmEnsUtils.validate(reqDTO); CmmEnsUtils.validate(reqDTO);
return webClient.exchangeKt( return webClient.exchangeKt(
@ -480,8 +487,9 @@ public class KtMmsService extends EgovAbstractServiceImpl implements IKtMmsServi
@Override @Override
public KtAcmdInfoCfmResponse cfmAcmd(final KtAcmdInfoCfmRequest reqDTO) { public KtAcmdInfoCfmResponse cfmAcmd(final KtAcmdInfoCfmRequest reqDTO) {
final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode()); final CmmEnsRlaybsnmDTO ktMnsInfo = CmmKtMmsUtils.getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode());
//reqDTO.setServiceCd(ktMnsInfo.get); reqDTO.setSignguCode(null);
//reqDTO.setServiceKey(ktMnsInfo.get); reqDTO.setFfnlgCode(null);
reqDTO.setProfile(null);
CmmEnsUtils.validate(reqDTO); CmmEnsUtils.validate(reqDTO);
return webClient.exchangeKt( return webClient.exchangeKt(

@ -139,6 +139,7 @@ public class PplusService extends EgovAbstractServiceImpl implements IPplusServi
reqDTO.setSignguCode(null); reqDTO.setSignguCode(null);
reqDTO.setFfnlgCode(null); reqDTO.setFfnlgCode(null);
reqDTO.setProfile(null);
return webClient.exchange( return webClient.exchange(
HOST + STATUS, HOST + STATUS,
HttpMethod.POST, HttpMethod.POST,

Loading…
Cancel
Save