|
@@ -406,7 +406,7 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
if(Validator.isEmpty(tempTxt)||tempTxt.startsWith("B.")){
|
|
|
break;
|
|
|
}
|
|
|
- q_content+=tempTxt;
|
|
|
+ q_content+=tempTxt+"<br />";
|
|
|
j++;
|
|
|
}
|
|
|
bo1.setOptionsId(1L);
|
|
@@ -425,7 +425,7 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
if(Validator.isEmpty(tempTxt)||tempTxt.startsWith("C.")){
|
|
|
break;
|
|
|
}
|
|
|
- q_content+=tempTxt;
|
|
|
+ q_content+=tempTxt+"<br />";
|
|
|
j++;
|
|
|
}
|
|
|
bo1.setOptionsId(2L);
|
|
@@ -444,7 +444,7 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
if(Validator.isEmpty(tempTxt)||tempTxt.startsWith("D.")){
|
|
|
break;
|
|
|
}
|
|
|
- q_content+=tempTxt;
|
|
|
+ q_content+=tempTxt+"<br />";
|
|
|
j++;
|
|
|
}
|
|
|
bo1.setOptionsId(3L);
|
|
@@ -463,7 +463,7 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
if(Validator.isEmpty(tempTxt)||tempTxt.startsWith("E.")||tempTxt.startsWith("正确答案")){
|
|
|
break;
|
|
|
}
|
|
|
- q_content+=tempTxt;
|
|
|
+ q_content+=tempTxt+"<br />";
|
|
|
j++;
|
|
|
}
|
|
|
bo1.setOptionsId(4L);
|
|
@@ -482,7 +482,7 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
if(Validator.isEmpty(tempTxt)||tempTxt.startsWith("F.")||tempTxt.startsWith("正确答案")){
|
|
|
break;
|
|
|
}
|
|
|
- q_content+=tempTxt;
|
|
|
+ q_content+=tempTxt+"<br />";
|
|
|
j++;
|
|
|
}
|
|
|
bo1.setOptionsId(5L);
|
|
@@ -501,7 +501,7 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
if(Validator.isEmpty(tempTxt)||tempTxt.startsWith("G.")||tempTxt.startsWith("正确答案")){
|
|
|
break;
|
|
|
}
|
|
|
- q_content+=tempTxt;
|
|
|
+ q_content+=tempTxt+"<br />";
|
|
|
j++;
|
|
|
}
|
|
|
bo1.setOptionsId(6L);
|
|
@@ -543,7 +543,7 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
if(checkKey(tempTxt)){
|
|
|
break;
|
|
|
}
|
|
|
- q_content+=tempTxt;
|
|
|
+ q_content+=tempTxt+"<br />";
|
|
|
j++;
|
|
|
}
|
|
|
q_content = q_content.replace("正确答案:", "");
|
|
@@ -569,7 +569,7 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
if(checkKey(tempTxt)){
|
|
|
break;
|
|
|
}
|
|
|
- q_content+=tempTxt;
|
|
|
+ q_content+=tempTxt+"<br />";
|
|
|
j++;
|
|
|
}
|
|
|
analysisContent+=q_content;
|
|
@@ -585,7 +585,7 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
if(checkKey(tempTxt)){
|
|
|
break;
|
|
|
}
|
|
|
- q_content+=tempTxt;
|
|
|
+ q_content+=tempTxt+"<br />";
|
|
|
j++;
|
|
|
}
|
|
|
analysisContent = analysisContent + "\r\n" +q_content;
|
|
@@ -601,7 +601,7 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
if(checkKey(tempTxt)){
|
|
|
break;
|
|
|
}
|
|
|
- q_content+=tempTxt;
|
|
|
+ q_content+=tempTxt+"<br />";
|
|
|
j++;
|
|
|
}
|
|
|
analysisContent = analysisContent + "\r\n" +q_content;
|
|
@@ -618,7 +618,7 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
if(checkKey(tempTxt)){
|
|
|
break;
|
|
|
}
|
|
|
- q_content+=tempTxt;
|
|
|
+ q_content+=tempTxt+"<br />";
|
|
|
j++;
|
|
|
}
|
|
|
q_content = q_content.replace("【问题】", "");
|
|
@@ -634,7 +634,7 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
}
|
|
|
//题目正文
|
|
|
else{
|
|
|
- qContent += content;
|
|
|
+ qContent += content+"<br />";
|
|
|
}
|
|
|
}else{
|
|
|
qContent = removeNo(qContent);
|