|
@@ -1063,6 +1063,15 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
|
|
|
private boolean isXueJianQuestionStart(String content,Integer type,List<String> alKeyList) {
|
|
|
content = dealTxt(content);
|
|
|
+ if (content.startsWith("一、单项选择题")) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ if (content.startsWith("二、多项选择题")) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ if (content.startsWith("三、实务操作和案例分析题")) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
if (Validator.isNotEmpty(content)) {
|
|
|
if(type==5){
|
|
|
if(alKeyList.contains(content)){
|
|
@@ -1991,6 +2000,7 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
boolean hasError = false;
|
|
|
for (XWPFParagraph paragraph : paragraphList) {
|
|
|
content = paragraph.getText();
|
|
|
+ System.out.println(content);
|
|
|
List<XWPFRun> runs = paragraph.getRuns();
|
|
|
imgUrl = null;
|
|
|
for (XWPFRun run : runs) {
|