尝试解决 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).pull/1/head
parent
573671be83
commit
4d1acf369e
|
@ -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);
|
||||
|
||||
}
|
Loading…
Reference in New Issue