|
|
@ -616,7 +616,7 @@
|
|
|
|
<select id="selectCloseTgts" resultType="string">
|
|
|
|
<select id="selectCloseTgts" resultType="string">
|
|
|
|
/** ens-mysql-mapper|selectCloseTgts-종료 대상 조회|julim */
|
|
|
|
/** ens-mysql-mapper|selectCloseTgts-종료 대상 조회|julim */
|
|
|
|
SELECT unity_sndng_mastr_id
|
|
|
|
SELECT unity_sndng_mastr_id
|
|
|
|
FROM tb_cntc_sndng_mastr
|
|
|
|
FROM tb_ens_sndng_mastr
|
|
|
|
WHERE sndng_process_sttus IN ('send-ok', 'sending1', 'sending2')
|
|
|
|
WHERE sndng_process_sttus IN ('send-ok', 'sending1', 'sending2')
|
|
|
|
AND signgu_code = #{signguCode}
|
|
|
|
AND signgu_code = #{signguCode}
|
|
|
|
AND ffnlg_code = #{ffnlgCode}
|
|
|
|
AND ffnlg_code = #{ffnlgCode}
|
|
|
@ -633,16 +633,16 @@
|
|
|
|
/** ens-mysql-mapper|selectSendBulkTgts-발송 대상 조회|julim */
|
|
|
|
/** ens-mysql-mapper|selectSendBulkTgts-발송 대상 조회|julim */
|
|
|
|
SELECT tesm.sndng_mastr_id
|
|
|
|
SELECT tesm.sndng_mastr_id
|
|
|
|
, tesm.unity_sndng_mastr_id
|
|
|
|
, tesm.unity_sndng_mastr_id
|
|
|
|
, tesm.tmplat_id
|
|
|
|
, tesm.tmplat_id
|
|
|
|
, tesm.sndng_co
|
|
|
|
, tesm.sndng_co
|
|
|
|
, tesm.try_seq
|
|
|
|
, tesm.try_seq
|
|
|
|
, tesm.sndng_process_sttus
|
|
|
|
, tesm.sndng_process_sttus
|
|
|
|
, tesm.signgu_code
|
|
|
|
, tesm.signgu_code
|
|
|
|
, tesm.ffnlg_code
|
|
|
|
, tesm.ffnlg_code
|
|
|
|
, teusm.try1
|
|
|
|
, teusm.try1
|
|
|
|
, teusm.try2
|
|
|
|
, teusm.try2
|
|
|
|
, teusm.try3
|
|
|
|
, teusm.try3
|
|
|
|
, teusm.try_cnt
|
|
|
|
, teusm.try_cnt
|
|
|
|
FROM tb_ens_sndng_mastr tesm
|
|
|
|
FROM tb_ens_sndng_mastr tesm
|
|
|
|
JOIN tb_ens_unity_sndng_mastr teusm
|
|
|
|
JOIN tb_ens_unity_sndng_mastr teusm
|
|
|
|
ON tesm.unity_sndng_mastr_id = teusm.unity_sndng_mastr_id
|
|
|
|
ON tesm.unity_sndng_mastr_id = teusm.unity_sndng_mastr_id
|
|
|
|