修正了 SDK,修复了 aggregate 不能传入 args 的问题
This commit is contained in:
@@ -87,7 +87,7 @@ class RoleManager:
|
||||
@staticmethod
|
||||
def GetUsersForRole(RoleUUID):
|
||||
"""获取拥有指定角色的所有用户"""
|
||||
from gvsdsdk.models import User
|
||||
from gvsds.apps.core.models import User
|
||||
user_uuids = UserRole.objects.filter(RoleUUID=RoleUUID).values_list('UserUUID', flat=True)
|
||||
return User.objects.filter(UserUUID__in=user_uuids)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user