|
|
|
|
|
|
|
|
<if test="request.status != null and request.status != ''"> and status = #{request.status} </if>
|
|
|
<if test="request.status != null and request.status != ''"> and status = #{request.status} </if>
|
|
|
<if test="request.userDeptId != null and request.userDeptId != ''"> and assign_dept_id = #{request.userDeptId} </if>
|
|
|
<if test="request.userDeptId != null and request.userDeptId != ''"> and assign_dept_id = #{request.userDeptId} </if>
|
|
|
<if test="request.deptIdList != null and request.deptIdList.size() > 0">
|
|
|
<if test="request.deptIdList != null and request.deptIdList.size() > 0">
|
|
|
and dept_id in
|
|
|
|
|
|
|
|
|
or dept_id in
|
|
|
<foreach item="deptId" collection="request.deptIdList" open="(" separator="," close=")">
|
|
|
<foreach item="deptId" collection="request.deptIdList" open="(" separator="," close=")">
|
|
|
#{deptId}
|
|
|
#{deptId}
|
|
|
</foreach>
|
|
|
</foreach>
|