Browse Source

调整

master
zhangyuan 3 years ago
parent
commit
65fb771d8b
  1. 6
      epmet-module/gov-org/gov-org-server/src/main/resources/mapper/IcWorkLogDao.xml

6
epmet-module/gov-org/gov-org-server/src/main/resources/mapper/IcWorkLogDao.xml

@ -42,7 +42,8 @@
AND wl.GRID_ID = #{gridId} AND wl.GRID_ID = #{gridId}
</if> </if>
<if test="agencyId != null and agencyId != '' "> <if test="agencyId != null and agencyId != '' ">
AND FIND_IN_SET( #{agencyId}, wl.pids ) AND (wl.AGENCY_ID = #{agencyId}
OR wl.PIDS LIKE concat('%',#{agencyId}, '%' ))
</if> </if>
<if test="mobile != null and mobile != '' "> <if test="mobile != null and mobile != '' ">
AND wl.MOBILE = #{mobile} AND wl.MOBILE = #{mobile}
@ -88,7 +89,8 @@
AND wl.GRID_ID = #{gridId} AND wl.GRID_ID = #{gridId}
</if> </if>
<if test="agencyId != null and agencyId != '' "> <if test="agencyId != null and agencyId != '' ">
AND FIND_IN_SET( #{agencyId}, wl.pids ) AND (wl.AGENCY_ID = #{agencyId}
OR wl.PIDS LIKE concat('%',#{agencyId}, '%' ))
</if> </if>
<if test="mobile != null and mobile != '' "> <if test="mobile != null and mobile != '' ">
AND wl.MOBILE = #{mobile} AND wl.MOBILE = #{mobile}

Loading…
Cancel
Save