|
@@ -3108,6 +3108,7 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
String indexKey = null;
|
|
String indexKey = null;
|
|
for (XWPFParagraph paragraph : paragraphList) {
|
|
for (XWPFParagraph paragraph : paragraphList) {
|
|
content = paragraph.getText();
|
|
content = paragraph.getText();
|
|
|
|
+ System.out.println(content);
|
|
List<XWPFRun> runs = paragraph.getRuns();
|
|
List<XWPFRun> runs = paragraph.getRuns();
|
|
imgUrl = null;
|
|
imgUrl = null;
|
|
// System.out.println(content);
|
|
// System.out.println(content);
|
|
@@ -3347,11 +3348,14 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
}
|
|
}
|
|
if(aType>0){
|
|
if(aType>0){
|
|
String[] strArr = content.split("\\.");
|
|
String[] strArr = content.split("\\.");
|
|
- if(aType==1&&strArr.length==2){
|
|
|
|
|
|
+ if(aType==1&&strArr.length==2&&strArr[0].length()<3){
|
|
System.out.println(strArr);
|
|
System.out.println(strArr);
|
|
indexKey = strArr[0]+".";
|
|
indexKey = strArr[0]+".";
|
|
QuestionAddBo cAddBo = allQues.get(indexKey);
|
|
QuestionAddBo cAddBo = allQues.get(indexKey);
|
|
answerQuestion = dealImportAnswer(strArr[1]);
|
|
answerQuestion = dealImportAnswer(strArr[1]);
|
|
|
|
+ if(Validator.isEmpty(cAddBo)){
|
|
|
|
+ System.out.println(cAddBo);
|
|
|
|
+ }
|
|
cAddBo.setAnswerQuestion(answerQuestion);
|
|
cAddBo.setAnswerQuestion(answerQuestion);
|
|
cAddBo.setAnalysisContent("");
|
|
cAddBo.setAnalysisContent("");
|
|
}
|
|
}
|