|
@@ -1209,7 +1209,7 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
}
|
|
|
|
|
|
private boolean isNumStart(String content) {
|
|
|
- for(int i=1;i<40;i++){
|
|
|
+ for(int i=1;i<99;i++){
|
|
|
String num = i+".";
|
|
|
if(content.startsWith(num)){
|
|
|
return true;
|
|
@@ -2602,9 +2602,6 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
if(content.equals("")){
|
|
|
continue;
|
|
|
}
|
|
|
- if(content.indexOf("关于《建设工程工程量清单计价规范》")>-1){
|
|
|
- System.out.println(content);
|
|
|
- }
|
|
|
System.out.println(content);
|
|
|
if (content.startsWith("###")||isXueJianQuestionStart(content,type,alKeyList)) {
|
|
|
|
|
@@ -2678,6 +2675,9 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
}
|
|
|
|
|
|
if(nowPart==8){
|
|
|
+ if(content.indexOf("保温层为聚氨酯瓦块时")>-1){
|
|
|
+ System.out.println(content);
|
|
|
+ }
|
|
|
if(isNumStart((content))||content.indexOf("###")>-1||content.indexOf("章标题")>-1||content.indexOf("多项选择题")>-1){
|
|
|
|
|
|
if(Validator.isNotEmpty(qContent)&&!qContent.equals("")){
|
|
@@ -2786,6 +2786,7 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
examAddBo.setExamPaperId(139L);
|
|
|
examAddBo.setQuestionList(questionList);
|
|
|
examAddBo.setStatus(1);
|
|
|
+ examAddBo.setPublishStatus(1L);
|
|
|
iExamService.insertByAddBo(examAddBo);
|
|
|
}
|
|
|
list1.clear();
|