INSERT INTO tb_weixin_platform_authorization(appid, authorization_appid, access_token, refresh_token, json_str, create_time, modify_time) VALUES(#{appId}, #{authorizationAppId}, #{accessToken}, #{refreshToken}, #{jsonStr}, #{createTime}, #{modifyTime}) UPDATE tb_weixin_platform_authorization SET access_token = #{accessToken}, refresh_token = #{refreshToken} WHERE authorization_appid = #{authorizationAppId} DELETE FROM tb_weixin_platform_authorization WHERE authorization_appid = #{authorizationAppId}