From d119829b4d725bb3ff19338b2c33c23a8b765964 Mon Sep 17 00:00:00 2001 From: leebj Date: Fri, 19 Jul 2024 14:14:04 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AC=B8=EC=9E=90=EC=97=B4=20null=20=EC=B2=B4?= =?UTF-8?q?=ED=81=AC=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/actiongroup-mapper.xml | 4 +++- .../resources/sql/mapper/base/authority-mapper.xml | 4 +++- .../resources/sql/mapper/base/department-mapper.xml | 5 ++++- src/main/resources/sql/mapper/base/file-mapper.xml | 2 +- src/main/resources/sql/mapper/base/program.xml | 8 ++++++-- src/main/resources/sql/mapper/base/sigungu-mapper.xml | 10 ++++++++-- src/main/resources/sql/mapper/base/user-mapper.xml | 5 ++++- 7 files changed, 29 insertions(+), 9 deletions(-) diff --git a/src/main/resources/sql/mapper/base/actiongroup-mapper.xml b/src/main/resources/sql/mapper/base/actiongroup-mapper.xml index a190755..e951377 100644 --- a/src/main/resources/sql/mapper/base/actiongroup-mapper.xml +++ b/src/main/resources/sql/mapper/base/actiongroup-mapper.xml @@ -17,7 +17,9 @@ SELECT A.GRP_ID FROM TB_ACTION_GRP A AND GRP_ID IN (#{groupID}) -AND ${by} LIKE CONCAT('%', #{term}, '%') + +AND ${by} LIKE CONCAT('%', #{term}, '%') + diff --git a/src/main/resources/sql/mapper/base/authority-mapper.xml b/src/main/resources/sql/mapper/base/authority-mapper.xml index 79f9a04..ce5478c 100644 --- a/src/main/resources/sql/mapper/base/authority-mapper.xml +++ b/src/main/resources/sql/mapper/base/authority-mapper.xml @@ -53,7 +53,9 @@ SELECT * ) A AND AUTH_ID IN (#{authID}) -AND ${by} LIKE CONCAT('%', #{term}, '%') + +AND ${by} LIKE CONCAT('%', #{term}, '%') + diff --git a/src/main/resources/sql/mapper/base/department-mapper.xml b/src/main/resources/sql/mapper/base/department-mapper.xml index ab7a1c0..b102d41 100644 --- a/src/main/resources/sql/mapper/base/department-mapper.xml +++ b/src/main/resources/sql/mapper/base/department-mapper.xml @@ -37,7 +37,10 @@ /* 시군구 목록 조회(sigunguMapper.selectSigunguList) */ - AND ${by} LIKE CONCAT('%', #{term}, '%') + + + AND ${by} LIKE CONCAT('%', #{term}, '%') + AND SGG_CD IN (#{sggID}) AND INST_CD IN (#{instCode}) AND USE_YN = 'Y' @@ -54,7 +57,10 @@