疯狂的狮子Li
2022-03-30 c74b878372127daae5a8af61a163ab7e0d1fbaef
fix 修复设置角色报错问题
已修改1个文件
8 ■■■■■ 文件已修改
ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysRole.java 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysRole.java
@@ -145,6 +145,10 @@
    }
    public void setMenuCheckStrictly(Boolean menuCheckStrictly) {
        if (menuCheckStrictly == null) {
            this.menuCheckStrictly = null;
            return;
        }
        this.menuCheckStrictly = menuCheckStrictly ? 1 : 0;
    }
@@ -156,6 +160,10 @@
    }
    public void setDeptCheckStrictly(Boolean deptCheckStrictly) {
        if (deptCheckStrictly == null) {
            this.deptCheckStrictly = null;
            return;
        }
        this.deptCheckStrictly = deptCheckStrictly ? 1 : 0;
    }
}