Selaa lähdekoodia

update WarnType

deason 1 vuosi sitten
vanhempi
commit
ca5aaefe20

+ 1 - 7
examcloud-core-oe-admin-dao/src/main/java/cn/com/qmth/examcloud/core/oe/admin/dao/enums/DisciplineType.java

@@ -29,13 +29,7 @@ public enum DisciplineType {
 
     ILLEGAL_CLIENT(12, "非法考生端应用"),
 
-    EXCEED_MAX_SWITCH_SCREEN_COUNT(13, "超过切屏次数限制"),
-
-    MISS_FACE(14, "开考照片缺失"),
-
-    SKIP_FACE(15, "人工跳过人脸验证"),
-
-    FACE_LIVE_UNPASS(16, "过程活体不通过");
+    EXCEED_MAX_SWITCH_SCREEN_COUNT(13, "超过切屏次数限制");
 
     private Integer sortNo;
 

+ 39 - 0
examcloud-core-oe-admin-dao/src/main/java/cn/com/qmth/examcloud/core/oe/admin/dao/enums/WarnType.java

@@ -0,0 +1,39 @@
+package cn.com.qmth.examcloud.core.oe.admin.dao.enums;
+
+/**
+ * 异常类型
+ */
+public enum WarnType {
+
+    MISS_FACE(1, "开考照片缺失"),
+
+    SKIP_FACE(2, "人工跳过人脸验证"),
+
+    FACE_LIVE_UNPASS(3, "过程活体不通过");
+
+    private Integer sortNo;
+
+    private String description;
+
+    WarnType(Integer sortNo, String description) {
+        this.sortNo = sortNo;
+        this.description = description;
+    }
+
+    public Integer getSortNo() {
+        return sortNo;
+    }
+
+    public void setSortNo(Integer sortNo) {
+        this.sortNo = sortNo;
+    }
+
+    public String getDescription() {
+        return description;
+    }
+
+    public void setDescription(String description) {
+        this.description = description;
+    }
+
+}