From 7fef7351b8a40da234601dc8ae47ef9eec73315e Mon Sep 17 00:00:00 2001 From: yinzuomei <576302893@qq.com> Date: Mon, 19 Jul 2021 09:23:21 +0800 Subject: [PATCH] =?UTF-8?q?/resi/guide/stranger/publiclocationgridlist?= =?UTF-8?q?=E5=B1=85=E6=B0=91=E7=AB=AF=E5=8E=BB=E5=85=B6=E4=BB=96=E7=BD=91?= =?UTF-8?q?=E6=A0=BC=E7=9C=8B=E7=9C=8B,=E9=99=90=E5=88=B6customer=5Fgrid.S?= =?UTF-8?q?YNC=5FFLAG=3D'1'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/CustomerGridDao.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerGridDao.xml b/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerGridDao.xml index 32ed164aa5..d0663c1a75 100644 --- a/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerGridDao.xml +++ b/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerGridDao.xml @@ -429,6 +429,7 @@ ) agency ON grid.PID = agency.ID WHERE grid.del_flag = 0 + and grid.SYNC_FLAG='1' AND grid.area_code LIKE CONCAT(#{areaCode},'%') @@ -468,6 +469,7 @@ ) agency ON a.PID = agency.ID WHERE a.del_flag = 0 + and a.SYNC_FLAG='1' AND a.customer_id = #{customerId} ) AS c ORDER BY CONVERT ( gridName USING gbk ) ASC