Commit f3390093 by chongfu.liang

加料添加数量

parent 3cf90c42
......@@ -145,6 +145,7 @@ public class AddGoodsBOAdapter {
for (MaterialRequestVo materialRequestVo : baseRequestDTO.getProductMaterialList()) {
CartGoods.MaterialGoods materialGoods = new CartGoods.MaterialGoods();
materialGoods.setSpuId(materialRequestVo.getSpuId());
materialGoods.setQty(materialRequestVo.getQty() == null ? 1 : materialRequestVo.getQty());
materialGoodsList.add(materialGoods);
}
}
......
......@@ -551,5 +551,9 @@ public class CartGoods {
* 麦咖啡入机键位
*/
private String customerCode;
/**
* 数量
*/
private Integer qty;
}
}
......@@ -29,4 +29,8 @@ public class MaterialRequestVo {
* 麦咖啡入机键位
*/
private String customerCode;
/**
* 数量
*/
private Integer qty;
}
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