diff --git a/src/main/resources/sql/mapper/base/actiongroup-mapper.xml b/src/main/resources/sql/mapper/base/actiongroup-mapper.xml index 224f6504..594ed991 100644 --- a/src/main/resources/sql/mapper/base/actiongroup-mapper.xml +++ b/src/main/resources/sql/mapper/base/actiongroup-mapper.xml @@ -17,8 +17,12 @@ SELECT A.GRP_ID , A.REG_DT FROM TB_ACTION_GRP A -AND GRP_ID IN (#{groupID}) -AND ${by} LIKE CONCAT('%', #{term}, '%') + +AND GRP_ID IN (#{groupID}) + + +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 d434112d..baa4a4d9 100644 --- a/src/main/resources/sql/mapper/base/authority-mapper.xml +++ b/src/main/resources/sql/mapper/base/authority-mapper.xml @@ -53,8 +53,12 @@ SELECT * FROM TB_AUTHORITY ) A -AND AUTH_ID IN (#{authID}) -AND ${by} LIKE CONCAT('%', #{term}, '%') + +AND AUTH_ID IN (#{authID}) + + +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 fa8fab9c..cc715865 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 @@