select token_id, token, authentication_id, user_name, client_id, authentication, refresh_token, open_id, user_id, expires_time from oauth_access_token
update oauth_access_token
set open_id = #{openUid}
where token_id = #{tokenId}
delete
from oauth_access_token
where user_id = #{userId}
insert into oauth_access_token
token_id,
token,
authentication_id,
user_name,
client_id,
authentication,
refresh_token,
open_id,
user_id,
expires_time,
#{tokenId},
#{token},
#{authenticationId},
#{userName},
#{clientId},
#{authentication},
#{refreshToken},
#{openId},
#{userId},
#{expiresTime},