From e082fb59521724684554c606e631431f1ff72293 Mon Sep 17 00:00:00 2001 From: Jay <csj123456> Date: 星期一, 31 三月 2025 15:07:01 +0800 Subject: [PATCH] 新增预警调整速率字段 --- iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/StScheduleSchemeDao.xml | 13 ++++--------- 1 files changed, 4 insertions(+), 9 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 e6c63b7..3e4049e 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 @@ -8,12 +8,13 @@ t.title, t.content, t.time, - t.obj + t.obj, + t.status from ( - select 'alarm' type, t1.title, t1.content, t1.alarm_time `time`, t1.alarm_obj obj + select 'alarm' type, t1.title, t1.content, t1.alarm_time `time`, t1.alarm_obj obj,0 status from t_mm_predict_alarm_message t1 UNION - select 'suggest' type, t2.title, t2.content, t2.schedule_time `time`, t2.schedule_obj obj + select 'suggest' type, t2.title, t2.content, t2.schedule_time `time`, t2.schedule_obj obj,t2.status from t_st_schedule_suggest t2 ) t <where> @@ -22,12 +23,6 @@ </if> <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 >= #{params.startTime} -- Gitblit v1.9.3