From e78a523bf9bc14136c3e09aff3333477dbfa5ea6 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期四, 04 七月 2024 15:38:16 +0800 Subject: [PATCH] 考试加时、强制收卷完善 --- src/main/java/com/ycl/jxkg/service/impl/QuestionServiceImpl.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/service/impl/QuestionServiceImpl.java b/src/main/java/com/ycl/jxkg/service/impl/QuestionServiceImpl.java index 9e6a0d2..4a737c4 100644 --- a/src/main/java/com/ycl/jxkg/service/impl/QuestionServiceImpl.java +++ b/src/main/java/com/ycl/jxkg/service/impl/QuestionServiceImpl.java @@ -105,6 +105,7 @@ switch (questionTypeEnum) { case SingleChoice: case TrueFalse: + case Audio: questionEditRequestVO.setCorrect(question.getCorrect()); break; case MultipleChoice: @@ -115,6 +116,8 @@ questionEditRequestVO.setCorrectArray(correctContent); break; case ShortAnswer: + case Calculate: + case Analysis: questionEditRequestVO.setCorrect(questionObject.getCorrect()); break; default: -- Gitblit v1.8.0