This commit is contained in:
杜建超 2020-10-27 16:21:25 +08:00
parent 1206daa643
commit 5a9e697deb

View File

@ -415,20 +415,20 @@
where is_delete=0 where is_delete=0
and start_id =#{req.startId} and start_id =#{req.startId}
<if test="req.evaluationIds !=null and req.evaluationIds !=''"> <if test="req.evaluationIds !=null and req.evaluationIds !=''">
and r.evaluation_id in( and evaluation_id in(
<foreach collection="req.evaluationIds.split(',')" item="evaluation_id" open="(" separator="," close=")"> <foreach collection="req.evaluationIds.split(',')" item="evaluation_id" open="(" separator="," close=")">
#{evaluation_id} #{evaluation_id}
</foreach> </foreach>
) )
</if> </if>
<if test="req.flowProcess !=null"> <if test="req.flowProcess !=null">
and r.flow_process = #{req.flowProcess} and flow_process = #{req.flowProcess}
</if> </if>
<if test="req.staffName !=null and req.staffName!=''"> <if test="req.staffName !=null and req.staffName!=''">
and r.staff_name LIKE CONCAT('%',#{req.staffName},'%') and staff_name LIKE CONCAT('%',#{req.staffName},'%')
</if> </if>
<if test="req.staffIds !=null and req.staffIds !=''"> <if test="req.staffIds !=null and req.staffIds !=''">
and r.staff_id in( and staff_id in(
<foreach collection="req.staffIds.split(',')" item="staff_id" open="(" separator="," close=")"> <foreach collection="req.staffIds.split(',')" item="staff_id" open="(" separator="," close=")">
#{staff_id} #{staff_id}
</foreach> </foreach>