select incident_report_id, company_id, create_by, create_user_id, create_time, update_by, update_user_id, update_time, remark, event_name, introduction, event_location, event_time, whether_to_report, processing_status, owned_picture, owned_file from dc_incident_report
insert into dc_incident_report
company_id,
create_by,
create_user_id,
create_time,
update_by,
update_user_id,
update_time,
remark,
event_name,
introduction,
event_location,
event_time,
whether_to_report,
processing_status,
owned_picture,
owned_file,
#{companyId},
#{createBy},
#{createUserId},
#{createTime},
#{updateBy},
#{updateUserId},
#{updateTime},
#{remark},
#{eventName},
#{introduction},
#{eventLocation},
#{eventTime},
#{whetherToReport},
#{processingStatus},
#{ownedPicture},
#{ownedFile},
update dc_incident_report
company_id = #{companyId},
create_by = #{createBy},
create_user_id = #{createUserId},
create_time = #{createTime},
update_by = #{updateBy},
update_user_id = #{updateUserId},
update_time = #{updateTime},
remark = #{remark},
event_name = #{eventName},
introduction = #{introduction},
event_location = #{eventLocation},
event_time = #{eventTime},
whether_to_report = #{whetherToReport},
processing_status = #{processingStatus},
owned_picture = #{ownedPicture},
owned_file = #{ownedFile},
where incident_report_id = #{incidentReportId}
delete from dc_incident_report where incident_report_id = #{incidentReportId}
delete from dc_incident_report where incident_report_id in
#{incidentReportId}