|
@@ -169,6 +169,9 @@ public class ExamRecordQuestionsServiceImpl implements ExamRecordQuestionsServic
|
|
|
@Override
|
|
|
public void submitQuestionAnswer(Long studentId, List<ExamStudentQuestionInfo> examQuestionInfos) {
|
|
|
ExamSessionInfo examSessionInfo = examSessionInfoService.getExamSessionInfo(studentId);
|
|
|
+ if (null == examSessionInfo){
|
|
|
+ throw new StatusException("200001","考试会话已过期");
|
|
|
+ }
|
|
|
long examRecordDataId = examSessionInfo.getExamRecordDataId();
|
|
|
|
|
|
ExamRecordQuestionsEntity examRecordQuesitonsEntity = getExamRecordQuestionsAndFixExamRecordDataIfNecessary(examRecordDataId);
|