From a5df521c4d5a4070e11628217520f1990e95e0f1 Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期二, 18 二月 2025 15:26:12 +0800 Subject: [PATCH] MmPredictAlarmConfigServiceImpl.java list alarmObj --- iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/StScheduleSchemeDao.xml | 9 +++++++++ 1 files changed, 9 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 87a3fdd..eea763b 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 @@ -20,12 +20,21 @@ <if test="params.obj != null and params.obj != ''"> and t.obj = #{params.obj} </if> + <if test="params.type != null and params.type != ''"> + and t.type = #{params.type} + </if> <if test="params.startTime != null"> and t.time >= #{params.startTime} </if> <if test="params.endTime != null"> and t.time <= #{params.endTime} </if> + <if test="params.objList != null"> + and t.obj in + <foreach collection="params.objList" item="item" open="(" close=")" separator=","> + #{item} + </foreach> + </if> </where> order by t.time desc -- Gitblit v1.9.3