Blame view

Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Application.Contracts/IServices/IDeptService.cs 812 Bytes
515fceeb   “wangming”   框架初始化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  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);
      }
  }