更新某个主体部广告账号 优化
This commit is contained in:
parent
5bc5216009
commit
2178e81d89
@ -222,10 +222,14 @@ class GoogleOAuthService
|
|||||||
ON CONFLICT (platform,merchant_id,account_id)
|
ON CONFLICT (platform,merchant_id,account_id)
|
||||||
DO UPDATE SET
|
DO UPDATE SET
|
||||||
user_id = EXCLUDED.user_id,
|
user_id = EXCLUDED.user_id,
|
||||||
|
platform_user_id = EXCLUDED.platform_user_id,
|
||||||
|
platform_user_name = EXCLUDED.platform_user_name,
|
||||||
account_name = EXCLUDED.account_name,
|
account_name = EXCLUDED.account_name,
|
||||||
access_token = EXCLUDED.access_token,
|
access_token = EXCLUDED.access_token,
|
||||||
refresh_token = EXCLUDED.refresh_token,
|
refresh_token = EXCLUDED.refresh_token,
|
||||||
is_unbind = EXCLUDED.is_unbind,
|
is_unbind = EXCLUDED.is_unbind,
|
||||||
|
is_del = 'f',
|
||||||
|
ext_info = EXCLUDED.ext_info,
|
||||||
currency = EXCLUDED.currency,
|
currency = EXCLUDED.currency,
|
||||||
updated_at = CURRENT_TIMESTAMP";
|
updated_at = CURRENT_TIMESTAMP";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user