From b1ec36b9f51c02a152945f9ae59b775dc6fb83da Mon Sep 17 00:00:00 2001 From: leebj Date: Fri, 19 Jul 2024 13:17:34 +0900 Subject: [PATCH] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90=EA=B4=80=EB=A6=AC?= =?UTF-8?q?=20=EB=A9=94=EC=9D=B8=ED=99=94=EB=A9=B4=20=EC=A0=91=EC=86=8D?= =?UTF-8?q?=EA=B5=AC=EB=B6=84(=ED=96=89=EC=A0=95=EB=A7=9D,=EC=9D=B8?= =?UTF-8?q?=ED=84=B0=EB=84=B7=EB=A7=9D)=20=EA=B2=80=EC=83=89=EC=A1=B0?= =?UTF-8?q?=EA=B1=B4=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xit/fims/base/web/UserController.java | 2 + .../resources/sql/mapper/base/user-mapper.xml | 11 ++- .../jsp/base/authority/authority-main.jsp | 4 +- .../WEB-INF/jsp/base/authority/user-list.jsp | 93 ++++++++++--------- .../WEB-INF/jsp/base/user/user-main.jsp | 16 +++- 5 files changed, 73 insertions(+), 53 deletions(-) diff --git a/src/main/java/cokr/xit/fims/base/web/UserController.java b/src/main/java/cokr/xit/fims/base/web/UserController.java index 2adfdfd2..637d924d 100644 --- a/src/main/java/cokr/xit/fims/base/web/UserController.java +++ b/src/main/java/cokr/xit/fims/base/web/UserController.java @@ -47,6 +47,8 @@ public class UserController extends cokr.xit.base.user.web.UserController> commonCodes = codeService.getCodesOf("CMN009"); + mav.addObject("CMN009List", commonCodes.get("CMN009")); return mav; } diff --git a/src/main/resources/sql/mapper/base/user-mapper.xml b/src/main/resources/sql/mapper/base/user-mapper.xml index ce1ad4ee..e86c7cba 100644 --- a/src/main/resources/sql/mapper/base/user-mapper.xml +++ b/src/main/resources/sql/mapper/base/user-mapper.xml @@ -90,8 +90,15 @@ SELECT A.USER_ID - USER_ID IN (#{userID}) - AND STTS = #{status} + + USER_ID IN (#{userID}) + + + AND STTS = #{status} + + + AND CNTN_SE_CD = #{type} + diff --git a/src/main/webapp/WEB-INF/jsp/base/authority/authority-main.jsp b/src/main/webapp/WEB-INF/jsp/base/authority/authority-main.jsp index 69473c99..1175b6f3 100644 --- a/src/main/webapp/WEB-INF/jsp/base/authority/authority-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/base/authority/authority-main.jsp @@ -73,7 +73,9 @@