From c045fc36f6c3a9aa7844ca5197eccc8dcfb12ede Mon Sep 17 00:00:00 2001
From: liuguijing <123456>
Date: Thu, 29 Feb 2024 11:48:09 +0800
Subject: [PATCH] =?UTF-8?q?=E7=94=B5=E5=8E=8B=E6=A0=91=E7=8A=B6=E5=9B=BE?=
=?UTF-8?q?=E6=9F=A5=E8=AF=A2=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/main/resources/mappers/DyLevelDao.xml | 39 +++++++++++--------
1 file changed, 22 insertions(+), 17 deletions(-)
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}
+
+
+ )