Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
f628bac565
1
build_order.sh
Normal file
1
build_order.sh
Normal file
@ -0,0 +1 @@
|
||||
mvn clean package -pl order/order-application -am -DskipTests
|
1
build_product.sh
Normal file
1
build_product.sh
Normal file
@ -0,0 +1 @@
|
||||
mvn clean package -pl product/product-application -am -DskipTests
|
@ -77,7 +77,7 @@ public class AdminsProductCategoryController {
|
||||
// 创建商品分类
|
||||
CommonResult<ProductCategoryBO> result = productCategoryService.addProductCategory(AdminSecurityContextHolder.getContext().getAdminId(), productCategoryAddDTO);
|
||||
// 返回结果
|
||||
return ProductCategoryConvert.INSTANCE.convert(result);
|
||||
return ProductCategoryConvert.INSTANCE.convert2(result);
|
||||
}
|
||||
|
||||
@PostMapping("/update")
|
||||
|
@ -19,10 +19,13 @@ public interface ProductCategoryConvert {
|
||||
@Mappings({})
|
||||
UsersProductCategoryVO convertToVO(ProductCategoryBO category);
|
||||
|
||||
@Mappings({})
|
||||
List<UsersProductCategoryVO> convertToVO(List<ProductCategoryBO> categoryList);
|
||||
|
||||
@Mappings({})
|
||||
AdminsProductCategoryTreeNodeVO convert(ProductCategoryBO category);
|
||||
|
||||
CommonResult<AdminsProductCategoryVO> convert(CommonResult<ProductCategoryBO> result);
|
||||
@Mappings({})
|
||||
CommonResult<AdminsProductCategoryVO> convert2(CommonResult<ProductCategoryBO> result);
|
||||
|
||||
}
|
@ -30,9 +30,9 @@ public interface ProductAttrConvert {
|
||||
@Mappings({})
|
||||
List<ProductAttrSimpleBO> convert3(List<ProductAttrDO> attrs);
|
||||
|
||||
// @Mappings({})
|
||||
// ProductAttrValueSimpleBO convert3(ProductAttrValueDO value);
|
||||
//
|
||||
@Mappings({})
|
||||
ProductAttrValueSimpleBO convert3(ProductAttrValueDO value); // 保证 convert4 能够映射到这个方法
|
||||
|
||||
@Mappings({})
|
||||
List<ProductAttrValueSimpleBO> convert4(List<ProductAttrValueDO> values);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user