From 231897591c909b164defebfdb5936387ec2807d0 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期四, 28 十一月 2024 11:10:10 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/MmPredictAlarmConfigDao.xml | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/MmPredictAlarmConfigDao.xml b/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/MmPredictAlarmConfigDao.xml new file mode 100644 index 0000000..9cee8c2 --- /dev/null +++ b/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/MmPredictAlarmConfigDao.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> + +<mapper namespace="com.iailab.module.model.mcs.pre.dao.MmPredictAlarmConfigDao"> + <select id="getPageList" resultType="com.iailab.module.model.mcs.pre.vo.MmPredictAlarmConfigRespVO"> + select t1.*,t2.itemname itemName,t3.tagname outName + from t_mm_predict_alarm_config t1 + left join t_mm_predict_item t2 on t2.id = t1.item_id + left join t_mm_item_output t3 on t3.id = t1.out_id + <where> + <if test="params.title != null and params.title != ''"> + AND t.title LIKE CONCAT('%', #{params.title},'%') + </if> + <if test="params.alarmObj != null and params.alarmObj != ''"> + AND t.alarmObj LIKE CONCAT('%', #{params.alarmObj},'%') + </if> + </where> + </select> +</mapper> \ No newline at end of file -- Gitblit v1.9.3