فهرست منبع

update ExamingSession callType

deason 2 سال پیش
والد
کامیت
ea41b9dec7
1فایلهای تغییر یافته به همراه28 افزوده شده و 28 حذف شده
  1. 28 28
      examcloud-support/src/main/java/cn/com/qmth/examcloud/support/examing/ExamingSession.java

+ 28 - 28
examcloud-support/src/main/java/cn/com/qmth/examcloud/support/examing/ExamingSession.java

@@ -90,6 +90,11 @@ public class ExamingSession implements JsonSerializable {
      */
     private String examType;
 
+    /**
+     * 抽题模式
+     */
+    private String callType;
+
     /**
      * 断点续考时间:分钟
      */
@@ -114,29 +119,17 @@ public class ExamingSession implements JsonSerializable {
      * 定点交卷的时间
      */
     private Date fixedSubmitTime;
-    
+
     /**
      * 是否计算切屏次数
      */
     private Boolean recordSwitchScreen;
-    
+
     /**
      * 限制切屏次数
      */
     private Integer maxSwitchScreenCount;
 
-    /**
-     * 构建key
-     *
-     * @return
-     * @author WANGWEI
-     */
-    public String buildKey() {
-        this.key = new StringBuilder().append("EXAMING:").append(rootOrgId).append(":")
-                .append(studentId).toString();
-        return this.key;
-    }
-
     public String getKey() {
         return key;
     }
@@ -249,6 +242,14 @@ public class ExamingSession implements JsonSerializable {
         this.examType = examType;
     }
 
+    public String getCallType() {
+        return callType;
+    }
+
+    public void setCallType(String callType) {
+        this.callType = callType;
+    }
+
     public Integer getExamReconnectTime() {
         return examReconnectTime;
     }
@@ -297,22 +298,21 @@ public class ExamingSession implements JsonSerializable {
         this.timingEnd = timingEnd;
     }
 
-	public Integer getMaxSwitchScreenCount() {
-		return maxSwitchScreenCount;
-	}
+    public Integer getMaxSwitchScreenCount() {
+        return maxSwitchScreenCount;
+    }
 
-	public void setMaxSwitchScreenCount(Integer maxSwitchScreenCount) {
-		this.maxSwitchScreenCount = maxSwitchScreenCount;
-	}
+    public void setMaxSwitchScreenCount(Integer maxSwitchScreenCount) {
+        this.maxSwitchScreenCount = maxSwitchScreenCount;
+    }
+
+    public Boolean getRecordSwitchScreen() {
+        return recordSwitchScreen;
+    }
 
-	public Boolean getRecordSwitchScreen() {
-		return recordSwitchScreen;
-	}
+    public void setRecordSwitchScreen(Boolean recordSwitchScreen) {
+        this.recordSwitchScreen = recordSwitchScreen;
+    }
 
-	public void setRecordSwitchScreen(Boolean recordSwitchScreen) {
-		this.recordSwitchScreen = recordSwitchScreen;
-	}
 
-    
-    
 }