From ccfc11f040691d7359a773ec0f1e4165fffc7783 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 03 十二月 2024 10:40:17 +0800 Subject: [PATCH] 题目导入:题干重复会更新题目信息、答案去掉字符串空格;在线学习文件非必穿 --- 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