mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-04 04:49:48 +08:00
fix 实现权限组拦截-兼容旧数据
This commit is contained in:
parent
16792df9af
commit
d20b59c62e
@ -182,6 +182,8 @@ public class UserBindWorkspaceService extends BaseDbService<UserBindWorkspaceMod
|
||||
list = list.stream()
|
||||
.map(s -> UserBindWorkspaceModel.getId(s, workspaceId))
|
||||
.collect(Collectors.toList());
|
||||
// 兼容旧数据
|
||||
list.add(UserBindWorkspaceModel.getId(userModel.getId(), workspaceId));
|
||||
return this.getByKey(list);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user