|
|
@ -32,6 +32,8 @@ select * from tb_ens_unity_sndng_mastr;
|
|
|
|
select * from tb_ens_unity_sndng_detail;
|
|
|
|
select * from tb_ens_unity_sndng_detail;
|
|
|
|
select * from tb_ens_ci;
|
|
|
|
select * from tb_ens_ci;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
select * from tb_ens_sndng_mastr;
|
|
|
|
|
|
|
|
|
|
|
|
select * from tb_ens_ihidnum_manage;
|
|
|
|
select * from tb_ens_ihidnum_manage;
|
|
|
|
select * from tb_ens_ci_manage;
|
|
|
|
select * from tb_ens_ci_manage;
|
|
|
|
|
|
|
|
|
|
|
@ -64,28 +66,29 @@ where teim.ihidnum = 'RUNCNjEwM0JERENGMEMzNjRBOTAyMERERjg5MDFEODc=';
|
|
|
|
WHERE teim.ihidnum = 'RUNCNjEwM0JERENGMEMzNjRBOTAyMERERjg5MDFEODc=';
|
|
|
|
WHERE teim.ihidnum = 'RUNCNjEwM0JERENGMEMzNjRBOTAyMERERjg5MDFEODc=';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SELECT tesm.sndng_mastr_id
|
|
|
|
|
|
|
|
, tesm.unity_sndng_mastr_id
|
|
|
|
common_categories,
|
|
|
|
, tesm.tmplat_id
|
|
|
|
read_expired_at, /* 처리마감시간 */
|
|
|
|
, tesm.sndng_co
|
|
|
|
-- recv_ci, /* 받는이 CI */
|
|
|
|
, tesm.try_seq
|
|
|
|
recv_phone_number, /* 받는이 전화번호 */
|
|
|
|
, tesm.sndng_process_sttus
|
|
|
|
recv_name, /* 받는이 이름 */
|
|
|
|
, teusm.try1
|
|
|
|
recv_birthday, /* 받는이 생년월일 */
|
|
|
|
, teusm.try2
|
|
|
|
recv_is_required_verify_name,/* 성명검증옵션 */
|
|
|
|
, teusm.try3
|
|
|
|
prop_link, /* 모바일페이지 URL */
|
|
|
|
, teusm.try_cnt
|
|
|
|
prop_payload,
|
|
|
|
FROM tb_ens_sndng_mastr tesm
|
|
|
|
prop_message,
|
|
|
|
JOIN tb_ens_unity_sndng_mastr teusm
|
|
|
|
prop_cs_number, /* 고객센터 전화번호 */
|
|
|
|
ON tesm.unity_sndng_mastr_id = teusm.unity_sndng_mastr_id
|
|
|
|
prop_cs_name, /* 고객센터 명 */
|
|
|
|
WHERE tesm.sndng_process_sttus IN ('send-ok', 'sending1', 'sending2')
|
|
|
|
-- external_document_uuid,/* 외부문서 식별번호 */
|
|
|
|
AND tesm.signgu_code = '51110'
|
|
|
|
regist_dt,
|
|
|
|
AND tesm.ffnlg_code = '11';
|
|
|
|
register
|
|
|
|
|
|
|
|
|
|
|
|
SELECT tekmd.document_binder_uuid
|
|
|
|
|
|
|
|
FROM tb_ens_sndng_mastr tesm
|
|
|
|
select DATE_FORMAT(DATE_ADD(clos_dt, INTERVAL 1 DAY), '%Y-%m-%dT%H:%i:%s')
|
|
|
|
JOIN tb_ens_kakao_my_doc tekmd
|
|
|
|
, DATE_FORMAT(null, '%Y-%m-%dT%H:%i:%s')
|
|
|
|
ON tesm.sndng_mastr_id = tekmd.sndng_mastr_id
|
|
|
|
, DATE_FORMAT('', '%Y-%m-%dT%H:%i:%s')
|
|
|
|
WHERE tesm.sndng_process_sttus IN ('send-ok', 'sending1', 'sending2')
|
|
|
|
, DATE_FORMAT('2024-09-05T23:59:59', '%Y%m%d%H%i%s')
|
|
|
|
AND tesm.unity_sndng_mastr_id = '3094'
|
|
|
|
, sysdate()
|
|
|
|
AND IFNULL(tekmd.document_binder_uuid, '') != ''
|
|
|
|
from tb_ens_unity_sndng_mastr;
|
|
|
|
AND tesm.signgu_code = '51110'
|
|
|
|
|
|
|
|
AND tesm.ffnlg_code = '11';
|
|
|
|