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

53 lines
1011 B

  1. //
  2. namespace SafeCampus.System;
  3. /// <summary>
  4. /// 单页服务
  5. /// </summary>
  6. public interface ISpaService : ITransient
  7. {
  8. /// <summary>
  9. /// 添加单页
  10. /// </summary>
  11. /// <param name="input">添加参数</param>
  12. /// <returns></returns>
  13. Task Add(SpaAddInput input);
  14. /// <summary>
  15. /// 删除单页
  16. /// </summary>
  17. /// <param name="input">删除参数</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(SpaEditInput input);
  26. /// <summary>
  27. /// 分页查询
  28. /// </summary>
  29. /// <param name="input"></param>
  30. /// <returns></returns>
  31. Task<SqlSugarPagedList<SysResource>> Page(SpaPageInput input);
  32. /// <summary>
  33. /// 详情
  34. /// </summary>
  35. /// <param name="input"></param>
  36. /// <returns></returns>
  37. Task<SysResource> Detail(BaseIdInput input);
  38. }