尝试解决 jenkins 在 jdk8 下编译时,报错

[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).
This commit is contained in:
YunaiV 2019-03-07 21:28:06 +08:00
parent 573671be83
commit 4d1acf369e

View File

@ -19,10 +19,13 @@ public interface ProductCategoryConvert {
@Mappings({})
UsersProductCategoryVO convertToVO(ProductCategoryBO category);
@Mappings({})
List<UsersProductCategoryVO> convertToVO(List<ProductCategoryBO> categoryList);
@Mappings({})
AdminsProductCategoryTreeNodeVO convert(ProductCategoryBO category);
@Mappings({})
CommonResult<AdminsProductCategoryVO> convert(CommonResult<ProductCategoryBO> result);
}