mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 08:13:44 +08:00 
			
		
		
		
	fix 部门权限问题
This commit is contained in:
		@@ -236,7 +236,7 @@ public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> impl
 | 
			
		||||
     * @param role 角色对象
 | 
			
		||||
     */
 | 
			
		||||
    public int insertRoleMenu(SysRole role) {
 | 
			
		||||
        int rows = 0;
 | 
			
		||||
        int rows = 1;
 | 
			
		||||
        // 新增用户与角色管理
 | 
			
		||||
        List<SysRoleMenu> list = new ArrayList<SysRoleMenu>();
 | 
			
		||||
        for (Long menuId : role.getMenuIds()) {
 | 
			
		||||
@@ -259,7 +259,7 @@ public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> impl
 | 
			
		||||
     * @param role 角色对象
 | 
			
		||||
     */
 | 
			
		||||
    public int insertRoleDept(SysRole role) {
 | 
			
		||||
        int rows = 0;
 | 
			
		||||
        int rows = 1;
 | 
			
		||||
        // 新增角色与部门(数据权限)管理
 | 
			
		||||
        List<SysRoleDept> list = new ArrayList<SysRoleDept>();
 | 
			
		||||
        for (Long deptId : role.getDeptIds()) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user