Commit 25f1908e by 孙昱

sunyu::update::fix bug about updateGoodsQty

parent 2948db32
...@@ -570,7 +570,7 @@ public class ShoppingCartMCoffeeServiceImpl { ...@@ -570,7 +570,7 @@ public class ShoppingCartMCoffeeServiceImpl {
} }
//商品券行商品数量不可增加 //商品券行商品数量不可增加
if (StringUtils.isNotEmpty(cartGoods.getCouponCode()) && qty > 1 && (cartGoods.getIsMonthCardGoods() < 1 || cartGoods.getIsMonthCard() < 1)) { if (StringUtils.isNotEmpty(cartGoods.getCouponCode()) && qty > 1 && cartGoods.getIsMonthCardGoods() < 1 && cartGoods.getIsMonthCard() < 1) {
throw new ServiceException(ResponseResult.NOT_SUPPORTED); throw new ServiceException(ResponseResult.NOT_SUPPORTED);
} }
......
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