From 4d1acf369ec9f478d313dd6a11cc8897adbfc5e0 Mon Sep 17 00:00:00 2001 From: YunaiV <> Date: Thu, 7 Mar 2019 21:28:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=9D=E8=AF=95=E8=A7=A3=E5=86=B3=20jenkins?= =?UTF-8?q?=20=E5=9C=A8=20jdk8=20=E4=B8=8B=E7=BC=96=E8=AF=91=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [ERROR] /home/runner/.jenkins/workspace/order-server/product/product-service-impl/src/main/java/cn/iocoder/mall/product/convert/ProductAttrConvert.java:[37,36] Ambiguous mapping methods found for mapping collection element to java.lang.Object: cn.iocoder.mall.product.api.bo.ProductAttrValueDetailBO convert(cn.iocoder.mall.product.dataobject.ProductAttrValueDO value), cn.iocoder.mall.product.api.bo.ProductAttrValueBO convert2(cn.iocoder.mall.product.dataobject.ProductAttrValueDO productAttrValueDO). --- .../product/application/convert/ProductCategoryConvert.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/product/product-application/src/main/java/cn/iocoder/mall/product/application/convert/ProductCategoryConvert.java b/product/product-application/src/main/java/cn/iocoder/mall/product/application/convert/ProductCategoryConvert.java index 31be87556..91329900e 100644 --- a/product/product-application/src/main/java/cn/iocoder/mall/product/application/convert/ProductCategoryConvert.java +++ b/product/product-application/src/main/java/cn/iocoder/mall/product/application/convert/ProductCategoryConvert.java @@ -19,10 +19,13 @@ public interface ProductCategoryConvert { @Mappings({}) UsersProductCategoryVO convertToVO(ProductCategoryBO category); + @Mappings({}) List convertToVO(List categoryList); + @Mappings({}) AdminsProductCategoryTreeNodeVO convert(ProductCategoryBO category); + @Mappings({}) CommonResult convert(CommonResult result); } \ No newline at end of file