Commit 202eaa43 by 孙昱

sunyu::update

parent 61f1d8de
...@@ -228,7 +228,7 @@ public class ShoppingCartMCoffeeServiceImpl { ...@@ -228,7 +228,7 @@ public class ShoppingCartMCoffeeServiceImpl {
} }
List<CartGoods> newCartGoods = null; List<CartGoods> newCartGoods = null;
if ( addCartGoods.getIsMonthCard() < 1 ) { if (!StringUtils.equals("9999",skuId)) {
// 购物车数据更新(保存商品原价) // 购物车数据更新(保存商品原价)
newCartGoods = updateCartGoodsLegal(partnerId, storeId, orderType, tableNumber, menuType, userId, addCartGoods, shoppingCartGoodsResponseVo, oldCartGoodsList); newCartGoods = updateCartGoodsLegal(partnerId, storeId, orderType, tableNumber, menuType, userId, addCartGoods, shoppingCartGoodsResponseVo, oldCartGoodsList);
...@@ -236,7 +236,6 @@ public class ShoppingCartMCoffeeServiceImpl { ...@@ -236,7 +236,6 @@ public class ShoppingCartMCoffeeServiceImpl {
calculationService.updateShoppingCartGoodsDiscount(partnerId, storeId, userId, appId, orderType, assortmentCustomerInfoVo.isMemberPaid(), menuType, receiveId, null, calculationService.updateShoppingCartGoodsDiscount(partnerId, storeId, userId, appId, orderType, assortmentCustomerInfoVo.isMemberPaid(), menuType, receiveId, null,
newCartGoods, coupons, new ArrayList<>(), shoppingCartGoodsResponseVo, null); newCartGoods, coupons, new ArrayList<>(), shoppingCartGoodsResponseVo, null);
// 重新保存购物车数据 // 重新保存购物车数据
updateCartGoodsLegal(partnerId, storeId, orderType, tableNumber, menuType, userId, addCartGoods, shoppingCartGoodsResponseVo, newCartGoods);
assortmentSdkService.setShoppingCart(partnerId, storeId, userId, newCartGoods, null, tableNumber, this.shoppingCartBaseService); assortmentSdkService.setShoppingCart(partnerId, storeId, userId, newCartGoods, null, tableNumber, this.shoppingCartBaseService);
}else{ }else{
// 将月享卡2.0的虚拟商品保存到购物车中 // 将月享卡2.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