分类递归错误的参数传递问题解决

This commit is contained in:
Chopper 2022-04-21 15:49:53 +08:00
parent 1917aa13d5
commit 0148868129

View File

@ -335,7 +335,7 @@ public class CategoryServiceImpl extends ServiceImpl<CategoryMapper, Category> i
return item.getChildren();
}
if (item.getChildren() != null && !item.getChildren().isEmpty()) {
return getChildren(parentId, categoryVOList);
return getChildren(parentId, item.getChildren());
}
}
return categoryVOList;