insert into prevent_overhaul_log
uuid,delete_status,gmt_create,create_by_user_name,gmt_moditify,last_edit_user_name,enterprise_id,enterprise_uuid,report_time,update_report_data_time,report_status,report_switch,hazard_code,risk_unit_id,risk_unit_uuid,stop_start_time,stop_end_time,stop_reason,#{uuid},#{deleteStatus},#{gmtCreate},#{createByUserName},#{gmtModitify},#{lastEditUserName},#{enterpriseId},#{enterpriseUuid},#{reportTime},#{updateReportDataTime},#{reportStatus},#{reportSwitch},#{hazardCode},#{riskUnitId},#{riskUnitUuid},#{stopStartTime},#{stopEndTime},#{stopReason},
update prevent_overhaul_log
hazard_code = #{preventOverhaulLog.id},risk_unit_id = #{preventOverhaulLog.riskUnitId},risk_unit_uuid = #{preventOverhaulLog.riskUnitUuid},stop_start_time = #{preventOverhaulLog.stopStartTime},stop_end_time = #{preventOverhaulLog.stopEndTime},stop_reason = #{preventOverhaulLog.stopReason},gmt_moditify = #{preventOverhaulLog.gmtModitify},last_edit_user_name = #{preventOverhaulLog.lastEditUserName},
where id = #{preventOverhaulLog.id}
delete from prevent_overhaul_log where id in
#{id}
update prevent_overhaul_log set
report_status = #{reportStatus},
report_time = #{reportTime}
where id = #{handlerReportParam.id}