From ecb7d3c38692d5fc89aea526fd9600b86ef478a9 Mon Sep 17 00:00:00 2001 From: liriming <1343021927@qq.com> Date: 星期五, 24 一月 2025 11:37:40 +0800 Subject: [PATCH] 预警信息接口添加objList查询 --- 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 2dd0d4f..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 @@ -29,6 +29,12 @@ <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