ExamRegistrationService.java 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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.dto.*;
  6. import com.keao.edu.user.entity.ExamRegistration;
  7. import com.keao.edu.user.enums.StudentRegistrationStatusEnum;
  8. import com.keao.edu.user.page.ApplyListQueryInfo;
  9. import com.keao.edu.user.page.ExamRecordQueryInfo;
  10. import com.keao.edu.user.page.ExamRegistrationQueryInfo;
  11. import java.util.Map;
  12. public interface ExamRegistrationService extends BaseService<Long, ExamRegistration> {
  13. Map<String,Object> addRegistration(ExamRegistration examRegistration) throws Exception;
  14. /**
  15. * @describe 查询考级项目报名学员
  16. * @author Joburgess
  17. * @date 2020.06.28
  18. * @param queryInfo:
  19. * @return com.keao.edu.common.page.PageInfo<com.keao.edu.user.entity.ExamRegistration>
  20. */
  21. PageInfo<ExamRegistrationRoomDto> queryExamRegistrationStudents(ExamRegistrationQueryInfo queryInfo);
  22. /**
  23. * @describe 更新报名状态
  24. * @author Joburgess
  25. * @date 2020.07.24
  26. * @param registId:
  27. * @param status:
  28. * @param memo:
  29. * @return void
  30. */
  31. void updateExamRegistrationStatus(Long registId, StudentRegistrationStatusEnum status, String memo);
  32. /**
  33. * @describe 更新考级报名信息
  34. * @author Joburgess
  35. * @date 2020.07.24
  36. * @param examRegistration:
  37. * @return void
  38. */
  39. void updateExamRegistration(ExamRegistration examRegistration);
  40. /**
  41. * @describe 统计招生信息
  42. * @author Joburgess
  43. * @date 2020.06.30
  44. * @param organId:
  45. * @return com.keao.edu.user.dto.ExamRegistrationStatisticsDto
  46. */
  47. ExamRegistrationStatisticsDto getExamRegistrationStaticsInfo(Integer organId, Integer examId);
  48. /**
  49. * 获取报考列表
  50. * @param queryInfo
  51. * @return
  52. */
  53. PageInfo<ExamRegistrationDto> applyList(ApplyListQueryInfo queryInfo);
  54. /**
  55. * 考试记录
  56. * @param queryInfo
  57. * @return
  58. */
  59. PageInfo<StudentExamListDto> examList(ExamRecordQueryInfo queryInfo);
  60. /**
  61. * 获取报名信息
  62. * @param examRegistrationId
  63. * @return
  64. */
  65. ExamRegistrationDto getExamRegistration(Long examRegistrationId);
  66. /**
  67. * 重新支付
  68. * @param userId
  69. * @param orderNo
  70. * @return
  71. */
  72. Map<String,Object> repay(Integer userId,String orderNo) throws Exception;
  73. /**
  74. * 学生端考级曲库考试列表
  75. * @param queryInfo
  76. * @return
  77. */
  78. PageInfo<StudentBaseExamsDto> studentBaseExams(QueryInfo queryInfo);
  79. }