From e309c72c145f18d9b86ce9335893695ba2411803 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Wed, 19 Jun 2024 13:37:39 +0900 Subject: [PATCH 1/4] =?UTF-8?q?=EA=B3=B5=ED=86=B5=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EC=A1=B0=ED=9A=8C=EC=A1=B0=EA=B1=B4=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/sql/mapper/base/code-mapper.xml | 16 ++++++++-------- .../webapp/WEB-INF/jsp/base/code/code-main.jsp | 14 ++++++++++---- 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/src/main/resources/sql/mapper/base/code-mapper.xml b/src/main/resources/sql/mapper/base/code-mapper.xml index be27d2b..3934e28 100644 --- a/src/main/resources/sql/mapper/base/code-mapper.xml +++ b/src/main/resources/sql/mapper/base/code-mapper.xml @@ -44,8 +44,8 @@ SELECT * FROM TB_CODE_CTGR - WHERE USE_YN = 'Y' - AND CTGR_ID IN (#{categoryID}) + AND USE_YN = 'Y' + AND CTGR_ID IN (#{categoryID}) @@ -94,9 +94,9 @@ UPDATE TB_CODE_CTGR SET SELECT * FROM TB_CODE_GRP - WHERE USE_YN = 'Y' -AND CTGR_ID IN (#{categoryID}) -AND GRP_ID IN (#{groupID}) + AND USE_YN = 'Y' + AND CTGR_ID IN (#{categoryID}) + AND GRP_ID IN (#{groupID}) @@ -151,9 +151,9 @@ UPDATE TB_CODE_GRP SET SELECT * FROM TB_CMN_CODE - WHERE USE_YN = 'Y' - AND GRP_ID IN (#{groupID}) - AND CODE IN (#{code}) + AND USE_YN = 'Y' + AND GRP_ID IN (#{groupID}) + AND CODE IN (#{code}) diff --git a/src/main/webapp/WEB-INF/jsp/base/code/code-main.jsp b/src/main/webapp/WEB-INF/jsp/base/code/code-main.jsp index 8284c77..6ac3389 100644 --- a/src/main/webapp/WEB-INF/jsp/base/code/code-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/base/code/code-main.jsp @@ -35,7 +35,7 @@