|
|
@ -99,7 +99,7 @@ public class KtGbsService extends AbstractService implements IKtGbsService {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
@TraceLogging
|
|
|
|
@TraceLogging
|
|
|
|
public KtCommonDTO.KtCommonResponse cfmToken(final KtGbsDTO.TokenConfirmRequest reqDTO) {
|
|
|
|
public KtCommonDTO.KtCommonResponse cfmToken(final KtGbsDTO.TokenConfirmRequest reqDTO) {
|
|
|
|
final CmmEnsRlaybsnmDTO ktMnsInfo = getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode());
|
|
|
|
final CmmEnsRlaybsnmDTO ktMnsInfo = getRlaybsnmInfo(reqDTO);
|
|
|
|
reqDTO.setServiceCd(ktMnsInfo.getKtServiceCode());
|
|
|
|
reqDTO.setServiceCd(ktMnsInfo.getKtServiceCode());
|
|
|
|
reqDTO.setSignguCode(null);
|
|
|
|
reqDTO.setSignguCode(null);
|
|
|
|
reqDTO.setFfnlgCode(null);
|
|
|
|
reqDTO.setFfnlgCode(null);
|
|
|
@ -118,7 +118,7 @@ public class KtGbsService extends AbstractService implements IKtGbsService {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
@TraceLogging
|
|
|
|
@TraceLogging
|
|
|
|
public KtCommonDTO.KtCommonResponse readToken(final KtGbsDTO.TokenReadRequest reqDTO) {
|
|
|
|
public KtCommonDTO.KtCommonResponse readToken(final KtGbsDTO.TokenReadRequest reqDTO) {
|
|
|
|
final CmmEnsRlaybsnmDTO ktMnsInfo = getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode());
|
|
|
|
final CmmEnsRlaybsnmDTO ktMnsInfo = getRlaybsnmInfo(reqDTO);
|
|
|
|
reqDTO.setServiceCd(ktMnsInfo.getKtServiceCode());
|
|
|
|
reqDTO.setServiceCd(ktMnsInfo.getKtServiceCode());
|
|
|
|
reqDTO.setMmsRdgTmst(DateUtils.getTodayAndNowTime("yyyyMMddHHmmss"));
|
|
|
|
reqDTO.setMmsRdgTmst(DateUtils.getTodayAndNowTime("yyyyMMddHHmmss"));
|
|
|
|
reqDTO.setSignguCode(null);
|
|
|
|
reqDTO.setSignguCode(null);
|
|
|
@ -139,7 +139,7 @@ public class KtGbsService extends AbstractService implements IKtGbsService {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
@TraceLogging
|
|
|
|
@TraceLogging
|
|
|
|
public KtCommonDTO.KtCommonResponse mainSend(final KtGbsDTO.MsgSendRequest reqDTO) {
|
|
|
|
public KtCommonDTO.KtCommonResponse mainSend(final KtGbsDTO.MsgSendRequest reqDTO) {
|
|
|
|
final CmmEnsRlaybsnmDTO ktMnsInfo = getRlaybsnmInfo(reqDTO.getSignguCode(), reqDTO.getFfnlgCode());
|
|
|
|
final CmmEnsRlaybsnmDTO ktMnsInfo = getRlaybsnmInfo(reqDTO);
|
|
|
|
reqDTO.setServiceCd(ktMnsInfo.getKtServiceCode());
|
|
|
|
reqDTO.setServiceCd(ktMnsInfo.getKtServiceCode());
|
|
|
|
reqDTO.setSignguCode(null);
|
|
|
|
reqDTO.setSignguCode(null);
|
|
|
|
reqDTO.setFfnlgCode(null);
|
|
|
|
reqDTO.setFfnlgCode(null);
|
|
|
@ -155,7 +155,7 @@ public class KtGbsService extends AbstractService implements IKtGbsService {
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private CmmEnsRlaybsnmDTO getRlaybsnmInfo(final String sigungCode, final String ffnlgCode) {
|
|
|
|
private CmmEnsRlaybsnmDTO getRlaybsnmInfo(final KtCommonDTO.KtMnsRequest request){
|
|
|
|
return CmmEnsUtils.getRlaybsnmInfo(sigungCode, ffnlgCode, ApiConstants.SndngSeCode.KT_GIBIS);
|
|
|
|
return CmmEnsUtils.getRlaybsnmInfo(request.getSignguCode(), request.getFfnlgCode(), ApiConstants.SndngSeCode.KT_BC);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|