Browse Source
Merge pull request #24901 from abpframework/copilot/make-findchildrenasync-virtual
Make OrganizationUnitManager.FindChildrenAsync virtual
pull/24907/head
Ma Liming
8 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/OrganizationUnitManager.cs
|
|
@ -148,7 +148,7 @@ public class OrganizationUnitManager : DomainService |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public async Task<List<OrganizationUnit>> FindChildrenAsync(Guid? parentId, bool recursive = false) |
|
|
public virtual async Task<List<OrganizationUnit>> FindChildrenAsync(Guid? parentId, bool recursive = false) |
|
|
{ |
|
|
{ |
|
|
if (!recursive) |
|
|
if (!recursive) |
|
|
{ |
|
|
{ |
|
|
|