Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fe79b635
authored
Oct 31, 2023
by
huangjinxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:用户权限返回取消排序
1 parent
adb25d34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
project-user/src/main/java/com/dituhui/pea/user/service/UserService.java
project-user/src/main/java/com/dituhui/pea/user/service/UserService.java
View file @
fe79b63
...
@@ -177,8 +177,8 @@ public class UserService {
...
@@ -177,8 +177,8 @@ public class UserService {
}
}
resourceInfo
.
setChildren
(
levelTowConvert
);
resourceInfo
.
setChildren
(
levelTowConvert
);
}
}
levelOne
=
levelOne
.
stream
().
sorted
(
Comparator
.
comparing
(
ResourceInfo:
:
getOrder
))
//
levelOne = levelOne.stream().sorted(Comparator.comparing(ResourceInfo::getOrder))
.
collect
(
Collectors
.
toList
());
//
.collect(Collectors.toList());
userDTO
.
setMenus
(
levelOne
);
userDTO
.
setMenus
(
levelOne
);
//用户组织机构从关联表获取
//用户组织机构从关联表获取
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment