StudentExamResultService.java 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. package com.keao.edu.user.service;
  2. import com.keao.edu.common.page.PageInfo;
  3. import com.keao.edu.common.service.BaseService;
  4. import com.keao.edu.user.api.enums.StudentExamResultApiDto;
  5. import com.keao.edu.user.dto.RecordNotify;
  6. import com.keao.edu.user.dto.StudentExamResultStatisticsDto;
  7. import com.keao.edu.user.entity.StudentExamResult;
  8. import com.keao.edu.user.page.StudentExamResultQueryInfo;
  9. public interface StudentExamResultService extends BaseService<Long, StudentExamResult> {
  10. /**
  11. * @describe 查询考试结果
  12. * @author Joburgess
  13. * @date 2020.06.30
  14. * @param queryInfo:
  15. * @return com.keao.edu.common.page.PageInfo<com.keao.edu.user.entity.StudentExamResult>
  16. */
  17. PageInfo<StudentExamResult> queryStudentExamResult(StudentExamResultQueryInfo queryInfo);
  18. /**
  19. * @describe 更新考试结果
  20. * @author Joburgess
  21. * @date 2020.06.30
  22. * @param studentExamResult:
  23. * @return void
  24. */
  25. void updateStudentExamResult(StudentExamResult studentExamResult);
  26. /**
  27. * @describe 考试结果确认推送
  28. * @author Joburgess
  29. * @date 2020.07.23
  30. * @param examId:
  31. * @return void
  32. */
  33. void examResultConfirmPush(Long examId);
  34. StudentExamResultStatisticsDto getStudentExamResultStatisticsInfo(Integer organId, Integer examId);
  35. /**
  36. * 获取考试结果
  37. * @param id
  38. * @return
  39. */
  40. StudentExamResultApiDto getStudentExamResultApiDto(Long id);
  41. /**
  42. * 确认考生
  43. * @param examRegistrationId
  44. */
  45. void confirmStudent(Long examRegistrationId);
  46. /**
  47. * 修改学员考试状态
  48. * @param examRegistrationId
  49. * @param finishedExam
  50. */
  51. void updateFinishedExam(Long examRegistrationId, Integer finishedExam);
  52. /**
  53. * 录像结束回调
  54. * @param recordNotify
  55. */
  56. void recordSync(RecordNotify recordNotify);
  57. /**
  58. * 修改SessionId
  59. * @param examRegistrationId
  60. * @param sessionId
  61. */
  62. void updateSessionId(Long examRegistrationId, String sessionId);
  63. /**
  64. * 屏蔽指定用户
  65. * @param roomId
  66. */
  67. void shieldUserId(Long roomId,Integer shieldFlag);
  68. }