알림톡 템플릿 목록 수정

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

@@ -115,20 +115,24 @@ export default {
{ header: '템플릿 유형', childNames: [] }, { header: '템플릿 유형', childNames: [] },
{ header: '상태', childNames: [] }, { header: '상태', childNames: [] },
{ header: '발신프로필', childNames: [] }, { header: '발신프로필', childNames: [] },
{ header: '등록ID', childNames: [] },
{ header: '등록자명', childNames: [] },
{ header: '마지막 수정일', childNames: [] }, { header: '마지막 수정일', childNames: [] },
], ],
], ],
columns: [ columns: [
{ name: 'no', header: 'No', align: 'center', width: '4%' }, { name: 'no', header: 'No', align: 'center', width: '5%' },
{ name: 'custNm', header: '고객사명', align: 'center', width: '12%' }, { name: 'custNm', header: '고객사명', align: 'center', width: '10%' },
{ name: 'bregNo', header: '사업자번호', align: 'center', width: '10%' }, { name: 'bregNo', header: '사업자번호', align: 'center', width: '9%' },
// { name: 'tmpltCd', header: '템플릿코드', align: 'center', width: '12%' }, // { name: 'tmpltCd', header: '템플릿코드', align: 'center', width: '12%' },
{ name: 'tmpltNm', header: '템플릿명', align: 'center', width: '18%' }, { name: 'tmpltNm', header: '템플릿명', align: 'center', width: '18%' },
{ name: 'tmpltType', header: '템플릿 유형', align: 'center', width: '8%' }, { name: 'tmpltType', header: '템플릿 유형', align: 'center', width: '8%' },
{ name: 'stat', header: '상태', align: 'center', width: '8%' }, { name: 'stat', header: '상태', align: 'center', width: '7%' },
{ name: 'sendProfile', header: '발신프로필', align: 'center', width: '18%' }, { name: 'sendProfile', header: '발신프로필', align: 'center', width: '14%' },
{ name: 'lastChgDt', header: '마지막 수정일', width: '10%', cls: 'td_line' }, { name: 'userId', header: '등록ID', align: 'center', width: '10%' },
{ name: 'userNm', header: '등록자명', align: 'center', width: '10%' },
{ name: 'lastChgDt', header: '마지막 수정일', width: '9%', cls: 'td_line' },
], ],
noDataStr: '검색 결과가 없습니다.', noDataStr: '검색 결과가 없습니다.',
params: { params: {

View File

@@ -11,8 +11,12 @@ public class TmpltInfo implements Serializable {
@ApiModelProperty(example = "1", name = "리스트번호", dataType = "Integer") @ApiModelProperty(example = "1", name = "리스트번호", dataType = "Integer")
private Integer no; private Integer no;
@ApiModelProperty(example = "홍길동", name = "고객사명", dataType = "String") @ApiModelProperty(example = "주식회사", name = "고객사명", dataType = "String")
private String custNm; private String custNm;
@ApiModelProperty(example = "test", name = "아이디", dataType = "String")
private String userId;
@ApiModelProperty(example = "홍길동", name = "이름", dataType = "String")
private String userNm;
@ApiModelProperty(example = "1234512345", name = "사업자번호", dataType = "String") @ApiModelProperty(example = "1234512345", name = "사업자번호", dataType = "String")
private String bRegNo; private String bRegNo;
@ApiModelProperty(example = "01", name = "템플릿 코드", dataType = "String") @ApiModelProperty(example = "01", name = "템플릿 코드", dataType = "String")

View File

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