Browse Source

修改民警信息及警民群信息查询条件

hotfix/yujt_opt
zhangyuan 5 years ago
parent
commit
6045195df3
  1. 4
      epdc-cloud-property/src/main/resources/mapper/police/PoliceDao.xml

4
epdc-cloud-property/src/main/resources/mapper/police/PoliceDao.xml

@ -96,8 +96,8 @@
ep.DEL_FLAG = '0'
AND eg.DEL_FLAG = '0'
<if test="gridId != null and gridId != ''">
AND (ep.GRID_ID = #{gridId}
OR find_in_set(#{gridId},ep.ALL_DEPT_IDS))
AND (eg.GRID_ID = #{gridId}
OR find_in_set(#{gridId},eg.ALL_DEPT_IDS))
</if>
GROUP BY
ep.ID

Loading…
Cancel
Save