From 67140f996b9fc730d9e8d89c3bf9d1714a9059e1 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期三, 20 四月 2022 10:41:27 +0800 Subject: [PATCH] fix 修复 BeanCopyUtils 工具导包错误 --- ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysRole.java | 26 ++------------------------ 1 files changed, 2 insertions(+), 24 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysRole.java b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysRole.java index 7e65339..8048157 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysRole.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysRole.java @@ -78,13 +78,13 @@ * 鑿滃崟鏍戦�夋嫨椤规槸鍚﹀叧鑱旀樉绀猴紙 0锛氱埗瀛愪笉浜掔浉鍏宠仈鏄剧ず 1锛氱埗瀛愪簰鐩稿叧鑱旀樉绀猴級 */ @ApiModelProperty(value = "鑿滃崟鏍戦�夋嫨椤规槸鍚﹀叧鑱旀樉绀猴紙 0锛氱埗瀛愪笉浜掔浉鍏宠仈鏄剧ず 1锛氱埗瀛愪簰鐩稿叧鑱旀樉绀猴級") - private Integer menuCheckStrictly; + private Boolean menuCheckStrictly; /** * 閮ㄩ棬鏍戦�夋嫨椤规槸鍚﹀叧鑱旀樉绀猴紙0锛氱埗瀛愪笉浜掔浉鍏宠仈鏄剧ず 1锛氱埗瀛愪簰鐩稿叧鑱旀樉绀� 锛� */ @ApiModelProperty(value = "閮ㄩ棬鏍戦�夋嫨椤规槸鍚﹀叧鑱旀樉绀猴紙0锛氱埗瀛愪笉浜掔浉鍏宠仈鏄剧ず 1锛氱埗瀛愪簰鐩稿叧鑱旀樉绀� 锛�") - private Integer deptCheckStrictly; + private Boolean deptCheckStrictly; /** * 瑙掕壊鐘舵�侊紙0姝e父 1鍋滅敤锛� @@ -135,27 +135,5 @@ @ApiModelProperty(value = "鏄惁绠$悊鍛�") public boolean isAdmin() { return UserConstants.ADMIN_ID.equals(this.roleId); - } - - public Boolean getMenuCheckStrictly() { - if (menuCheckStrictly == null) { - return null; - } - return menuCheckStrictly == 1; - } - - public void setMenuCheckStrictly(Boolean menuCheckStrictly) { - this.menuCheckStrictly = menuCheckStrictly ? 1 : 0; - } - - public Boolean getDeptCheckStrictly() { - if (deptCheckStrictly == null) { - return null; - } - return deptCheckStrictly == 1; - } - - public void setDeptCheckStrictly(Boolean deptCheckStrictly) { - this.deptCheckStrictly = deptCheckStrictly ? 1 : 0; } } -- Gitblit v1.9.3