Commit 986c39ed authored by huyuchen's avatar huyuchen

菜单权限修改

parent d1ba8736
...@@ -83,7 +83,8 @@ public class SysRoleInfoServiceImpl extends ServiceImpl<SysRoleInfoMapper, SysRo ...@@ -83,7 +83,8 @@ public class SysRoleInfoServiceImpl extends ServiceImpl<SysRoleInfoMapper, SysRo
vo.setResList(resList); vo.setResList(resList);
} }
List<TreeNode<String>> collect = sysMenuMapper List<TreeNode<String>> collect = sysMenuMapper
.selectList(Wrappers.<SysMenu>lambdaQuery() .selectList(Wrappers.<SysMenu>lambdaQuery().eq(SysMenu::getDeleteStatus,CommonConstants.ONE_STRING)
.eq(SysMenu::getPermissionStatus,CommonConstants.ZERO_STRING)
.orderByAsc(SysMenu::getCreateTime)).stream() .orderByAsc(SysMenu::getCreateTime)).stream()
.map(getNodeFunction()).collect(Collectors.toList()); .map(getNodeFunction()).collect(Collectors.toList());
List<Tree<String>> tree = TreeUtil.build(collect, CommonConstants.ZERO_STRING); List<Tree<String>> tree = TreeUtil.build(collect, CommonConstants.ZERO_STRING);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment