电子看板页面样式优化
This commit is contained in:
parent
2eee3afc20
commit
7da2483ba6
|
|
@ -227,14 +227,14 @@
|
||||||
tt.sort
|
tt.sort
|
||||||
FROM tb_tower tt
|
FROM tb_tower tt
|
||||||
<if test="type == 4">
|
<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 >= #{type} - 1
|
||||||
</if>
|
</if>
|
||||||
WHERE tt.pro_id = #{id} AND tt.is_actvice = '1'
|
WHERE tt.pro_id = #{id} AND tt.is_actvice = '1'
|
||||||
<if test="type != 4">
|
<if test="type != 4">
|
||||||
AND tt.tower_progress >= #{type}
|
AND tt.tower_progress >= #{type}
|
||||||
</if>
|
</if>
|
||||||
<if test="type == 4">
|
<if test="type == 4">
|
||||||
AND tt.tower_progress = #{type} - 1
|
AND tt.tower_progress >= #{type} - 1
|
||||||
AND ttp.finish_status = '1'
|
AND ttp.finish_status = '1'
|
||||||
</if>
|
</if>
|
||||||
) A ORDER BY sort,leg
|
) A ORDER BY sort,leg
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue