|
@@ -394,11 +394,11 @@ public class ExamRecordDataServiceImpl implements ExamRecordDataService {
|
|
|
String correctAnswer = examQuestion.getCorrectAnswer();
|
|
|
String studentAnswer = examQuestion.getStudentAnswer();
|
|
|
|
|
|
- /*if (StringUtils.isEmpty(correctAnswer)) {
|
|
|
+ if (StringUtils.isEmpty(correctAnswer)) {
|
|
|
// 如果客观题的标准答案为空,则更新标准答案
|
|
|
this.updateCorrectAnswer(req.getExamRecordDataId(), examQuestions, examQuestion);
|
|
|
correctAnswer = examQuestion.getCorrectAnswer();
|
|
|
- }*/
|
|
|
+ }
|
|
|
|
|
|
// 如果学生作答正确,则客观分累加,答题数累加
|
|
|
// if (StringUtils.isNotEmpty(studentAnswer) && QuestionOptionHelper.isEqualAnswer(correctAnswer, studentAnswer)) {
|