Commit 0ffabaf4 by 徐康

餐具商品

parent 870f063f
......@@ -132,7 +132,7 @@ public class ShoppingCartConvertAdapter {
log.info(mcCafeTablewareSkuId);
log.info("=============================");
if(mcCafeTablewareSkuId.equals(cartGoods.getSkuId())) {
cartGoodsDetailDto.setIsTableWare(1);
cartGoodsDetailDto.setIsTableware(1);
}
if (GoodsTypeEnum.SET_MEAL_GOODS.getGoodsType().equals(cartGoods.getGoodsType())) {
cartGoodsDetailDto.setProductType(ProductType.SETMEAL.getCode());
......
......@@ -257,7 +257,7 @@ public class ShoppingCartGoodsDto {
/**
* 是否餐具商品
*/
private Integer isTableWare = 0;
private Integer isTableware = 0;
/**
* 商品货号
*/
......
......@@ -198,7 +198,7 @@ public class CartGoods {
/**
* 是否餐具商品
*/
private Boolean isTableWare = false;
private Boolean isTableware = false;
/**
* 第三方商品编码
*/
......
......@@ -1614,7 +1614,7 @@ public class ShoppingCartMCoffeeServiceImpl {
for(int i=0;i<size;i++) {
if(allCartGoodsList.get(i).getSkuId().equals(mcCafeTablewareSkuId)) {
CartGoods cartGoods = allCartGoodsList.get(i);
cartGoods.setIsTableWare(true);
cartGoods.setIsTableware(true);
if(i != size-1) {
allCartGoodsList.remove(i);
allCartGoodsList.add(cartGoods);
......
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