Commit f3e56e2c by 徐康

删除月享卡商品

parent aa8b3b32
...@@ -1102,7 +1102,7 @@ public class ShoppingCartMCoffeeServiceImpl { ...@@ -1102,7 +1102,7 @@ public class ShoppingCartMCoffeeServiceImpl {
} }
cartGoodsList = cartGoodsList.stream().filter(cartGoods -> cartGoodsList = cartGoodsList.stream().filter(cartGoods ->
(StringUtils.isEmpty(cartGoods.getCouponCode()) && !StringUtils.equals("9999",cartGoods.getSkuId())) (StringUtils.isEmpty(cartGoods.getCouponCode()) && !StringUtils.equals("9999",cartGoods.getSkuId()))
|| (cartGoods.getIsMonthCard() == 1 && cartGoods.getMonthCardInfo() != null) && (cartGoods.getIsMonthCard() == 1 && cartGoods.getMonthCardInfo() != null)
).collect(Collectors.toList()); ).collect(Collectors.toList());
// 重新存储门店购物车 // 重新存储门店购物车
assortmentSdkService.setShoppingCart(partnerId, storeId, userId, cartGoodsList, sessionId, "", shoppingCartBaseService); assortmentSdkService.setShoppingCart(partnerId, storeId, userId, cartGoodsList, sessionId, "", shoppingCartBaseService);
......
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