알림톡 템플릿 관리 수정

This commit is contained in:
kubo8
2022-12-08 15:48:01 +09:00
parent 334e2d145e
commit 052730e0e2
3 changed files with 15 additions and 22 deletions

View File

@@ -13,10 +13,8 @@ public class TmpltInfo implements Serializable {
private Integer no;
@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 = "ID(이름)", name = "ID(이름)", dataType = "String")
private String userInfo;
@ApiModelProperty(example = "1234512345", name = "사업자번호", dataType = "String")
private String bRegNo;
@ApiModelProperty(example = "01", name = "템플릿 코드", dataType = "String")

View File

@@ -18,8 +18,7 @@
SELECT
@ROWNUM := @ROWNUM + 1 AS NO,
A.custNm,
A.userId,
A.userNm,
A.userInfo,
A.bRegNo,
A.tmpltCd,
A.tmpltNm,
@@ -30,7 +29,7 @@
DATE_FORMAT(A.CHG_DT, '%Y-%m-%d') As lastChgDt
FROM (
SELECT eci.CUST_NM AS custNm,
esu.USER_ID AS userId,
CONCAT(esu.USER_ID,"(",esu.USER_NM,")") AS userInfo,
esu.USER_NM AS userNm,
eci.BIZRNO AS bRegNo,
eat.TMPLT_CD AS tmpltCd,
@@ -76,8 +75,7 @@
SELECT
@ROWNUM := @ROWNUM + 1 AS NO,
A.custNm,
A.userId,
A.userNm,
A.userInfo,
A.bRegNo,
A.tmpltCd,
A.tmpltNm,
@@ -88,8 +86,7 @@
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,
CONCAT(esu.USER_ID,"(",esu.USER_NM,")") AS userInfo,
eci.BIZRNO AS bRegNo,
eat.TMPLT_CD AS tmpltCd,
eat.TMPLT_NM AS tmpltNm,