|
@@ -117,6 +117,12 @@
|
|
<if test="params != null and params.userId != null and params.userId != ''">
|
|
<if test="params != null and params.userId != null and params.userId != ''">
|
|
AND PW.WORKER_ID = #{params.userId}
|
|
AND PW.WORKER_ID = #{params.userId}
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="params != null and params.userList != null and params.userList.size > 0">
|
|
|
|
+ AND PW.WORKER_ID in
|
|
|
|
+ <foreach collection="params.userList" item="item" open="(" close=")" separator=",">
|
|
|
|
+ #{item}
|
|
|
|
+ </foreach>
|
|
|
|
+ </if>
|
|
<if test="params != null and params.deptId != null and params.deptId != ''">
|
|
<if test="params != null and params.deptId != null and params.deptId != ''">
|
|
AND P.ZRBM_ID = #{params.deptId}
|
|
AND P.ZRBM_ID = #{params.deptId}
|
|
</if>
|
|
</if>
|