Browse Source

提交代码,题库

weiwenhai 6 năm trước cách đây
mục cha
commit
e1ba201629

+ 1 - 1
examcloud-core-questions-service/src/main/java/cn/com/qmth/examcloud/core/questions/service/impl/PaperServiceImpl.java

@@ -1342,7 +1342,7 @@ public class PaperServiceImpl implements PaperService{
 								List<Question> subQuestions = question.getSubQuestions();
 								for(Question subQuestion:subQuestions){
 									//添加答案
-									String questionAnswer = CommonUtils.deleteHtmlP(subQuestion.getNumber()+"."+subQuestion.getQuesAnswer()+"("+subQuestion.getScore()+"分)");
+									String questionAnswer = CommonUtils.deleteHtmlP(subQuestion.getQuesParams().get("number")+"."+subQuestion.getQuesAnswer()+"("+subQuestion.getScore()+"分)");
 									htmlList.add("<p class='questionAnswer'>"+questionAnswer+"</p>");
 								}
 							}else {

+ 1 - 1
examcloud-core-questions-starter/src/main/resources/templates/answer.ftl

@@ -119,7 +119,7 @@
             <div class="paper_title">
               <div>
                 <h1>
-                  <span style="margin-left:20%;">天津大学网络教育学院111</span>
+                  <span style="margin-left:20%;">网络教育学院考试</span>
                 </h1>
                 <h3><span style="margin-left:35%;">考试试卷</span></h3>
               </div>

+ 1 - 1
examcloud-core-questions-starter/src/main/resources/templates/paper.ftl

@@ -119,7 +119,7 @@
             <div class="paper_title">
               <div>
                 <h1>
-                  <span style="margin-left:20%;">天津大学网络教育学院111</span>
+                  <span style="margin-left:20%;">网络教育学院考试</span>
                 </h1>
                 <h3><span style="margin-left:35%;">考试试卷</span></h3>
               </div>