feat(dept): 添加排除指定部门及其子孙部门的查询功能
This commit is contained in:
@@ -10,5 +10,13 @@ namespace Yi.Framework.Rbac.Application.Contracts.IServices
|
|||||||
public interface IDeptService : IYiCrudAppService<DeptGetOutputDto, DeptGetListOutputDto, Guid, DeptGetListInputVo, DeptCreateInputVo, DeptUpdateInputVo>
|
public interface IDeptService : IYiCrudAppService<DeptGetOutputDto, DeptGetListOutputDto, Guid, DeptGetListInputVo, DeptCreateInputVo, DeptUpdateInputVo>
|
||||||
{
|
{
|
||||||
Task<List<Guid>> GetChildListAsync(Guid deptId);
|
Task<List<Guid>> GetChildListAsync(Guid deptId);
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取排除指定部门及其子孙部门的部门列表
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="id">要排除的部门ID</param>
|
||||||
|
/// <returns>排除后的部门列表</returns>
|
||||||
|
Task<List<DeptGetListOutputDto>> GetListExcludeAsync(Guid id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user