Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
75ad57e7
Commit
75ad57e7
authored
Jan 06, 2023
by
maoying
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_dl_plan6_temp' of…
Merge branch 'develop_dl_plan6_temp' of
http://39.98.45.134:8090/moa/amos-boot-biz
into develop_dl_plan6_temp
parents
d27673b4
a441e949
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
EquipmentServiceImpl.java
...oot/module/jcs/biz/service/impl/EquipmentServiceImpl.java
+5
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/EquipmentServiceImpl.java
View file @
75ad57e7
...
...
@@ -75,6 +75,7 @@ public class EquipmentServiceImpl {
List
<
Map
<
String
,
Object
>>
buildingMapList
=
(
List
<
Map
<
String
,
Object
>>)
response
.
getResult
();
List
<
MenuFrom
>
buildingTreeList
=
Lists
.
newArrayList
();
buildingMapList
.
forEach
(
building
->
{
MenuFrom
menuFrom
=
new
MenuFrom
((
String
)
building
.
get
(
"id"
),
"全部建筑"
,
(
String
)
building
.
get
(
"parentId"
),
"0"
);
List
<
Map
<
String
,
Object
>>
children
=
(
List
<
Map
<
String
,
Object
>>)
building
.
get
(
"children"
);
...
...
@@ -93,6 +94,10 @@ public class EquipmentServiceImpl {
(
String
)
child
.
get
(
"parentId"
),
"0"
);
if
(!
ValidationUtil
.
isEmpty
(
child
.
get
(
"children"
)))
{
parseTree
(
menuFrom
,
(
List
<
Map
<
String
,
Object
>>)
child
.
get
(
"children"
));
if
(
parent
!=
null
){
parent
.
setIsLeaf
(
false
);
}
}
else
{
parent
.
setIsLeaf
(
false
);
}
...
...
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