فهرست منبع

fix 模板编辑

he2802 3 سال پیش
والد
کامیت
d9a3e6424c
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      zhongzheng-system/src/main/java/com/zhongzheng/modules/bank/service/impl/QuestionServiceImpl.java

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