weiwenhai 7 лет назад
Родитель
Сommit
2953c1324b

+ 2 - 2
examcloud-core-questions-service/src/main/java/cn/com/qmth/examcloud/core/questions/service/impl/ExtractConfigServiceImpl.java

@@ -1021,7 +1021,7 @@ public class ExtractConfigServiceImpl implements ExtractConfigService {
 							//获取选项
 							List<QuesOptionDto> quesOptionDtos = subQuestionDto.getQuesOptions();
 							//添加题干
-							body = startWithP(subQuestionDto.getQuesBody(), subQuestionDto.getNumber(),false);
+							body = startWithP(body, subQuestionDto.getNumber(),false);
 							answerHtml.append(body);
 							//添加选项
 							for(QuesOptionDto quesOptionDto:quesOptionDtos){
@@ -1032,7 +1032,7 @@ public class ExtractConfigServiceImpl implements ExtractConfigService {
 							answerHtml.append(answer);
 						}else {
 							//添加题干
-							body = startWithP(subQuestionDto.getQuesBody(), subQuestionDto.getNumber(),false);
+							body = startWithP(body, subQuestionDto.getNumber(),false);
 							answerHtml.append(body);
 							//添加答案
 							answer = startWithP(subQuestionDto.getQuesAnswer(), -1,false);