fix: 列表也把2查询出来

hunan
huangfeng 4 weeks ago
parent 31f626cd67
commit 6bab1e8f3f

@ -202,7 +202,7 @@
left join towers c on b.id = c.line_id )
left join terminals d on c.id = d.tower_id )
left join terminal_status e on e.term_id = d.id)
where b.status = #{status} and a.status = #{status} and c.status = #{status} and d.status = #{status}
where b.status = #{status} and a.status = #{status} and c.status = #{status} and d.status != 0
</select>
<select id="selectTreeListByChannelId" resultMap="LineAndTerminalNoHeartMap">

Loading…
Cancel
Save