From ce06ac05d5053a371319aa172dd9f12b38915607 Mon Sep 17 00:00:00 2001 From: yinzuomei <576302893@qq.com> Date: Tue, 25 Oct 2022 16:30:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=BF=E5=B1=8B=E7=AE=A1=E7=90=86=EF=BC=8Cgo?= =?UTF-8?q?v/org/icneighborhood/neighborhood-options=20v2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/IcNeighborHoodDao.xml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/IcNeighborHoodDao.xml b/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/IcNeighborHoodDao.xml index 1a0b871150..0120d31bb0 100644 --- a/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/IcNeighborHoodDao.xml +++ b/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/IcNeighborHoodDao.xml @@ -682,9 +682,15 @@ WHERE h.DEL_FLAG = '0' AND h.CUSTOMER_ID = #{customerId} - AND ( h.AGENCY_ID = #{agencyId} OR h.AGENCY_PIDS LIKE concat( '%', #{agencyId}, '%' ) ) - and h.NEIGHBOR_HOOD_NAME like concat('%',#{neighborHoodName},'%') - and h.GRID_ID=#{gridId} + + AND ( h.AGENCY_ID = #{agencyId} OR h.AGENCY_PIDS LIKE concat( '%', #{agencyId}, '%' ) ) + + + and h.NEIGHBOR_HOOD_NAME like concat('%',#{neighborHoodName},'%') + + + and h.GRID_ID=#{gridId} + ORDER BY h.NEIGHBOR_HOOD_NAME ASC