diff --git a/src/bk-user/bkuser/apis/web/organization/views/users.py b/src/bk-user/bkuser/apis/web/organization/views/users.py index 61fd11d9d..06cddc980 100644 --- a/src/bk-user/bkuser/apis/web/organization/views/users.py +++ b/src/bk-user/bkuser/apis/web/organization/views/users.py @@ -1489,8 +1489,8 @@ def put(self, request, *args, **kwargs): data_source_users = [ tenant_user.data_source_user for tenant_user in TenantUser.objects.filter( - tenant_id=cur_tenant_id, id__in=data["user_ids"], + tenant_id=cur_tenant_id, ).select_related("data_source_user") ]