Commit 745eb004 by ping.wu

统计分类编号

parent 98856937
......@@ -2688,8 +2688,9 @@ public class OrderSdkAdapter {
if (StringUtils.isNotBlank(product.getThirdCategoryId())){
extInfo.setThirdCategoryId(product.getThirdCategoryId());
}
if (StringUtils.isNotBlank(product.getCategory())){
extInfo.setThirdCensusCategoryId(product.getCategory());
if (StringUtils.isNotBlank(product.getClassificationId())){
extInfo.setThirdCensusCategoryId(product.getClassificationId());
extInfo.setThirdCensusCategoryId(product.getSetClassificationName());
}
extInfo.setStapleFood(product.getStapleFood());
//if (product.getStapleFood()!=null && product.getStapleFood()>0) {
......
......@@ -163,5 +163,7 @@ public class CreateOrderProductRequest extends BaseConfig {
private Integer stapleFood;
/** 商品统计分类编号**/
private String category;
private String classificationId;
private String setClassificationName;
}
......@@ -61,4 +61,9 @@ public class OrderProductAddInfoDto extends BaseConfig {
* 商品统计分类编号
*/
private String thirdCensusCategoryId;
/**
* 商品统计分类名称
*/
private String thirdCensusCategoryName;
}
......@@ -1941,7 +1941,8 @@ public class OrderAdapter {
createOrderProductDemoDto.setWeight(cartGoodsDetailDto.getWeight());
createOrderProductDemoDto.setUnit(cartGoodsDetailDto.getUnit());
createOrderProductDemoDto.setStapleFood(0);
createOrderProductDemoDto.setCategory(cartGoodsDetailDto.getClassificationId());
createOrderProductDemoDto.setClassificationId(cartGoodsDetailDto.getClassificationId());
createOrderProductDemoDto.setSetClassificationName(cartGoodsDetailDto.getSetClassificationName());
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