|
@@ -39,6 +39,12 @@ public class SiteCategoryServiceImpl extends AbstractCrudService<SiteCategoryMap
|
|
|
return list1;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+// public void addSiteCategory(SiteCategory siteCategory){
|
|
|
+// LambdaQueryWrapper<SiteCategory> queryWrapper = Wrappers.lambdaQuery();
|
|
|
+// queryWrapper.eq(SiteCategory::getStatus, 1).eq();
|
|
|
+// }
|
|
|
+
|
|
|
private List<SiteCategory> getChildrenData(SiteCategory root, List<SiteCategory> all) {
|
|
|
List<SiteCategory> children = all.stream().filter(subjectVO ->
|
|
|
subjectVO.getPid() == root.getId() && !root.getCategoryName().equals("产品服务")
|