From 97709e81fbbab13b9b36bec3126b0590b7de1984 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期五, 12 七月 2024 18:09:04 +0800
Subject: [PATCH] 部门增加层级字段、部门修改bug

---
 src/main/java/com/mindskip/xzs/domain/enums/RoleEnum.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/mindskip/xzs/domain/enums/RoleEnum.java b/src/main/java/com/mindskip/xzs/domain/enums/RoleEnum.java
index eddee89..91a56aa 100644
--- a/src/main/java/com/mindskip/xzs/domain/enums/RoleEnum.java
+++ b/src/main/java/com/mindskip/xzs/domain/enums/RoleEnum.java
@@ -10,7 +10,7 @@
     ADMIN(3, "ADMIN"),
     DEPT_ADMIN(-1, "DEPT_ADMIN");
 
-    int code;
+    Integer code;
     String name;
 
     RoleEnum(int code, String name) {
@@ -30,11 +30,11 @@
         return keyMap.get(code);
     }
 
-    public int getCode() {
+    public Integer getCode() {
         return code;
     }
 
-    public void setCode(int code) {
+    public void setCode(Integer code) {
         this.code = code;
     }
 

--
Gitblit v1.8.0