id, access_token, expire_time, expire_dt
  
  
  
  
    
    delete from vi_ys_app
    where id = #{id,jdbcType=BIGINT}
  
  
    
    delete from vi_ys_app
  
  
    
    insert into vi_ys_app (id, access_token, expire_time, 
      expire_dt)
    values (#{id,jdbcType=BIGINT}, #{accessToken,jdbcType=VARCHAR}, #{expireTime,jdbcType=BIGINT}, 
      #{expireDt,jdbcType=TIMESTAMP})
  
  
    
    insert into vi_ys_app
    
      
        id,
      
      
        access_token,
      
      
        expire_time,
      
      
        expire_dt,
      
    
    
      
        #{id,jdbcType=BIGINT},
      
      
        #{accessToken,jdbcType=VARCHAR},
      
      
        #{expireTime,jdbcType=BIGINT},
      
      
        #{expireDt,jdbcType=TIMESTAMP},
      
    
  
  
    
    update vi_ys_app
    
      
        access_token = #{accessToken,jdbcType=VARCHAR},
      
      
        expire_time = #{expireTime,jdbcType=BIGINT},
      
      
        expire_dt = #{expireDt,jdbcType=TIMESTAMP},
      
    
    where id = #{id,jdbcType=BIGINT}
  
  
    
    update vi_ys_app
    set access_token = #{accessToken,jdbcType=VARCHAR},
      expire_time = #{expireTime,jdbcType=BIGINT},
      expire_dt = #{expireDt,jdbcType=TIMESTAMP}
    where id = #{id,jdbcType=BIGINT}