正在显示
2 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -228,6 +228,7 @@ func (roleService *RoleService) GetRoleRelatedUsers(getRoleRelatedUsersQuery *qu | @@ -228,6 +228,7 @@ func (roleService *RoleService) GetRoleRelatedUsers(getRoleRelatedUsersQuery *qu | ||
| 228 | queryOptions["organizationId"] = getRoleRelatedUsersQuery.OrgId | 228 | queryOptions["organizationId"] = getRoleRelatedUsersQuery.OrgId |
| 229 | } | 229 | } |
| 230 | queryOptions["userType"] = domain.UserTypeEmployee | 230 | queryOptions["userType"] = domain.UserTypeEmployee |
| 231 | + queryOptions["limit"] = domain.MaxQueryRow | ||
| 231 | _, users, err := userRepository.Find(queryOptions) | 232 | _, users, err := userRepository.Find(queryOptions) |
| 232 | if err != nil { | 233 | if err != nil { |
| 233 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) | 234 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) |
-
请 注册 或 登录 后发表评论