From 11dda318d00aea0ca51133d3dd397ee8a3cfaa1e Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期三, 26 六月 2024 11:18:53 +0800
Subject: [PATCH] feat:作弊记录

---
 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