cjl
2024-01-31 3f667355c7013b459f3ab5ec0c1bc035d7e2d5aa
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>