id, inspector_id, start_time, stop_time, inspect_distance
  
  
  
    
    delete from ope_inspect
    where id = #{id,jdbcType=BIGINT}
  
  
    
    insert into ope_inspect (id, inspector_id, start_time, 
      stop_time, inspect_distance)
    values (#{id,jdbcType=BIGINT}, #{inspectorId,jdbcType=BIGINT}, #{startTime,jdbcType=TIMESTAMP}, 
      #{stopTime,jdbcType=TIMESTAMP}, #{inspectDistance,jdbcType=FLOAT})
  
  
    
    insert into ope_inspect
    
      
        id,
      
      
        inspector_id,
      
      
        start_time,
      
      
        stop_time,
      
      
        inspect_distance,
      
    
    
      
        #{id,jdbcType=BIGINT},
      
      
        #{inspectorId,jdbcType=BIGINT},
      
      
        #{startTime,jdbcType=TIMESTAMP},
      
      
        #{stopTime,jdbcType=TIMESTAMP},
      
      
        #{inspectDistance,jdbcType=FLOAT},
      
    
  
  
    
    update ope_inspect
    
      
        inspector_id = #{inspectorId,jdbcType=BIGINT},
      
      
        start_time = #{startTime,jdbcType=TIMESTAMP},
      
      
        stop_time = #{stopTime,jdbcType=TIMESTAMP},
      
      
        inspect_distance = #{inspectDistance,jdbcType=FLOAT},
      
    
    where id = #{id,jdbcType=BIGINT}
  
  
    
    update ope_inspect
    set inspector_id = #{inspectorId,jdbcType=BIGINT},
      start_time = #{startTime,jdbcType=TIMESTAMP},
      stop_time = #{stopTime,jdbcType=TIMESTAMP},
      inspect_distance = #{inspectDistance,jdbcType=FLOAT}
    where id = #{id,jdbcType=BIGINT}
  
  
  
  
  
  
  
    UPDATE ope_inspect
    SET inspect_distance = #{distance}
    WHERE id = #{inspectId}