From ffb18ccfe6750f4a65bce6e02e7f6edb54a5d76f Mon Sep 17 00:00:00 2001 From: manailin <261030956@qq.com> Date: 星期六, 24 九月 2022 23:45:38 +0800 Subject: [PATCH] [修改] 三说代码事件流程代码提交 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/enums/PopulHouseStatusEnum.java | 12 ++++-------- 1 files changed, 4 insertions(+), 8 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/enums/PopulHouseStatusEnum.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/enums/PopulHouseStatusEnum.java index 534bef6..7074cf5 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/enums/PopulHouseStatusEnum.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/enums/PopulHouseStatusEnum.java @@ -8,17 +8,13 @@ * @author LYQ */ @Getter -public enum PopulHouseStatusEnum -{ - ZI_ZHU(1, "自住"), - ZU_ZHU(2, "租住"), - QI_TA(3, "其他"); +public enum PopulHouseStatusEnum { + ZI_ZHU(1, "自住"), ZU_ZHU(2, "租住"), QI_TA(3, "其他"); private final Integer code; private final String name; - PopulHouseStatusEnum(Integer code, String name) - { + PopulHouseStatusEnum(Integer code, String name) { this.code = code; this.name = name; } @@ -29,7 +25,7 @@ return item.getCode(); } } - return 3; + return -1; } public static String getCnDescByName(Integer code) { -- Gitblit v1.7.1