he2802 3 years ago
parent
commit
89e0ce3988

+ 1 - 3
zhongzheng-system/src/main/java/com/zhongzheng/modules/bank/service/impl/QuestionServiceImpl.java

@@ -579,7 +579,7 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
                                 j++;
                             }
                             analysisContent = analysisContent + "\r\n" +q_content;
-                           
+                            i = j;
                         }
                         //问答题问题
                         else if(content.startsWith("【问题】")){
@@ -599,7 +599,6 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
                             QuestionChildAddBo bo1 = optionsList.get(0);
                             bo1.setContent(q_content);
                             i = j;
-                            continue;
                         }
                         //题目正文
                         else{
@@ -617,7 +616,6 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
                             }
                             qContent = q_content;
                             i = j;
-                            continue;
                         }
                     }else{
                        System.out.println("换行");