From a745c3b358b97b468711a0ecac11dbe2d5d24018 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期一, 01 七月 2024 21:25:24 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev

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