Commit 487fbdd7 authored by tangwei's avatar tangwei

修改人员过滤

parent eea3cd6c
...@@ -84,7 +84,14 @@ ...@@ -84,7 +84,14 @@
order by u.rec_date desc order by u.rec_date desc
)a where a.sequenceNbr is not null )a where a.sequenceNbr is not null
<if test="map.fieldsValue != null"> <if test="map.fieldsValue != null">
<foreach collection="map.fieldsValue.keys" item="item">AND a.${item} = #{map.fieldsValue[${item}]}</foreach> <foreach collection="map.fieldsValue.keys" item="item">
<if test="item != 'bizOrgName'">
AND a.${item} = #{map.fieldsValue[${item}]}
</if>
</foreach>
</if> </if>
</select> </select>
...@@ -161,7 +168,14 @@ ...@@ -161,7 +168,14 @@
order by u.rec_date desc order by u.rec_date desc
)a where a.sequenceNbr is not null )a where a.sequenceNbr is not null
<if test="map.fieldsValue != null"> <if test="map.fieldsValue != null">
<foreach collection="map.fieldsValue.keys" item="item">AND a.${item} = #{map.fieldsValue[${item}]}</foreach> <foreach collection="map.fieldsValue.keys" item="item">
<if test="item != 'bizOrgName'">
AND a.${item} = #{map.fieldsValue[${item}]}
</if>
</foreach>
</if> </if>
LIMIT #{map.pageNum}, #{map.pageSize} LIMIT #{map.pageNum}, #{map.pageSize}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment