Эх сурвалжийг харах

考试模式:目前离线考试不支持千卷模式,默认false

deason 1 жил өмнө
parent
commit
4ffb86fe98

+ 1 - 2
examcloud-core-oe-admin-service/src/main/java/cn/com/qmth/examcloud/core/oe/admin/service/impl/OfflineExamServiceImpl.java

@@ -1,7 +1,6 @@
 package cn.com.qmth.examcloud.core.oe.admin.service.impl;
 
 import cn.com.qmth.examcloud.api.commons.enums.AdminOperateType;
-import cn.com.qmth.examcloud.api.commons.enums.CallType;
 import cn.com.qmth.examcloud.api.commons.enums.ExamSpecialSettingsType;
 import cn.com.qmth.examcloud.api.commons.enums.ExamType;
 import cn.com.qmth.examcloud.commons.exception.StatusException;
@@ -229,7 +228,7 @@ public class OfflineExamServiceImpl implements OfflineExamService {
         GetPaperResp getPaperResp = extractConfigCloudService.getPaper(getPaperReq);
 
         // 是否采用千人千卷规则 (目前离线考试不支持千卷模式,默认false)
-        boolean randomPaper = CallType.RANDOM_PAPER.name().equals(examBean.getCallType());
+        boolean randomPaper = false;
 
         DefaultPaper defaultPaper = getPaperResp.getDefaultPaper();
         double paperScore = this.parsePaperScore(defaultPaper);