select alert_log__id, alert_name, alert_level, status, product_id, product_name, device_id, device_name, create_by, create_time, update_by, update_time, remark from iot_alert_log insert into iot_alert_log alert_name, alert_level, status, product_id, product_name, device_id, device_name, create_by, create_time, update_by, update_time, remark, #{alertName}, #{alertLevel}, #{status}, #{productId}, #{productName}, #{deviceId}, #{deviceName}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, update iot_alert_log alert_name = #{alertName}, alert_level = #{alertLevel}, status = #{status}, product_id = #{productId}, product_name = #{productName}, device_id = #{deviceId}, device_name = #{deviceName}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, where alert_log__id = #{alertLogId} delete from iot_alert_log where alert_log__id = #{alertLogId} delete from iot_alert_log where alert_log__id in #{alertLogId}