insert into tt_project_link_check ( project_id, disk_type, link_url, check_status, provider_code, check_message, response_time_ms, checked_at, create_time, update_time ) values ( #{projectId}, #{diskType}, #{linkUrl}, #{checkStatus}, #{providerCode}, #{checkMessage}, #{responseTimeMs}, #{checkedAt}, now(), now() ) on duplicate key update link_url = values(link_url), check_status = values(check_status), provider_code = values(provider_code), check_message = values(check_message), response_time_ms = values(response_time_ms), checked_at = values(checked_at), update_time = now() delete from tt_project_link_check where project_id = #{projectId} delete from tt_project_link_check where project_id in #{projectId} delete from tt_project_link_check where project_id = #{projectId} and disk_type = #{diskType}