jinpengyong
2023-12-08 7a9deef40c60e1b0614acb7cd215a12829a8476d
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>