Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
36ffe7eb
Commit
36ffe7eb
authored
Mar 04, 2023
by
macro
Browse files
Update PmsPortalProductServiceImpl.java
parent
057f2b9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-portal/src/main/java/com/macro/mall/portal/service/impl/PmsPortalProductServiceImpl.java
View file @
36ffe7eb
...
...
@@ -76,7 +76,8 @@ public class PmsPortalProductServiceImpl implements PmsPortalProductService {
List
<
PmsProductCategory
>
allList
=
productCategoryMapper
.
selectByExample
(
example
);
List
<
PmsProductCategoryNode
>
result
=
allList
.
stream
()
.
filter
(
item
->
item
.
getParentId
().
equals
(
0L
))
.
map
(
item
->
covert
(
item
,
allList
)).
collect
(
Collectors
.
toList
());
.
map
(
item
->
covert
(
item
,
allList
))
.
collect
(
Collectors
.
toList
());
return
result
;
}
...
...
Write
Preview
Supports
Markdown
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