Commit 36ffe7eb authored by macro's avatar macro
Browse files

Update PmsPortalProductServiceImpl.java

parent 057f2b9c
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment