docs : 나이스 알림톡 A0003 샘플 추가

dev
kjh 1 month ago
parent dd5b4d26b1
commit b20af3fcd3

@ -1,3 +1,4 @@
-- A001 한국교통연구원 민자도로 관리지원센터 미납통행료 납부고지서
Insert into TB_INPUT_XIT Insert into TB_INPUT_XIT
(LNK_INPUT_ID, ORG_CD, JOB_CD, TOT_CNT, PRCS_CD, RUN_DT, EXPIRES_DT, SEND_TYPE, REG_ID, REG_DT, PAY_EXPIRES_DT) (LNK_INPUT_ID, ORG_CD, JOB_CD, TOT_CNT, PRCS_CD, RUN_DT, EXPIRES_DT, SEND_TYPE, REG_ID, REG_DT, PAY_EXPIRES_DT)
Values Values
@ -23,6 +24,32 @@ Values
'', '', '', '806노9066'); '', '', '', '806노9066');
commit; commit;
-- A003 통행료 미납에 따른 예금 압류 예고 안내
Insert into TB_INPUT_XIT
(LNK_INPUT_ID, ORG_CD, JOB_CD, TOT_CNT, PRCS_CD, RUN_DT, EXPIRES_DT, SEND_TYPE, REG_ID, REG_DT, PAY_EXPIRES_DT)
Values
(302400022002, '0001', 'A0003', 2, 'TGRG', SYSDATE, SYSDATE + 1
, 'NI', 'cntc', SYSDATE, SYSDATE+30);
Insert into TB_INPUT_DATA
(LNK_INPUT_ID, DATA_ID, SID, NAME, BIRTHDAY,
GENDER, MSG_DATA, REG_ID, REG_DT, UPD_ID,
UPD_DT, PAY_STATUS_CD, PAY_URL, CAR_NO)
Values
(302400022002, 'EL3004202408080431755', '8312181111111', '홍길동', '19670710',
'2', '{"~~@@!!NAME!!@@~~":"홍길동","~~@@!!CAR_NO!!@@~~":"11소5184","~~@@!!COMPANY!!@@~~":"수도권제1순환","~~@@!!TERM!!@@~~":"2023년 04월 14일~2024년 07월 03일","~~@@!!FEE!!@@~~":"538,200","~~@@!!COUNT!!@@~~":"40","~~@@!!METHOD!!@@~~":"가상계좌 및 카카오페이","~~@@!!BANK_ACCOUNT!!@@~~":"-(가상계좌) : 농협은행 792000-36-695641\n국민은행 730890-72-818540\n우리은행 282376-66-218815\n신한은행 562146-27-146150","~~@@!!DEADLINE!!@@~~":"2024년10월13일","~~@@!!CALL_NO!!@@~~":"044-211-3377"}', 'cephis00', SYSDATE, 'sender_1',
'', '', '', '11소5184');
Insert into TB_INPUT_DATA
(LNK_INPUT_ID, DATA_ID, SID, NAME, BIRTHDAY,
GENDER, MSG_DATA, REG_ID, REG_DT, UPD_ID,
UPD_DT, PAY_STATUS_CD, PAY_URL, CAR_NO)
Values
(302400022002, 'EL3004202408080441445', '8312181111111', '김길동', '19550720',
'1', '{"~~@@!!NAME!!@@~~":"김길동","~~@@!!CAR_NO!!@@~~":"46서9187","~~@@!!COMPANY!!@@~~":"수도권제1순환","~~@@!!TERM!!@@~~":"2024년 01월 11일~2024년 07월 27일","~~@@!!FEE!!@@~~":"57,700","~~@@!!COUNT!!@@~~":"62","~~@@!!METHOD!!@@~~":"가상계좌 및 카카오페이","~~@@!!BANK_ACCOUNT!!@@~~":"-(가상계좌) : 농협은행 792000-37-100706\n국민은행 731190-72-160044\n우리은행 282376-85-718059\n신한은행 562146-27-582784","~~@@!!DEADLINE!!@@~~":"2024년10월13일","~~@@!!CALL_NO!!@@~~":"044-211-3377"}', 'cephis00', SYSDATE, 'sender_1',
'', '', '', '46서9187');
COMMIT;
@ -107,6 +134,53 @@ WHERE tix.send_type='NI'
-- 3. tb_input_xit 테이블 prcs_cd='IPCP' / 실패 시 prcs_cd='FAIL' -- 3. tb_input_xit 테이블 prcs_cd='IPCP' / 실패 시 prcs_cd='FAIL'
-- A001 Message 샘플
/*
.
: 8069066
: 1
: 2024 03 21~2024 06 04
: 988,600(61)
: 20240910
:
()
-() : 792000-37-100871
731190-72-160185
282376-85-718212
562146-27-582924
.
: 044-211-3377
*/
-- A003 Message 샘플
/*
.
21 6 .
, , 24 .
: 566109
: -
: 2023 09 18~2023 12 29
: 98,500(68)
:
-() : 792000-36-752211
731190-72-119419
283754-88-618368
562146-27-238987
: 20240607
: 044-211-3377
: 044-211-3377
*/
/* ********************************************** /* **********************************************
* status * status
@ -184,5 +258,11 @@ select nvl(max(id), 0) + 1
from IUP.ENS_BILL_HIS from IUP.ENS_BILL_HIS
where id = 99999999999999999999;; where id = 99999999999999999999;;
SELECT * FROM ens_tmplt_mng
where tmplt_cd='A0001';
-- eom.org_nm, etm.message, etm.ntcntalk_tmplat_code
SELECT *
FROM ens_org_mng eom
JOIN ens_tmplt_mng etm
ON eom.ORG_CD = etm.ORG_CD
WHERE etm.tmplt_cd='A0001';

Loading…
Cancel
Save