From adddb6522e95c08bef6bc6b00338ff27d82aa55d Mon Sep 17 00:00:00 2001 From: xusd <hugeinfo123> Date: Thu, 17 Oct 2024 14:42:24 +0800 Subject: [PATCH] fix:网格平台登录对接调整 --- dyh-service/dyh-base/src/main/java/cn/huge/module/mediate/constant/CaseBaseConstsEnum.java | 42 ++++++++++++++++++++++++++++++++---------- 1 files changed, 32 insertions(+), 10 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..b7fb04f 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", "排查"), /** * 当事人地位 @@ -58,13 +67,7 @@ CARD_TYPE_14("09_00015-14", "港澳居民来往内陆通行证"), CARD_TYPE_16("09_00015-16", "台湾居民来往大陆通行证"), CARD_TYPE_255("09_00015-255", "其他"), - CARD_TYPE_17("09_00015-17", "当事人未提供证件信息"), - - /** - * 调解结果 - */ - MEDI_RESULT_1("22_00025-1", "调解成功"), - MEDI_RESULT_2("22_00025-2", "调解不成功"); + CARD_TYPE_17("09_00015-17", "当事人未提供证件信息"); /** @@ -131,4 +134,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