فهرست منبع

fix 模板编辑

he2802 3 سال پیش
والد
کامیت
d9a3e6424c

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

@@ -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;
     }