Przeglądaj źródła

Update PmsPortalProductServiceImpl.java

macro 2 lat temu
rodzic
commit
36ffe7eb11

+ 2 - 1
mall-portal/src/main/java/com/macro/mall/portal/service/impl/PmsPortalProductServiceImpl.java

@@ -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;
     }