疯狂的狮子Li
2022-03-28 95bea7f64a760d4cb8ecba0e288e1a9d859258e5
ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysRole.java
@@ -137,4 +137,25 @@
        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;
    }
}