|
@@ -6,6 +6,7 @@ import cn.com.qmth.examcloud.api.commons.security.bean.User;
|
|
|
import cn.com.qmth.examcloud.commons.exception.StatusException;
|
|
|
import cn.com.qmth.examcloud.commons.util.UUID;
|
|
|
import cn.com.qmth.examcloud.commons.util.Util;
|
|
|
+import cn.com.qmth.examcloud.core.oe.student.base.bean.ExamRecordQuestions;
|
|
|
import cn.com.qmth.examcloud.core.oe.student.base.utils.CommonUtil;
|
|
|
import cn.com.qmth.examcloud.core.oe.student.base.utils.QuestionTypeUtil;
|
|
|
import cn.com.qmth.examcloud.core.oe.student.bean.CheckExamInProgressInfo;
|
|
@@ -188,8 +189,10 @@ public class ExamControlServiceImpl implements ExamControlService {
|
|
|
|
|
|
// 创建考试作答记录
|
|
|
startTime = System.currentTimeMillis();
|
|
|
- examRecordQuestionsService.createExamRecordQuestions(examRecordData.getId(),
|
|
|
+ ExamRecordQuestions examRecordQuestions=examRecordQuestionsService.createExamRecordQuestions(examRecordData.getId(),
|
|
|
extractConfigPaper.getDefaultPaper());
|
|
|
+ //记录试卷题目数量
|
|
|
+ examingSession.setQuestionCount(examRecordQuestions.getExamQuestions().size());
|
|
|
if (log.isDebugEnabled()) {
|
|
|
log.debug("8 创建考试作答记录耗时:" + (System.currentTimeMillis() - startTime) + " ms");
|
|
|
}
|
|
@@ -212,6 +215,8 @@ public class ExamControlServiceImpl implements ExamControlService {
|
|
|
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* 交卷
|
|
|
*
|