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