Browse Source

sql优化

dev_shibei_match
zxc 5 years ago
parent
commit
0bcdd40b77
  1. 8
      epmet-user/epmet-user-server/src/main/resources/mapper/GovStaffRoleDao.xml

8
epmet-user/epmet-user-server/src/main/resources/mapper/GovStaffRoleDao.xml

@ -82,8 +82,10 @@
gsr.del_flag = 0
AND sr.del_flag = 0
AND
<foreach collection="userIds" item="userId" separator="OR">
sr.staff_id = #{userId}
</foreach>
(
<foreach collection="userIds" item="userId" separator="OR">
sr.staff_id = #{userId}
</foreach>
)
</select>
</mapper>
Loading…
Cancel
Save