From ae3258f8191e911c697249476747d016a75922c5 Mon Sep 17 00:00:00 2001
From: dongyukun <1208714201@qq.com>
Date: 星期五, 24 一月 2025 15:08:21 +0800
Subject: [PATCH] 获取多个预警信息和调度建议分页列表

---
 iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/StScheduleSchemeDao.xml |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/StScheduleSchemeDao.xml b/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/StScheduleSchemeDao.xml
index eea763b..e6c63b7 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/StScheduleSchemeDao.xml
+++ b/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/StScheduleSchemeDao.xml
@@ -23,6 +23,12 @@
             <if test="params.type != null and params.type != ''">
                 and t.type = #{params.type}
             </if>
+            <if test="params.objs != null and !params.objs.isEmpty()">
+                and t.obj in
+                <foreach item="obj" collection="params.objs" open="(" separator="," close=")">
+                    #{obj}
+                </foreach>
+            </if>
             <if test="params.startTime != null">
                 and t.time &gt;= #{params.startTime}
             </if>

--
Gitblit v1.9.3