From c1518fadb88e4012c25788190843d8708a2e0cc4 Mon Sep 17 00:00:00 2001 From: lizijie <lzjiiie@163.com> Date: Mon, 17 Jan 2022 13:16:04 +0800 Subject: [PATCH] 根据组织id获取站点和设备,service_scope_device相关文件 --- screen-job/src/main/resources/mapper/AlarmInfoMapper.xml | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/screen-job/src/main/resources/mapper/AlarmInfoMapper.xml b/screen-job/src/main/resources/mapper/AlarmInfoMapper.xml index ce72da2..6fd6b2b 100644 --- a/screen-job/src/main/resources/mapper/AlarmInfoMapper.xml +++ b/screen-job/src/main/resources/mapper/AlarmInfoMapper.xml @@ -26,4 +26,10 @@ ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT '���������������������'; </update> + <insert id="insertAlarmInfo"> + insert into alarm_info_${timeUnits} + (alarm_time,`index`,device_id,alarm_type,alarm_information) + values (#{map.alarmTime},#{map.index},#{map.deviceId},#{map.alarmType},#{map.alarmInformation}) + </insert> + </mapper> \ No newline at end of file -- Gitblit v1.8.0