Browse Source

北尚诉办-诉求列表添加权限

feature/dangjian
Jackwang 3 years ago
parent
commit
b8123c624d
  1. 12
      esua-epdc/epdc-module/epdc-events/epdc-events-server/src/main/resources/mapper/item/ItemDao.xml

12
esua-epdc/epdc-module/epdc-events/epdc-events-server/src/main/resources/mapper/item/ItemDao.xml

@ -1469,6 +1469,18 @@
<if test="appealType != null and appealType != ''">
and i.PEOPLE_FLAG = #{appealType}
</if>
<if test="gridId != null and gridId != ''">
AND (i.GRID_ID = #{gridId}
OR find_in_set(#{gridId},i.ALL_DEPT_IDS))
</if>
<if test="streetId != null and streetId != ''">
AND (i.GRID_ID = #{streetId}
OR find_in_set(#{streetId},i.ALL_DEPT_IDS))
</if>
<if test="communityId != null and communityId != ''">
AND (find_in_set(#{communityId},i.PARENT_DEPT_IDS)
OR find_in_set(#{communityId},i.ALL_DEPT_IDS))
</if>
<if test="userId != null and userId != ''">
and i.USER_ID = #{userId}
</if>

Loading…
Cancel
Save