平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

58 lines
1.4 KiB

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