Commit 745eb004 by ping.wu

统计分类编号

parent 98856937
...@@ -2688,8 +2688,9 @@ public class OrderSdkAdapter { ...@@ -2688,8 +2688,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.setThirdCensusCategoryId(product.getSetClassificationName());
} }
extInfo.setStapleFood(product.getStapleFood()); extInfo.setStapleFood(product.getStapleFood());
//if (product.getStapleFood()!=null && product.getStapleFood()>0) { //if (product.getStapleFood()!=null && product.getStapleFood()>0) {
......
...@@ -163,5 +163,7 @@ public class CreateOrderProductRequest extends BaseConfig { ...@@ -163,5 +163,7 @@ public class CreateOrderProductRequest extends BaseConfig {
private Integer stapleFood; private Integer stapleFood;
/** 商品统计分类编号**/ /** 商品统计分类编号**/
private String category; private String classificationId;
private String setClassificationName;
} }
...@@ -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;
} }
...@@ -1941,7 +1941,8 @@ public class OrderAdapter { ...@@ -1941,7 +1941,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.setSetClassificationName(cartGoodsDetailDto.getSetClassificationName());
return createOrderProductDemoDto; return createOrderProductDemoDto;
} }
......
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