`id`,`tenant_id`,`parent_tenant_id`,`type`,`app_id`,`app_key`,`sign_key`,`api_url`, `token`,`token_expired_time`,`user_name`,`password`,`version`,`tp_id`
where 1 = 1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `type` = #{type}
and `version` = #{version}
and id in
#{idItem}
order by ${sortColumns}
update wx_third_party_config set token=#{token},token_expired_time=#{tokenExpiredTime} where id=#{id}
update wx_third_party_config set app_id=#{appId},app_key=#{appKey} where id=#{id}