Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Z
zlmy-cloud
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zlmy
zlmy-cloud
Commits
3657bf7c
Commit
3657bf7c
authored
Aug 11, 2025
by
鲁鸿波
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev_2.6.0' into dev_2.6.0
parents
23a87c6c
fb0bd97b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
NewSysUserController.java
...om/testor/module/sys/controller/NewSysUserController.java
+6
-0
No files found.
zlmy-modules/zlmy-boot/src/main/java/com/testor/module/sys/controller/NewSysUserController.java
View file @
3657bf7c
...
...
@@ -585,6 +585,12 @@ public class NewSysUserController extends SuperController {
.
sorted
(
Comparator
.
comparing
(
SysOrg:
:
getIsDept
).
reversed
())
// 按照IS_DEPT降序排序
.
collect
(
Collectors
.
toList
());
if
(!
"1"
.
equals
(
isSubordinates
))
{
childOrgs
=
childOrgs
.
stream
()
.
filter
(
org
->
"1"
.
equals
(
org
.
getIsDept
()))
.
collect
(
Collectors
.
toList
());
}
// 递归处理每个子节点
for
(
SysOrg
childOrg
:
childOrgs
)
{
NewTreeVo
childNewTreeVo
=
BeanHelper
.
beanToBean
(
childOrg
,
NewTreeVo
.
class
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment