select social_user_id, uuid, source, access_token, expire_in, refresh_token, open_id, uid, access_code, union_id, scope, token_type, id_token, mac_algorithm, mac_key, code, oauth_token, oauth_token_secret, create_time, create_by, update_time, update_by, del_flag, status, sys_user_id, username, nickname, avatar, gender, source_client from iot_social_user insert into iot_social_user uuid, source, access_token, expire_in, refresh_token, open_id, uid, access_code, union_id, scope, token_type, id_token, mac_algorithm, mac_key, code, oauth_token, oauth_token_secret, create_time, create_by, update_time, update_by, del_flag, status, sys_user_id, username, nickname, avatar, gender, source_client, #{uuid}, #{source}, #{accessToken}, #{expireIn}, #{refreshToken}, #{openId}, #{uid}, #{accessCode}, #{unionId}, #{scope}, #{tokenType}, #{idToken}, #{macAlgorithm}, #{macKey}, #{code}, #{oauthToken}, #{oauthTokenSecret}, #{createTime}, #{createBy}, #{updateTime}, #{updateBy}, #{delFlag}, #{status}, #{sysUserId}, #{username}, #{nickname}, #{avatar}, #{gender}, #{sourceClient}, update iot_social_user uuid = #{uuid}, source = #{source}, access_token = #{accessToken}, expire_in = #{expireIn}, refresh_token = #{refreshToken}, open_id = #{openId}, uid = #{uid}, access_code = #{accessCode}, union_id = #{unionId}, scope = #{scope}, token_type = #{tokenType}, id_token = #{idToken}, mac_algorithm = #{macAlgorithm}, mac_key = #{macKey}, code = #{code}, oauth_token = #{oauthToken}, oauth_token_secret = #{oauthTokenSecret}, create_time = #{createTime}, create_by = #{createBy}, update_time = #{updateTime}, update_by = #{updateBy}, del_flag = #{delFlag}, status = #{status}, sys_user_id = #{sysUserId}, username = #{username}, nickname = #{nickname}, avatar = #{avatar}, gender = #{gender}, source_client = #{sourceClient}, where social_user_id = #{socialUserId} delete from iot_social_user where social_user_id = #{socialUserId} delete from iot_social_user where social_user_id in #{socialUserId} update iot_social_user set del_flag = 1, update_time = now() where sys_user_id = #{sysUserId} and source_client in #{sourceClient} update iot_social_user set del_flag = 1, update_time = now() where sys_user_id in #{sysUserId} and source_client in #{sourceClient}