diff --git a/src/main/resources/sql/mapper/base/user-mapper.xml b/src/main/resources/sql/mapper/base/user-mapper.xml index c2b818d4..5827767c 100644 --- a/src/main/resources/sql/mapper/base/user-mapper.xml +++ b/src/main/resources/sql/mapper/base/user-mapper.xml @@ -61,14 +61,26 @@ SELECT USER_ID , GRP_ID , ORG_ID , DEPT_CD + , (CASE + WHEN A.DEPT_CD = 'default' + THEN '기본 부서' + ELSE (SELECT DEPT_NM FROM TB_DEPT_INFO WHERE DEPT_CD = A.DEPT_CD) + END + ) AS DEPT_NM , NSTT_CD + , (CASE + WHEN A.NSTT_CD = 'default' + THEN '기본 기관' + ELSE (SELECT INST_NM FROM TB_SGG_INFO WHERE INST_CD = A.NSTT_CD) + END + ) AS NSTT_NM , CRTFC_DN , LOCK_YN , LOCK_CNT , LOCK_DT , REG_DT , STTS - FROM TB_USER + FROM TB_USER A AND ${by} LIKE CONCAT('%', #{term}, '%') USER_ID IN (#{userID}) AND STTS != 'D' diff --git a/src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp b/src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp index 0d7d3654..3d1d0cf8 100644 --- a/src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp @@ -37,8 +37,10 @@ 계정 이름 + 기관 + 부서 + 전화번호(유선) 이메일 - 전화번호(무선) 등록일자 @@ -49,14 +51,16 @@ {USER_ACNT} {USER_NM} + {NSTT_NM} + {DEPT_NM} + {TELNO} {EML_ADRS} - {MBL_TELNO} {REG_DT}