From 1139fb39c5d5adf2d7be18b5dd0e60043af515ae Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期五, 01 四月 2022 17:17:39 +0800
Subject: [PATCH] update bat 脚本转换为 utf-8 编码 防止上传乱码 需要者自行修改编码

---
 ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysRole.java |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 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 8d91660..ff9275a 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
@@ -137,4 +137,33 @@
         return UserConstants.ADMIN_ID.equals(this.roleId);
     }
 
+    public Boolean getMenuCheckStrictly() {
+        if (menuCheckStrictly == null) {
+            return null;
+        }
+        return menuCheckStrictly == 1;
+    }
+
+    public void setMenuCheckStrictly(Boolean menuCheckStrictly) {
+        if (menuCheckStrictly == null) {
+            this.menuCheckStrictly = null;
+            return;
+        }
+        this.menuCheckStrictly = menuCheckStrictly ? 1 : 0;
+    }
+
+    public Boolean getDeptCheckStrictly() {
+        if (deptCheckStrictly == null) {
+            return null;
+        }
+        return deptCheckStrictly == 1;
+    }
+
+    public void setDeptCheckStrictly(Boolean deptCheckStrictly) {
+        if (deptCheckStrictly == null) {
+            this.deptCheckStrictly = null;
+            return;
+        }
+        this.deptCheckStrictly = deptCheckStrictly ? 1 : 0;
+    }
 }

--
Gitblit v1.9.3