Blame view

netcore/src/Modularity/System/NCC.System.Interfaces/Permission/IDepartmentService.cs 1023 Bytes
de2bd2f9   “wangming”   项目初始化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
  using NCC.System.Entitys.Dto.Permission.Department;
  using NCC.System.Entitys.Permission;
  using System.Collections.Generic;
  using System.Threading.Tasks;
  
  namespace NCC.System.Interfaces.Permission
  {
      /// <summary>
      /// 业务契约:部门管理
      /// </summary>
      public interface IDepartmentService
      {
          /// <summary>
          /// 获取部门列表
          /// </summary>
          /// <returns></returns>
          Task<List<OrganizeEntity>> GetListAsync();
  
          /// <summary>
          /// 部门名称
          /// </summary>
          /// <param name="id"></param>
          /// <returns></returns>
          string GetDepName(string id);
  
          /// <summary>
          /// 公司名称
          /// </summary>
          /// <param name="id"></param>
          /// <returns></returns>
          string GetComName(string id);
  
          /// <summary>
          /// 公司id
          /// </summary>
          /// <param name="id"></param>
          /// <returns></returns>
          string GetCompanyId(string id);
      }
  }