This commit is contained in:
zt
2025-03-07 18:01:35 +08:00
parent 3ec18b78ae
commit efdd835429
8 changed files with 3910 additions and 5 deletions

View File

@ -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