Commit 900f0798 by xiaoer.li@freemud.com

Merge remote-tracking branch 'remotes/origin/feature/套餐固定商品主食标识_1.9.19' into develop

parents 04e60863 04c7e86b
......@@ -40,7 +40,7 @@ public class ProductComboListDto {
private Integer stockLimit;
private String unit;
/* 是否主食*/
private Integer stapleFood;
private Integer isStaple;
protected List<ProductAttributeGroup> productAttributeGroupList;
}
......@@ -135,8 +135,8 @@ public class ItemServiceImpl implements ItemService{
GetProductsVo comboProductsVo = new GetProductsVo();
comboProductsVo.setCustomerCode(productComboListDto.getCustomerCode());
comboProductsVo.setProductCode(productComboListDto.getProductCode());
if (productComboListDto.getStapleFood()!=null && stapleFood.contains(productComboListDto.getStapleFood())) {
comboProductsVo.setStapleFood(productComboListDto.getStapleFood());
if (productComboListDto.getIsStaple()!=null && stapleFood.contains(productComboListDto.getIsStaple())) {
comboProductsVo.setStapleFood(productComboListDto.getIsStaple());
} else {
comboProductsVo.setStapleFood(0);
}
......
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