From b0b1e641a31a0494262187f97034807fc53515dd Mon Sep 17 00:00:00 2001
From: xusd <hugeinfo123>
Date: Mon, 28 Oct 2024 15:49:39 +0800
Subject: [PATCH] Merge branch 'gzdyh_test' into gzdyh_grid

---
 dyh-service/dyh-base/src/main/java/cn/huge/module/mediate/constant/CaseBaseConstsEnum.java |   34 +++++++++++++++++++++++++++++++---
 1 files changed, 31 insertions(+), 3 deletions(-)

diff --git a/dyh-service/dyh-base/src/main/java/cn/huge/module/mediate/constant/CaseBaseConstsEnum.java b/dyh-service/dyh-base/src/main/java/cn/huge/module/mediate/constant/CaseBaseConstsEnum.java
index ac3507c..688d0a4 100644
--- a/dyh-service/dyh-base/src/main/java/cn/huge/module/mediate/constant/CaseBaseConstsEnum.java
+++ b/dyh-service/dyh-base/src/main/java/cn/huge/module/mediate/constant/CaseBaseConstsEnum.java
@@ -11,16 +11,19 @@
 public enum CaseBaseConstsEnum {
 
     /**
-     * 事项来源,22_00001-1:大厅来访,22_00001-2:线上来访
+     * 事项来源,22_00001-1:大厅来访,22_00001-2:线上来访,22_00001-3:自行排查,22_00001-4:协同推送
      */
     CASE_CANAL_1("22_00001-1", "大厅来访"),
     CASE_CANAL_2("22_00001-2", "线上来访"),
+    CASE_CANAL_3("22_00001-3", "自行排查"),
+    CASE_CANAL_4("22_00001-4", "协同推送"),
 
     /**
-     * 事项来源,22_00001-1:大厅来访,22_00001-2:线上来访
+     * 来访形式,24_00002-1:来访,24_00002-2:线上,24_00002-3:排查
      */
     VISIT_WAY_1("24_00002-1", "来访"),
     VISIT_WAY_2("24_00002-2", "线上"),
+    VISIT_WAY_3("24_00002-3", "排查"),
 
     /**
      * 当事人地位
@@ -64,7 +67,13 @@
     CARD_TYPE_14("09_00015-14", "港澳居民来往内陆通行证"),
     CARD_TYPE_16("09_00015-16", "台湾居民来往大陆通行证"),
     CARD_TYPE_255("09_00015-255", "其他"),
-    CARD_TYPE_17("09_00015-17", "当事人未提供证件信息");
+    CARD_TYPE_17("09_00015-17", "当事人未提供证件信息"),
+
+    /**
+     * 达成协议类型
+     */
+    AGREE_TYPE_1("24_00003-1", "口头协议"),
+    AGREE_TYPE_2("24_00003-2", "书面协议");
 
 
     /**
@@ -131,4 +140,23 @@
         return null;
     }
 
+    /**
+     * 静态方法
+     * @param canal
+     * @return
+     */
+    public static CaseBaseConstsEnum getVisitWayByCanal(String canal) {
+        if (CASE_CANAL_1.getIndex().equals(canal)) {
+            return VISIT_WAY_1;
+        }else if (CASE_CANAL_2.getIndex().equals(canal)) {
+            return VISIT_WAY_2;
+        }else if (CASE_CANAL_3.getIndex().equals(canal)) {
+            return VISIT_WAY_3;
+        }else if (CASE_CANAL_4.getIndex().equals(canal)) {
+            return VISIT_WAY_3;
+        }else {
+            return null;
+        }
+    }
+
 }

--
Gitblit v1.8.0