From 0fd098b8b9b846d71f50fb82a63f25945026a283 Mon Sep 17 00:00:00 2001
From: liyj <15602261488@163.com>
Date: Fri, 25 Oct 2024 10:43:28 +0800
Subject: [PATCH] 1、案件信息扩展表优化
---
dyh-service/dyh-base/src/main/java/cn/huge/module/mediate/constant/CaseBaseConstsEnum.java | 40 ++++++++++++++++++++++++++++++++++------
1 files changed, 34 insertions(+), 6 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 4993ed2..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
@@ -1,8 +1,8 @@
package cn.huge.module.mediate.constant;
/**
- * @title: 调解相关常量枚举类
- * @description: 调解相关常量枚举类
+ * @title: 纠纷信息相关常量枚举类
+ * @description: 纠纷信息相关常量枚举类
* @company: hugeinfo
* @author: liyj
* @time: 2021-11-05 16:51:48
@@ -11,10 +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", "协同推送"),
+
+ /**
+ * 来访形式,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", "排查"),
/**
* 当事人地位
@@ -61,10 +70,10 @@
CARD_TYPE_17("09_00015-17", "当事人未提供证件信息"),
/**
- * 调解结果
+ * 达成协议类型
*/
- MEDI_RESULT_1("22_00025-1", "调解成功"),
- MEDI_RESULT_2("22_00025-2", "调解不成功");
+ 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