fix: 천안 ktgibis 처리시 send url 처리 fix

main
Jonguk. Lim 1 year ago
parent 769d324842
commit 2f5915c3a0

@ -703,6 +703,8 @@ public class EnsBatchSendService extends AbstractService implements IEnsBatchSen
.toList()
);
}
// ### -> ? 치환 : maybatis에서 ? 사용시 param bind 처리되어 여기서 처리
dto.setUrl(dto.getUrl().replace("@#@","?"));
idx++;
}

@ -804,18 +804,22 @@
, tekg.mms_dtl_cnts /* MMS 상세 내용 */
, tekg.mms_title /* MMS 제목 */
, tekg.rcs_dtl_cnts /* RCS 상세 내용 */
, tekg.url /* URL */
/* @#@ 문자열 java단에서 치환 */
, tekg.url||'@#@src_key='||nvl(tekg.src_key,'')||'&service_cd='||nvl(term.KT_SERVICE_CODE, '') AS url /* URL */
, tekg.doc_hash /* HASH */
, tekg.mdn /* 개인휴대폰번호 */
FROM tb_ens_sndng_mastr tesm
JOIN tb_ens_kt_gbs tekg
ON tesm.sndng_mastr_id = tekg.sndng_mastr_id
JOIN tb_ens_rlaybsnm_manage term
ON (tesm.signgu_code = term.SIGNGU_CODE
AND tesm.FFNLG_CODE = term.FFNLG_CODE)
WHERE tesm.sndng_mastr_id = #{sndngMastrId}
AND tesm.signgu_code = #{signguCode}
AND tesm.ffnlg_code = #{ffnlgCode}
ORDER BY tekg.sndng_detail_id
</select>
<select id="selectSndProcessStatus" resultType="kr.xit.biz.ens.model.cmm.SndngMssageParam">
/** ens-oracle-mapper|selectSndProcessStatus-발송상태정보조회|julim */
SELECT tesm.sndng_mastr_id

@ -199,6 +199,7 @@ public class KtGbsDTO {
* </pre>
*/
@Schema(title = "연결 URL", example = "http://localhost:18090/api/biz/kt/v1/cfmToken")
@Setter
private String url;
/**

@ -1,13 +1,15 @@
package kr.xit.core.exception.handler;
import java.util.Map;
import kr.xit.core.consts.ErrorCode;
import kr.xit.core.exception.BizRuntimeException;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.web.error.ErrorAttributeOptions;
import org.springframework.boot.web.servlet.error.DefaultErrorAttributes;
import org.springframework.stereotype.Component;
import org.springframework.web.context.request.WebRequest;
import java.util.*;
import org.springframework.boot.web.error.*;
import org.springframework.boot.web.servlet.error.*;
import org.springframework.stereotype.*;
import org.springframework.web.context.request.*;
import kr.xit.core.consts.*;
import kr.xit.core.exception.*;
import lombok.extern.slf4j.*;
/**
* <pre>

Loading…
Cancel
Save