diff --git a/xymanager_dao/src/main/resources/mappers/DyLevelDao.xml b/xymanager_dao/src/main/resources/mappers/DyLevelDao.xml index 9a7fd39..33df617 100644 --- a/xymanager_dao/src/main/resources/mappers/DyLevelDao.xml +++ b/xymanager_dao/src/main/resources/mappers/DyLevelDao.xml @@ -207,23 +207,28 @@ 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} - - and a.id in - - #{id} - - - - and b.id in - - #{id} - - - - and c.id in - - #{id} - + + and ( + false + + or a.id in + + #{id} + + + + or b.id in + + #{id} + + + + or c.id in + + #{id} + + + )