mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	fix 修复设置角色报错问题
This commit is contained in:
		@@ -145,6 +145,10 @@ public class SysRole extends BaseEntity {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public void setMenuCheckStrictly(Boolean menuCheckStrictly) {
 | 
			
		||||
        if (menuCheckStrictly == null) {
 | 
			
		||||
            this.menuCheckStrictly = null;
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
        this.menuCheckStrictly = menuCheckStrictly ? 1 : 0;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@@ -156,6 +160,10 @@ public class SysRole extends BaseEntity {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public void setDeptCheckStrictly(Boolean deptCheckStrictly) {
 | 
			
		||||
        if (deptCheckStrictly == null) {
 | 
			
		||||
            this.deptCheckStrictly = null;
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
        this.deptCheckStrictly = deptCheckStrictly ? 1 : 0;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user