Ver código fonte

fixbug nodata append errro

xiatian 11 horas atrás
pai
commit
3d17c6226e

+ 3 - 4
examcloud-task-service/src/main/java/cn/com/qmth/examcloud/task/service/producer/MarkWorkCreateItemsProducer.java

@@ -12,7 +12,6 @@ import org.slf4j.LoggerFactory;
 
 import cn.com.qmth.examcloud.api.commons.enums.CallType;
 import cn.com.qmth.examcloud.api.commons.enums.ExamType;
-import cn.com.qmth.examcloud.commons.exception.StatusException;
 import cn.com.qmth.examcloud.core.oe.admin.api.ExamRecordForMarkingCloudService;
 import cn.com.qmth.examcloud.core.oe.admin.api.bean.ExamRecordForMarkingBean;
 import cn.com.qmth.examcloud.core.oe.admin.api.request.FindExamRecordForMarkingInfoReq;
@@ -84,9 +83,9 @@ public class MarkWorkCreateItemsProducer extends ResultProducer {
                 LOG.info("创建评卷工作评分项,试卷套数:0");
             }
         }
-        if (CollectionUtils.isEmpty(examRecordForMarkingBeanList)) {
-            throw new StatusException("既没有调卷规则信息也没有考试记录信息");
-        }
+        // if (CollectionUtils.isEmpty(examRecordForMarkingBeanList)) {
+        // throw new StatusException("既没有调卷规则信息也没有考试记录信息");
+        // }
         return examRecordForMarkingBeanList;
     }