电子看板页面样式优化

This commit is contained in:
cwchen 2025-05-28 15:20:06 +08:00
parent 2eee3afc20
commit 7da2483ba6
1 changed files with 2 additions and 2 deletions

View File

@ -227,14 +227,14 @@
tt.sort
FROM tb_tower tt
<if test="type == 4">
LEFT JOIN tb_tower_pouring ttp ON tt.id = ttp.tower_id AND tt.tower_progress = 3
LEFT JOIN tb_tower_pouring ttp ON tt.id = ttp.tower_id AND tt.tower_progress &gt;= #{type} - 1
</if>
WHERE tt.pro_id = #{id} AND tt.is_actvice = '1'
<if test="type != 4">
AND tt.tower_progress &gt;= #{type}
</if>
<if test="type == 4">
AND tt.tower_progress = #{type} - 1
AND tt.tower_progress &gt;= #{type} - 1
AND ttp.finish_status = '1'
</if>
) A ORDER BY sort,leg