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