he2802 3 年之前
父節點
當前提交
262dac7662

+ 5 - 4
zhongzheng-system/src/main/java/com/zhongzheng/modules/bank/service/impl/QuestionServiceImpl.java

@@ -1235,7 +1235,7 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
                         }
                         nowPart = 7;
                         if(Validator.isNotEmpty(answerQuestion)){
-                            analysisContent = analysisContent +  "<br />" + content +  "<br />";
+                            analysisContent = analysisContent +  "<br />" + content ;
                         }else{
                             answerQuestion = content.replace("正确答案:", "");
                         }
@@ -1614,13 +1614,14 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
                         if(nowPart!=7){
                             strContent = "";
                         }
+
+                        nowPart = 7;
+
                         if(Validator.isNotEmpty(answerQuestion)){
-                            analysisContent = analysisContent +  "<br />" + content +  "<br />";
+                            analysisContent = analysisContent +  "<br />" + content ;
                         }else{
                             answerQuestion = content.replace("正确答案:", "");
                         }
-
-                        nowPart = 7;
                         if (isOption) {
                             //选择题
                             answerQuestion = dealImportAnswer(answerQuestion);