deason 6 yıl önce
ebeveyn
işleme
f1be06f705

+ 2 - 2
examcloud-core-print-service/src/main/java/cn/com/qmth/examcloud/core/print/service/impl/CoursePaperServiceImpl.java

@@ -7,7 +7,6 @@
 
 package cn.com.qmth.examcloud.core.print.service.impl;
 
-import cn.com.qmth.examcloud.commons.base.exception.StatusException;
 import cn.com.qmth.examcloud.core.print.common.jpa.SearchBuilder;
 import cn.com.qmth.examcloud.core.print.common.jpa.SpecUtils;
 import cn.com.qmth.examcloud.core.print.common.upyun.SystemProperty;
@@ -342,7 +341,8 @@ public class CoursePaperServiceImpl implements CoursePaperService {
         //试卷不足时,反馈给前端
         if (errors.length() > 0) {
             errors.append("等课程的试卷数不足!");
-            throw new StatusException(SYS_CODE_500, errors.toString());
+            log.debug(errors.toString());
+            //throw new StatusException(SYS_CODE_500, errors.toString());
         }
     }