23 lines
812 B
C#
23 lines
812 B
C#
using Volo.Abp.Application.Services;
|
|
using Yi.Framework.Ddd.Application.Contracts;
|
|
using Yi.Framework.Rbac.Application.Contracts.Dtos.Dept;
|
|
|
|
namespace Yi.Framework.Rbac.Application.Contracts.IServices
|
|
{
|
|
/// <summary>
|
|
/// Dept服务抽象
|
|
/// </summary>
|
|
public interface IDeptService : IYiCrudAppService<DeptGetOutputDto, DeptGetListOutputDto, Guid, DeptGetListInputVo, DeptCreateInputVo, DeptUpdateInputVo>
|
|
{
|
|
Task<List<Guid>> GetChildListAsync(Guid deptId);
|
|
|
|
|
|
/// <summary>
|
|
/// 获取排除指定部门及其子孙部门的部门列表
|
|
/// </summary>
|
|
/// <param name="id">要排除的部门ID</param>
|
|
/// <returns>排除后的部门列表</returns>
|
|
Task<List<DeptGetListOutputDto>> GetListExcludeAsync(Guid id);
|
|
}
|
|
}
|