|
|
@@ -26,9 +26,13 @@ public class JudgementServiceImpl implements JudgementService {
|
|
|
}
|
|
|
@Override
|
|
|
public JudgedAnswersVO submitQuestionsStudentAnswer(StudentAnswerDTO studentAnswerDTO) {
|
|
|
+ System.out.println("start judging, students'answers are:");
|
|
|
+ System.out.println(studentAnswerDTO);
|
|
|
Map<String, StudentAnswerDTO.AnswerRecordDTO> records = studentAnswerDTO.getRecords();
|
|
|
List<String> questionIds = new ArrayList<>(records.keySet());
|
|
|
List<BaseQuestionVO> questionVOList = questionService.getQuestionsByIds(questionIds);
|
|
|
+ System.out.println("questions from bok are as follows:");
|
|
|
+ System.out.println(questionVOList);
|
|
|
|
|
|
AtomicInteger correct = new AtomicInteger();
|
|
|
|