Commit bdab709c by ping.wu

Merge branches 'feature/20200820_哗啦啦产品分类名称_wuping' and 'master' of…

Merge branches 'feature/20200820_哗啦啦产品分类名称_wuping' and 'master' of http://gitlab.freemud.com/order-group-application/order-group
parents 21bb66f3 40227d53
...@@ -2586,8 +2586,9 @@ public class OrderSdkAdapter { ...@@ -2586,8 +2586,9 @@ public class OrderSdkAdapter {
if (StringUtils.isNotBlank(product.getThirdCategoryId())){ if (StringUtils.isNotBlank(product.getThirdCategoryId())){
extInfo.setThirdCategoryId(product.getThirdCategoryId()); extInfo.setThirdCategoryId(product.getThirdCategoryId());
} }
if (StringUtils.isNotBlank(product.getCategory())){ if (StringUtils.isNotBlank(product.getClassificationId())){
extInfo.setThirdCensusCategoryId(product.getCategory()); extInfo.setThirdCensusCategoryId(product.getClassificationId());
extInfo.setThirdCensusCategoryName(product.getClassificationName());
} }
extInfo.setStapleFood(product.getStapleFood()); extInfo.setStapleFood(product.getStapleFood());
//if (product.getStapleFood()!=null && product.getStapleFood()>0) { //if (product.getStapleFood()!=null && product.getStapleFood()>0) {
......
...@@ -167,5 +167,7 @@ public class CreateOrderProductRequest extends BaseConfig { ...@@ -167,5 +167,7 @@ public class CreateOrderProductRequest extends BaseConfig {
private Integer stapleFood; private Integer stapleFood;
/** 商品统计分类编号**/ /** 商品统计分类编号**/
private String category; private String classificationId;
private String classificationName;
} }
...@@ -61,4 +61,9 @@ public class OrderProductAddInfoDto extends BaseConfig { ...@@ -61,4 +61,9 @@ public class OrderProductAddInfoDto extends BaseConfig {
* 商品统计分类编号 * 商品统计分类编号
*/ */
private String thirdCensusCategoryId; private String thirdCensusCategoryId;
/**
* 商品统计分类名称
*/
private String thirdCensusCategoryName;
} }
...@@ -2019,7 +2019,8 @@ public class OrderAdapter { ...@@ -2019,7 +2019,8 @@ public class OrderAdapter {
createOrderProductDemoDto.setWeight(cartGoodsDetailDto.getWeight()); createOrderProductDemoDto.setWeight(cartGoodsDetailDto.getWeight());
createOrderProductDemoDto.setUnit(cartGoodsDetailDto.getUnit()); createOrderProductDemoDto.setUnit(cartGoodsDetailDto.getUnit());
createOrderProductDemoDto.setStapleFood(0); createOrderProductDemoDto.setStapleFood(0);
createOrderProductDemoDto.setCategory(cartGoodsDetailDto.getClassificationId()); createOrderProductDemoDto.setClassificationId(cartGoodsDetailDto.getClassificationId());
createOrderProductDemoDto.setClassificationName(cartGoodsDetailDto.getClassificationName());
return createOrderProductDemoDto; return createOrderProductDemoDto;
} }
......
...@@ -178,7 +178,7 @@ public class ShoppingCartGoodsDto { ...@@ -178,7 +178,7 @@ public class ShoppingCartGoodsDto {
/** 商品统计分类编号**/ /** 商品统计分类编号**/
private String classificationId; private String classificationId;
private String setClassificationName; private String classificationName;
/** /**
* 是否限制库存 * 是否限制库存
* 用于创建订单时,是否扣减库存 * 用于创建订单时,是否扣减库存
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment