알림톡 템플릿 목록 수정

This commit is contained in:
kubo8
2022-12-08 14:36:19 +09:00
parent 9dc9aa7f7a
commit 334e2d145e
3 changed files with 26 additions and 13 deletions

View File

@@ -8,9 +8,8 @@
from hubez_common.EZ_ATLK_TMPLT eat
inner join hubez_common.EZ_KKO_CHNL ekc
on ekc.SNDRPROF_KEY = eat.SNDRPROF_KEY
and ekc.USER_SEQ = eat.USER_SEQ
inner join hubez_common.EZ_SVC_USER esu
on esu.USER_SEQ = ekc.USER_SEQ
on esu.USER_SEQ = eat.USER_SEQ
inner join hubez_common.EZ_CUST_INFO eci
on eci.CUST_SEQ = esu.CUST_SEQ
<include refid="tmpltListCondition"></include>
@@ -19,6 +18,8 @@
SELECT
@ROWNUM := @ROWNUM + 1 AS NO,
A.custNm,
A.userId,
A.userNm,
A.bRegNo,
A.tmpltCd,
A.tmpltNm,
@@ -29,6 +30,8 @@
DATE_FORMAT(A.CHG_DT, '%Y-%m-%d') As lastChgDt
FROM (
SELECT eci.CUST_NM AS custNm,
esu.USER_ID AS userId,
esu.USER_NM AS userNm,
eci.BIZRNO AS bRegNo,
eat.TMPLT_CD AS tmpltCd,
eat.TMPLT_NM AS tmpltNm,
@@ -40,9 +43,8 @@
from hubez_common.EZ_ATLK_TMPLT eat
inner join hubez_common.EZ_KKO_CHNL ekc
on ekc.SNDRPROF_KEY = eat.SNDRPROF_KEY
and ekc.USER_SEQ = eat.USER_SEQ
inner join hubez_common.EZ_SVC_USER esu
on esu.USER_SEQ = ekc.USER_SEQ
on esu.USER_SEQ = eat.USER_SEQ
inner join hubez_common.EZ_CUST_INFO eci
on eci.CUST_SEQ = esu.CUST_SEQ
<include refid="tmpltListCondition"></include>
@@ -74,6 +76,8 @@
SELECT
@ROWNUM := @ROWNUM + 1 AS NO,
A.custNm,
A.userId,
A.userNm,
A.bRegNo,
A.tmpltCd,
A.tmpltNm,
@@ -84,6 +88,8 @@
DATE_FORMAT(A.CHG_DT, '%Y-%m-%d') As lastChgDt
FROM (
SELECT eci.CUST_NM AS custNm,
esu.USER_ID AS userId,
esu.USER_NM AS userNm,
eci.BIZRNO AS bRegNo,
eat.TMPLT_CD AS tmpltCd,
eat.TMPLT_NM AS tmpltNm,
@@ -95,9 +101,8 @@
from hubez_common.EZ_ATLK_TMPLT eat
inner join hubez_common.EZ_KKO_CHNL ekc
on ekc.SNDRPROF_KEY = eat.SNDRPROF_KEY
and ekc.USER_SEQ = eat.USER_SEQ
inner join hubez_common.EZ_SVC_USER esu
on esu.USER_SEQ = ekc.USER_SEQ
on esu.USER_SEQ = eat.USER_SEQ
inner join hubez_common.EZ_CUST_INFO eci
on eci.CUST_SEQ = esu.CUST_SEQ
<include refid="tmpltListCondition"></include>