Commit 2bcb9e96 authored by tangwei's avatar tangwei

修改人员过滤

parent 364790f3
...@@ -87,7 +87,14 @@ ...@@ -87,7 +87,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>
...@@ -164,7 +171,14 @@ ...@@ -164,7 +171,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}
</select> </select>
......
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