Commit d91f50d4 by ping.wu

取消套餐商品券,直接移除

parent 83dd32c7
......@@ -700,7 +700,8 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
} else {
productInfo = couponService.getSpqProductInfo(checkSpqInfoRequestDto);
}
if (productInfo == null) {
//取消套餐商品券,直接移除
if (productInfo == null || (cartGoods.getCouponCode() != null && CollectionUtils.isNotEmpty(cartGoods.getProductComboList()))) {
cartGoodsList.remove(i);
} else {
convert2CartGoods(cartGoods, productInfo);
......
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