|
|
@@ -232,7 +232,7 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
bo.setKnowledgeIds(join(",", kIdList));
|
|
|
}
|
|
|
if(!Validator.isNotEmpty(question.getContent())){
|
|
|
- errorLog+="题目内容空白\n";
|
|
|
+ // errorLog+="题目内容空白\n";
|
|
|
continue;
|
|
|
}
|
|
|
Integer type = findType(question.getType());
|
|
|
@@ -502,10 +502,10 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
return 3;
|
|
|
}
|
|
|
else if("简答题".equals(type)){
|
|
|
- return 4;
|
|
|
+ return 5;
|
|
|
}
|
|
|
else if("案例题".equals(type)){
|
|
|
- return 5;
|
|
|
+ return 4;
|
|
|
}
|
|
|
return null;
|
|
|
}
|