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

51 rivejä
1.4 KiB

  1. namespace SafeCampus.Application.Services.Business.PersonInfoService;
  2. public interface IPersonInfoService:ITransient
  3. {
  4. /// <summary>
  5. /// 添加信息
  6. /// </summary>
  7. /// <returns></returns>
  8. Task<bool> Add(PersonInfoDto 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="id"></param>
  19. /// <returns></returns>
  20. Task<PersonInfoDto> GetInfo(string id);
  21. /// <summary>
  22. /// 编辑信息
  23. /// </summary>
  24. /// <param name="input"></param>
  25. /// <returns></returns>
  26. Task<bool> Update(PersonInfoDto input);
  27. /// <summary>
  28. /// 更新班级
  29. /// </summary>
  30. /// <param name="personId"></param>
  31. /// <param name="personSetId"></param>
  32. /// <returns></returns>
  33. Task<bool> UpdateSet(List<string> personId,string personSetId);
  34. /// <summary>
  35. /// 获取底库列表
  36. /// </summary>
  37. /// <returns></returns>
  38. Task<SqlSugarPagedList<PersonInfoDto>> GetPageList(PersonInfoSearch search);
  39. /// <summary>
  40. /// 获取人员数量
  41. /// </summary>
  42. /// <returns></returns>
  43. Task<int> GetCount(string sex);
  44. /// <summary>
  45. /// 获取学生年龄
  46. /// </summary>
  47. /// <returns></returns>
  48. Task<dynamic> GetAge();
  49. }