shiyunteng
2 天以前 b0ba33dce8487581d2bb3c49f886d158724dc44e
platformx-business-finance-biz/src/main/java/com/by4cloud/platformx/business/service/impl/ProductServiceImpl.java
@@ -51,6 +51,11 @@
        return TreeUtil.build(collect, parent);
    }
   @Override
   public List<Product> getProductList(Product product) {
      return baseMapper.getProductListByScope(product,DataScope.of("comp_id"));
   }
    @NotNull
    private Function<Product, TreeNode<Long>> getNodeFunction() {
        return product -> {
@@ -60,7 +65,7 @@
            node.setParentId(product.getParentId());
            //node.setWeight(product.getParentId());
            // 扩展属性
            Map<String, Object> extra = new HashMap<>();
//            Map<String, Object> extra = new HashMap<>();
//            extra.put("picPath", category.getPicPath());
//            extra.put("Type", category.getType());
//            extra.put("isShow", category.getIsShow());
@@ -68,7 +73,7 @@
//            extra.put("status", category.getStatus());
            // 适配 vue3
            Map<String, Object> meta = new HashMap<>();
//            Map<String, Object> meta = new HashMap<>();
           /* meta.put("title", product.getProductName());
            meta.put("icon", product.getPrice());*/