|
|
|
@ -337,8 +337,10 @@ public class DistributionController {
|
|
|
|
list.add(roleReader);
|
|
|
|
list.add(roleReader);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if(!CollectionUtils.isEmpty(list)) {
|
|
|
|
roleRearderService.SimpleInsert(list);
|
|
|
|
roleRearderService.SimpleInsert(list);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
if(null != userId) {
|
|
|
|
if(null != userId) {
|
|
|
|
//与角色分配表对比,多出部分,flag设为1,减少部分flag设为0
|
|
|
|
//与角色分配表对比,多出部分,flag设为1,减少部分flag设为0
|
|
|
|
//角色权限
|
|
|
|
//角色权限
|
|
|
|
@ -392,8 +394,10 @@ public class DistributionController {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if(!CollectionUtils.isEmpty(list)) {
|
|
|
|
userRearderService.SimpleInsert(list);
|
|
|
|
userRearderService.SimpleInsert(list);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
return ResultUtil.ok();
|
|
|
|
return ResultUtil.ok();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|