平安校园
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

IOrgService.cs 1.4 KiB

4 ay önce
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. 
  2. namespace SafeCampus.Application;
  3. /// <summary>
  4. /// 机构服务
  5. /// </summary>
  6. public interface IOrgService : ITransient
  7. {
  8. /// <summary>
  9. /// 添加机构
  10. /// </summary>
  11. /// <param name="input">添加参数</param>
  12. /// <returns></returns>
  13. Task Add(SysOrgAddInput input);
  14. /// <summary>
  15. /// 复制机构
  16. /// </summary>
  17. /// <param name="input">机构复制参数</param>
  18. /// <returns></returns>
  19. Task Copy(SysOrgCopyInput input);
  20. /// <summary>
  21. /// 删除机构
  22. /// </summary>
  23. /// <param name="input">删除参数</param>
  24. /// <returns></returns>
  25. Task Delete(BaseIdListInput input);
  26. /// <summary>
  27. /// 编辑机构
  28. /// </summary>
  29. /// <param name="input">编辑参数</param>
  30. /// <returns></returns>
  31. Task Edit(SysOrgEditInput input);
  32. /// <summary>
  33. /// 机构分页查询
  34. /// </summary>
  35. /// <param name="input">查询参数</param>
  36. /// <returns>分页信息</returns>
  37. Task<SqlSugarPagedList<SysOrg>> Page(SysOrgPageInput input);
  38. /// <summary>
  39. /// 机构树结构
  40. /// </summary>
  41. /// <param name="input">机构选择器</param>
  42. /// <returns></returns>
  43. Task<List<SysOrg>> Tree(SysOrgTreeInput input = null);
  44. /// <summary>
  45. /// 机构详情
  46. /// </summary>
  47. /// <param name="input"></param>
  48. /// <returns></returns>
  49. Task<SysOrg> Detail(BaseIdInput input);
  50. }