平安校园
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.
 
 
 
 
 
 

67 lines
1.4 KiB

  1. //
  2. namespace SafeCampus.Application;
  3. /// <summary>
  4. /// 岗位管理
  5. /// </summary>
  6. public interface IPositionService : ITransient
  7. {
  8. /// <summary>
  9. /// 添加岗位
  10. /// </summary>
  11. /// <param name="input">添加参数</param>
  12. /// <returns></returns>
  13. Task Add(PositionAddInput input);
  14. /// <summary>
  15. /// 删除岗位
  16. /// </summary>
  17. /// <param name="input">id列表</param>
  18. /// <returns></returns>
  19. Task Delete(BaseIdListInput input);
  20. /// <summary>
  21. /// 编辑岗位
  22. /// </summary>
  23. /// <param name="input">编辑参数</param>
  24. /// <returns></returns>
  25. Task Edit(PositionEditInput input);
  26. /// <summary>
  27. /// 岗位分页查询
  28. /// </summary>
  29. /// <param name="input">查询参数</param>
  30. /// <returns>分页列表</returns>
  31. Task<SqlSugarPagedList<SysPosition>> Page(PositionPageInput input);
  32. /// <summary>
  33. /// 岗位选择器
  34. /// </summary>
  35. /// <param name="input"></param>
  36. /// <returns></returns>
  37. Task<List<PositionSelectorOutput>> Selector(PositionSelectorInput input);
  38. /// <summary>
  39. /// 岗位详情
  40. /// </summary>
  41. /// <param name="input"></param>
  42. /// <returns></returns>
  43. Task<SysPosition> Detail(BaseIdInput input);
  44. /// <summary>
  45. /// 岗位树形结构
  46. /// </summary>
  47. /// <param name="input"></param>
  48. /// <returns></returns>
  49. Task<List<PositionTreeOutput>> Tree(PositionTreeInput input);
  50. }