|
@@ -3347,7 +3347,7 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
}
|
|
|
if(aType>0){
|
|
|
String[] strArr = content.split("\\.");
|
|
|
- if(aType==1&&strArr.length==2){
|
|
|
+ if(aType==1&&strArr.length==2&&strArr[0].length()<3){
|
|
|
System.out.println(strArr);
|
|
|
indexKey = strArr[0]+".";
|
|
|
QuestionAddBo cAddBo = allQues.get(indexKey);
|
|
@@ -3359,7 +3359,7 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
QuestionAddBo cAddBo = allQues.get(indexKey);
|
|
|
cAddBo.setAnalysisContent(cAddBo.getAnalysisContent()+content+"<br />");
|
|
|
}
|
|
|
- if(aType==2&&strArr.length==2){
|
|
|
+ if(aType==2&&strArr.length==2&&strArr[0].length()<3){
|
|
|
indexKey = strArr[0]+".";
|
|
|
QuestionAddBo cAddBo = allQues.get(indexKey);
|
|
|
answerQuestion = dealImportAnswer(strArr[1]);
|