Browse Source

不再需要网格信息

master
zhangyuan 5 years ago
parent
commit
4abf15bc03
  1. 24
      epdc-cloud-user/src/main/resources/mapper/UserDao.xml

24
epdc-cloud-user/src/main/resources/mapper/UserDao.xml

@ -86,18 +86,18 @@
<if test="mobile != '' and mobile != null">and u.mobile like '%${mobile}%'</if>
<if test="identityNo != '' and identityNo != null">and u.identity_no like '%${identityNo}%'</if>
<if test="partyFlag != '' and partyFlag != null">and u.party_flag = #{partyFlag}</if>
<if test="streetId != '' and streetId != null">
AND (find_in_set(#{streetId},ug.PARENT_DEPT_IDS)
OR find_in_set(#{streetId},ug.ALL_DEPT_IDS))
</if>
<if test="communityId != '' and communityId != null">
AND (find_in_set(#{communityId},ug.PARENT_DEPT_IDS)
OR find_in_set(#{communityId},ug.ALL_DEPT_IDS))
</if>
<if test="gridId != '' and gridId != null">
and (ug.grid_id = #{gridId}
OR find_in_set(#{gridId},ug.ALL_DEPT_IDS))
</if>
<!-- <if test="streetId != '' and streetId != null">-->
<!-- AND (find_in_set(#{streetId},ug.PARENT_DEPT_IDS)-->
<!-- OR find_in_set(#{streetId},ug.ALL_DEPT_IDS))-->
<!-- </if>-->
<!-- <if test="communityId != '' and communityId != null">-->
<!-- AND (find_in_set(#{communityId},ug.PARENT_DEPT_IDS)-->
<!-- OR find_in_set(#{communityId},ug.ALL_DEPT_IDS))-->
<!-- </if>-->
<!-- <if test="gridId != '' and gridId != null">-->
<!-- and (ug.grid_id = #{gridId}-->
<!-- OR find_in_set(#{gridId},ug.ALL_DEPT_IDS))-->
<!-- </if>-->
GROUP BY
u.ID
ORDER BY

Loading…
Cancel
Save