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

38 regels
1.1 KiB

  1. namespace SafeCampus.Application.Services.Business.PersonSetInfoService;
  2. public interface IPersonSetInfoService:ITransient
  3. {
  4. /// <summary>
  5. /// 添加班级
  6. /// </summary>
  7. /// <returns></returns>
  8. Task<bool> Add(PersonSetInfoDto input);
  9. /// <summary>
  10. /// 删除班级
  11. /// </summary>
  12. /// <param name="id"></param>
  13. /// <returns></returns>
  14. Task<bool> Delete(string id);
  15. /// <summary>
  16. /// 编辑信息
  17. /// </summary>
  18. /// <param name="input"></param>
  19. /// <returns></returns>
  20. Task<bool> Update(PersonSetInfoDto input);
  21. /// <summary>
  22. /// 获取底库列表
  23. /// </summary>
  24. /// <returns></returns>
  25. Task<List<PersonSetInfoDto>> GetPageList(long? majorId,string setName);
  26. /// <summary>
  27. /// 获取列表
  28. /// </summary>
  29. /// <returns></returns>
  30. Task<SqlSugarPagedList<PersonSetInfoDto>> GetList(PersonSetInfoSearch search);
  31. /// <summary>
  32. /// 检查名称是否存在
  33. /// </summary>
  34. /// <param name="name"></param>
  35. /// <returns></returns>
  36. Task<bool> CheckName(string name, string id);
  37. }