insert into tb_special_check_item_log
index_id,
id,
company_code,
task_id,
check_item_id,
check_name,
check_content,
check_way,
check_basis,
applicable_place,
deleted,
create_by,
create_date,
update_by,
update_date,
report_time,
report_status,
null,
#{id},
#{companyCode},
#{taskId},
#{checkItemId},
#{checkName},
#{checkContent},
#{checkWay},
#{checkBasis},
#{applicablePlace},
#{deleted},
#{createBy},
#{createDate},
#{updateBy},
#{updateDate},
null,
#{reportStatus},
update tb_special_check_item_log
task_id = #{taskId},
check_item_id = #{checkItemId},
check_name = #{checkName},
check_content = #{checkContent},
check_way = #{checkWay},
check_basis = #{checkBasis},
applicable_place = #{applicablePlace},
result_status = #{resultStatus},
report_status = #{reportStatus},
update_by = #{updateBy},
update_date = #{updateDate},
where index_id = #{indexId} and deleted = 0
update tb_special_check_item_log
deleted = #{deleted},
report_status = #{reportStatus},
update_by = #{updateBy},
update_date = #{updateDate},
where index_id = #{indexId} and deleted = 0
update tb_special_check_item_log set
report_status = #{reportStatus},
report_time = #{reportTime}
where id = #{id} and deleted = 0