deason 2 жил өмнө
parent
commit
780503c54e

+ 19 - 0
examcloud-api-commons/src/main/java/cn/com/qmth/examcloud/api/commons/enums/CallType.java

@@ -0,0 +1,19 @@
+package cn.com.qmth.examcloud.api.commons.enums;
+
+public enum CallType {
+
+    WHOLE_SET("成套调用"),
+
+    RANDOM_PAPER("随机抽题");
+
+    private String name;
+
+    CallType(String name) {
+        this.name = name;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+}

+ 39 - 12
examcloud-support/src/main/java/cn/com/qmth/examcloud/support/examing/ExamRecordData.java

@@ -1,7 +1,5 @@
 package cn.com.qmth.examcloud.support.examing;
 
-import java.util.Date;
-
 import cn.com.qmth.examcloud.api.commons.enums.ExamType;
 import cn.com.qmth.examcloud.api.commons.exchange.JsonSerializable;
 import cn.com.qmth.examcloud.support.enums.ExamRecordStatus;
@@ -9,6 +7,8 @@ import cn.com.qmth.examcloud.support.enums.HandInExamType;
 import cn.com.qmth.examcloud.support.enums.IsSuccess;
 import cn.com.qmth.examcloud.support.enums.SyncStatus;
 
+import java.util.Date;
+
 public class ExamRecordData implements JsonSerializable {
 
     /**
@@ -125,7 +125,6 @@ public class ExamRecordData implements JsonSerializable {
     private HandInExamType handInExamType;
 
     /**
-     *
      * 活体检测结果
      */
     private IsSuccess faceVerifyResult;
@@ -139,15 +138,27 @@ public class ExamRecordData implements JsonSerializable {
      * 是否异常数据
      */
     private Boolean isWarn;
+
     /**
      * 是否被审核过
      */
     private Boolean isAudit;
+
     /**
      * 是否违纪
      */
     private Boolean isIllegality;
 
+    /**
+     * 是否采用千人千卷规则(默认:false 为正常调卷规则)
+     */
+    private Boolean randomPaper;
+
+    /**
+     * 试卷总分
+     */
+    private Double paperScore;
+
     /**
      * 总分
      */
@@ -228,7 +239,7 @@ public class ExamRecordData implements JsonSerializable {
      * 切屏次数
      */
     private Integer switchScreenCount;
-    
+
     /**
      * 是否超过切屏限制
      */
@@ -426,6 +437,22 @@ public class ExamRecordData implements JsonSerializable {
         this.cleanTime = cleanTime;
     }
 
+    public Boolean getRandomPaper() {
+        return randomPaper;
+    }
+
+    public void setRandomPaper(Boolean randomPaper) {
+        this.randomPaper = randomPaper;
+    }
+
+    public Double getPaperScore() {
+        return paperScore;
+    }
+
+    public void setPaperScore(Double paperScore) {
+        this.paperScore = paperScore;
+    }
+
     public Double getTotalScore() {
         return totalScore;
     }
@@ -631,13 +658,13 @@ public class ExamRecordData implements JsonSerializable {
                 '}';
     }
 
-	public Boolean getExceedMaxSwitchScreenCount() {
-		return exceedMaxSwitchScreenCount;
-	}
+    public Boolean getExceedMaxSwitchScreenCount() {
+        return exceedMaxSwitchScreenCount;
+    }
+
+    public void setExceedMaxSwitchScreenCount(Boolean exceedMaxSwitchScreenCount) {
+        this.exceedMaxSwitchScreenCount = exceedMaxSwitchScreenCount;
+    }
+
 
-	public void setExceedMaxSwitchScreenCount(Boolean exceedMaxSwitchScreenCount) {
-		this.exceedMaxSwitchScreenCount = exceedMaxSwitchScreenCount;
-	}
-    
-    
 }