Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gogirl-miniapp-backend
Overview
Overview
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
huluobin
gogirl-miniapp-backend
Commits
c7841f88
Commit
c7841f88
authored
Aug 03, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
4377ee2f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
MallCategoryServiceImpl.java
...pplication/product/mall/impl/MallCategoryServiceImpl.java
+4
-1
No files found.
src/main/java/com/gogirl/application/product/mall/impl/MallCategoryServiceImpl.java
View file @
c7841f88
...
@@ -40,7 +40,10 @@ public class MallCategoryServiceImpl extends ServiceImpl<CategoryMapper, MallCat
...
@@ -40,7 +40,10 @@ public class MallCategoryServiceImpl extends ServiceImpl<CategoryMapper, MallCat
for
(
MallCategory
mallCategory
:
list
)
{
for
(
MallCategory
mallCategory
:
list
)
{
if
(
mallCategory
.
getId
().
equals
(
subTreeId
))
{
if
(
mallCategory
.
getId
().
equals
(
subTreeId
))
{
if
(
ListUtil
.
isNotEmpty
(
mallCategory
.
getChildList
()))
{
if
(
ListUtil
.
isNotEmpty
(
mallCategory
.
getChildList
()))
{
return
SerializationUtils
.
clone
((
new
ArrayList
<>(
mallCategory
.
getChildList
())));
List
<
MallCategory
>
clone
=
SerializationUtils
.
clone
((
new
ArrayList
<>(
mallCategory
.
getChildList
())));
if
(
ListUtil
.
isNotEmpty
(
clone
))
{
return
clone
;
}
}
}
}
else
if
(
ListUtil
.
isNotEmpty
(
mallCategory
.
getChildList
()))
{
}
else
if
(
ListUtil
.
isNotEmpty
(
mallCategory
.
getChildList
()))
{
this
.
findSubTree
(
mallCategory
.
getChildList
(),
subTreeId
);
this
.
findSubTree
(
mallCategory
.
getChildList
(),
subTreeId
);
...
...
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