select id, client_id, alarm_time, mgm_public_ip, alarm_type, alarm_content, create_time, update_time, create_by, update_by from rm_alarm_log
insert into rm_alarm_log
client_id,alarm_time,mgm_public_ip,alarm_type,alarm_content,create_time,update_time,create_by,update_by,#{clientId},#{alarmTime},#{mgmPublicIp},#{alarmType},#{alarmContent},#{createTime},#{updateTime},#{createBy},#{updateBy},
update rm_alarm_log
mgm_public_ip = #{mgmPublicIp},alarm_content = #{alarmContent},create_time = #{createTime},update_time = #{updateTime},create_by = #{createBy},update_by = #{updateBy},
and id = #[id]
and client_id = #{clientId} and alarm_type = #{alarmType}
and 1=0
delete from rm_alarm_log where id = #{id}
delete from rm_alarm_log where id in
#{id}