insert into tb_special_check_score_and_danger_log index_id, id, company_code, danger_id, danger_name, task_id, check_type, check_item_id, check_score_id, check_date, check_pay, harm_type, is_reject, deduct_point, deduct_illustrate, deleted, create_by, create_date, update_by, update_date, report_time, report_status, null, #{id}, #{companyCode}, #{dangerId}, #{dangerName}, #{taskId}, #{checkType}, #{checkItemId}, #{checkScoreId}, #{checkDate}, #{checkPay}, #{harmType}, #{isReject}, #{deductPoint}, #{deductIllustrate}, #{deleted}, #{createBy}, #{createDate}, #{updateBy}, #{updateDate}, null, #{reportStatus}, update tb_special_check_score_and_danger_log danger_id = #{dangerId}, danger_name= #{dangerName}, task_id = #{taskId}, check_type = #{checkType}, check_item_id = #{checkItemId}, check_score_id = #{checkScoreId}, check_pay = #{checkPay}, harm_type = #{harmType}, is_reject = #{isReject}, deduct_point = #{deductPoint}, deduct_illustrate = #{deductIllustrate}, check_date = #{checkDate}, report_status = #{reportStatus}, update_by = #{updateBy}, update_date = #{updateDate}, where index_id = #{indexId} and deleted = 0 update tb_special_check_score_and_danger_log deleted = #{deleted}, report_status = #{reportStatus}, update_by = #{updateBy}, update_date = #{updateDate}, where index_id = #{indexId} and deleted = 0 update tb_special_check_score_and_danger_log set report_status = #{reportStatus}, report_time = #{reportTime} where id = #{id} and deleted = 0