From 334e2d145ec8c6c7240492023fc47a834d4558a1 Mon Sep 17 00:00:00 2001 From: kubo8 Date: Thu, 8 Dec 2022 14:36:19 +0900 Subject: [PATCH] =?UTF-8?q?=EC=95=8C=EB=A6=BC=ED=86=A1=20=ED=85=9C?= =?UTF-8?q?=ED=94=8C=EB=A6=BF=20=EB=AA=A9=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/modules/channelMgt/views/TmpltList.vue | 16 ++++++++++------ .../uplus/ez/api/channelMgt/dto/TmpltInfo.java | 6 +++++- .../mysql/channelMgt/channelMgt-mapper.xml | 17 +++++++++++------ 3 files changed, 26 insertions(+), 13 deletions(-) diff --git a/frontend/src/modules/channelMgt/views/TmpltList.vue b/frontend/src/modules/channelMgt/views/TmpltList.vue index 1ec1f7f..28d88ca 100644 --- a/frontend/src/modules/channelMgt/views/TmpltList.vue +++ b/frontend/src/modules/channelMgt/views/TmpltList.vue @@ -115,20 +115,24 @@ export default { { header: '템플릿 유형', childNames: [] }, { header: '상태', childNames: [] }, { header: '발신프로필', childNames: [] }, + { header: '등록ID', childNames: [] }, + { header: '등록자명', childNames: [] }, { header: '마지막 수정일', childNames: [] }, ], ], columns: [ - { name: 'no', header: 'No', align: 'center', width: '4%' }, - { name: 'custNm', header: '고객사명', align: 'center', width: '12%' }, - { name: 'bregNo', header: '사업자번호', align: 'center', width: '10%' }, + { name: 'no', header: 'No', align: 'center', width: '5%' }, + { name: 'custNm', header: '고객사명', align: 'center', width: '10%' }, + { name: 'bregNo', header: '사업자번호', align: 'center', width: '9%' }, // { name: 'tmpltCd', header: '템플릿코드', align: 'center', width: '12%' }, { name: 'tmpltNm', header: '템플릿명', align: 'center', width: '18%' }, { name: 'tmpltType', header: '템플릿 유형', align: 'center', width: '8%' }, - { name: 'stat', header: '상태', align: 'center', width: '8%' }, - { name: 'sendProfile', header: '발신프로필', align: 'center', width: '18%' }, - { name: 'lastChgDt', header: '마지막 수정일', width: '10%', cls: 'td_line' }, + { name: 'stat', header: '상태', align: 'center', width: '7%' }, + { name: 'sendProfile', header: '발신프로필', align: 'center', width: '14%' }, + { name: 'userId', header: '등록ID', align: 'center', width: '10%' }, + { name: 'userNm', header: '등록자명', align: 'center', width: '10%' }, + { name: 'lastChgDt', header: '마지막 수정일', width: '9%', cls: 'td_line' }, ], noDataStr: '검색 결과가 없습니다.', params: { diff --git a/src/main/java/kr/co/uplus/ez/api/channelMgt/dto/TmpltInfo.java b/src/main/java/kr/co/uplus/ez/api/channelMgt/dto/TmpltInfo.java index 2746d41..1c1948b 100644 --- a/src/main/java/kr/co/uplus/ez/api/channelMgt/dto/TmpltInfo.java +++ b/src/main/java/kr/co/uplus/ez/api/channelMgt/dto/TmpltInfo.java @@ -11,8 +11,12 @@ public class TmpltInfo implements Serializable { @ApiModelProperty(example = "1", name = "리스트번호", dataType = "Integer") private Integer no; - @ApiModelProperty(example = "홍길동", name = "고객사명", dataType = "String") + @ApiModelProperty(example = "주식회사", name = "고객사명", dataType = "String") 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") private String bRegNo; @ApiModelProperty(example = "01", name = "템플릿 코드", dataType = "String") diff --git a/src/main/resources/mapper/mysql/channelMgt/channelMgt-mapper.xml b/src/main/resources/mapper/mysql/channelMgt/channelMgt-mapper.xml index 5010ab2..4cf7ff7 100644 --- a/src/main/resources/mapper/mysql/channelMgt/channelMgt-mapper.xml +++ b/src/main/resources/mapper/mysql/channelMgt/channelMgt-mapper.xml @@ -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 @@ -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 @@ -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