StudentService.java 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. package com.keao.edu.user.service;
  2. import com.keao.edu.common.page.PageInfo;
  3. import com.keao.edu.common.page.QueryInfo;
  4. import com.keao.edu.common.service.BaseService;
  5. import com.keao.edu.user.api.entity.Student;
  6. import com.keao.edu.user.dto.StudentExamPaymentDto;
  7. import com.keao.edu.user.page.StudentApplyQueryInfo;
  8. /**
  9. * @Author Joburgess
  10. * @Date 2020.06.18
  11. */
  12. public interface StudentService extends BaseService<Integer, Student> {
  13. /**
  14. * @describe 新增学员
  15. * @author Joburgess
  16. * @date 2020.06.18
  17. * @param student:
  18. * @return void
  19. */
  20. void addStudent(Student student);
  21. /**
  22. * @describe 更新学员
  23. * @author Joburgess
  24. * @date 2020.06.18
  25. * @param student:
  26. * @return void
  27. */
  28. void updateStudent(Student student);
  29. /**
  30. * 获取学员列表
  31. * @param queryInfo
  32. * @return
  33. */
  34. PageInfo<Student> queryStudentPage(QueryInfo queryInfo);
  35. /**
  36. * 获取学员成功报名的数据详情
  37. * @param queryInfo
  38. * @return
  39. */
  40. PageInfo<StudentExamPaymentDto> queryApplyList(StudentApplyQueryInfo queryInfo);
  41. /**
  42. * 获取学生信息
  43. * @param userId
  44. * @return
  45. */
  46. Student getStudent(Integer userId);
  47. /**
  48. * 更新学员基本信息
  49. * @param student
  50. * @return
  51. */
  52. Student updateInfo(Student student);
  53. }