分类递归错误的参数传递问题解决
This commit is contained in:
parent
1917aa13d5
commit
0148868129
@ -335,7 +335,7 @@ public class CategoryServiceImpl extends ServiceImpl<CategoryMapper, Category> i
|
|||||||
return item.getChildren();
|
return item.getChildren();
|
||||||
}
|
}
|
||||||
if (item.getChildren() != null && !item.getChildren().isEmpty()) {
|
if (item.getChildren() != null && !item.getChildren().isEmpty()) {
|
||||||
return getChildren(parentId, categoryVOList);
|
return getChildren(parentId, item.getChildren());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return categoryVOList;
|
return categoryVOList;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user