From c9a036da723b08fc34ecc90c0668348f01e01458 Mon Sep 17 00:00:00 2001 From: zhangtiansen <1292933220@qq.com> Date: 星期二, 06 九月 2022 17:50:35 +0800 Subject: [PATCH] 三说会堂专家,事件类型,业务中心模块搭建,基本接口创建。 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/enums/PopulOutOrLocalEnum.java | 11 ++++------- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/enums/PopulOutOrLocalEnum.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/enums/PopulOutOrLocalEnum.java index de266a1..c5d2be4 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/enums/PopulOutOrLocalEnum.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/enums/PopulOutOrLocalEnum.java @@ -8,16 +8,13 @@ * @author LYQ */ @Getter -public enum PopulOutOrLocalEnum -{ - BD(1, "本地"), - WD(2, "外地"); +public enum PopulOutOrLocalEnum { + BD(1, "本地"), WD(2, "外地"); private final Integer code; private final String name; - PopulOutOrLocalEnum(Integer code, String name) - { + PopulOutOrLocalEnum(Integer code, String name) { this.code = code; this.name = name; } @@ -28,7 +25,7 @@ return item.getCode(); } } - return 0; + return -1; } public static String getCnDescByName(Integer code) { -- Gitblit v1.7.1