优化
This commit is contained in:
@ -224,11 +224,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="dto.taskId != null">
|
||||
and bpra.task_id = #{dto.taskId}
|
||||
</if>
|
||||
<if test="dto.status != null">
|
||||
<if test="dto.status != null and dto.status == 3">
|
||||
AND bpra.status in ('1','3')
|
||||
</if>
|
||||
<if test="dto.status != null and dto.status != 3">
|
||||
AND bpra.status = #{dto.status}
|
||||
</if>
|
||||
<if test="dto.status != null">
|
||||
AND bpra.status in ('3','5','6')
|
||||
<if test="dto.status == null">
|
||||
AND bpra.status in ('1','3','5','6')
|
||||
</if>
|
||||
</where>
|
||||
order by bpra.create_time desc
|
||||
|
Reference in New Issue
Block a user