From b8123c624dc1edd4aa6afa6f64e90f6170263d60 Mon Sep 17 00:00:00 2001 From: Jackwang Date: Sat, 17 Sep 2022 23:18:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=97=E5=B0=9A=E8=AF=89=E5=8A=9E-=E8=AF=89?= =?UTF-8?q?=E6=B1=82=E5=88=97=E8=A1=A8=E6=B7=BB=E5=8A=A0=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/item/ItemDao.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/esua-epdc/epdc-module/epdc-events/epdc-events-server/src/main/resources/mapper/item/ItemDao.xml b/esua-epdc/epdc-module/epdc-events/epdc-events-server/src/main/resources/mapper/item/ItemDao.xml index 11f3cb564..b30ee3f9a 100755 --- a/esua-epdc/epdc-module/epdc-events/epdc-events-server/src/main/resources/mapper/item/ItemDao.xml +++ b/esua-epdc/epdc-module/epdc-events/epdc-events-server/src/main/resources/mapper/item/ItemDao.xml @@ -1469,6 +1469,18 @@ and i.PEOPLE_FLAG = #{appealType} + + AND (i.GRID_ID = #{gridId} + OR find_in_set(#{gridId},i.ALL_DEPT_IDS)) + + + AND (i.GRID_ID = #{streetId} + OR find_in_set(#{streetId},i.ALL_DEPT_IDS)) + + + AND (find_in_set(#{communityId},i.PARENT_DEPT_IDS) + OR find_in_set(#{communityId},i.ALL_DEPT_IDS)) + and i.USER_ID = #{userId}