From fd9d600f557dff513c0aeb0ddcc13604788687f1 Mon Sep 17 00:00:00 2001 From: kjh Date: Mon, 30 Sep 2024 14:51:59 +0900 Subject: [PATCH] =?UTF-8?q?docs=20:=20=EB=82=98=EC=9D=B4=EC=8A=A4=20?= =?UTF-8?q?=EC=95=8C=EB=A6=BC=ED=86=A1=20accept=20=EC=BF=BC=EB=A6=AC=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/mens-iup-query.sql | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/db/mens-iup-query.sql b/db/mens-iup-query.sql index c1812a0..5b1eda4 100644 --- a/db/mens-iup-query.sql +++ b/db/mens-iup-query.sql @@ -65,3 +65,20 @@ SELECT * FROM TB_NICE_SMS_SNDNG_INQIRE_REQUS; SELECT * FROM TB_NICE_SMS_SNDNG_INQIRE_RSPNS; -- [응답 반복] NICE_SMS_SNDNG_INQIRE_ID, SN : 요청 하나에 여러 건이 발생하여 순번 사용 SELECT * FROM TB_NICE_SMS_SNDNG_INQIRE_REPTI; + + +/* ********************************************** +* 나이스 알림톡 accept +********************************************** */ +-- 1. 대상 조회 +SELECT * + FROM tb_input_xit tix + JOIN tb_input_data_xit tidx + ON tix.lnk_input_id=tidx.lnk_input_id + WHERE tix.send_type='NI' + AND tix.prcs_cd='TGRG'; + +-- 2. bill 생성 +-- 3. 카카오 청구서 생성 +-- 4. tb_input_data_xit 테이블 pay_url 에 청구서 URL UPDATE +-- 5. tb_input_xit 테이블 prcs_cd='GRUC' / 실패 시 prcs_cd='TGRF' \ No newline at end of file