Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg

This commit is contained in:
paulGao 2022-04-22 09:12:11 +08:00
commit 5b5863c899

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;