insert into tb_special_check_task_log
index_id,
id,
company_code,
hazard_code,
hazard_source,
task_id,
check_type,
check_date,
result_status,
deleted,
create_by,
create_date,
update_by,
update_date,
report_time,
report_status,
null,
#{id},
#{companyCode},
#{hazardCode},
#{hazardSource},
#{taskId},
#{checkType},
#{checkDate},
#{resultStatus},
#{deleted},
#{createBy},
#{createDate},
#{updateBy},
#{updateDate},
null,
#{reportStatus},
update tb_special_check_task_log
hazard_code = #{hazardCode},
hazard_source = #{hazardSource},
task_id = #{taskId},
check_type = #{checkType},
check_date = #{checkDate},
result_status = #{resultStatus},
report_status = #{reportStatus},
update_by = #{updateBy},
update_date = #{updateDate},
where index_id = #{indexId} and deleted = 0
update tb_special_check_task_log
deleted = #{deleted},
report_status = #{reportStatus},
update_by = #{updateBy},
update_date = #{updateDate},
where index_id = #{indexId} and deleted = 0
update tb_special_check_task_log set
report_status = #{reportStatus},
report_time = #{reportTime}
where id = #{id} and deleted = 0