Commit d9f8ec99 by 孙昱

sunyu::update::fix bug about clear month-card information

parent 615728ee
......@@ -547,8 +547,7 @@ public class ShoppingCartMCoffeeServiceImpl {
}
if (cartGoodsUid.equals(cartGoods_.getCartGoodsUid())) {
if (cartGoods_.getIsMonthCard() == 1 && qty == 0){
clearMonthCouponInfo(cartGoodsList,cartGoods_.getCouponCode());
break;
cartGoodsList = clearMonthCouponInfo(cartGoodsList,cartGoods_.getCouponCode());
}
cartGoods = cartGoods_;
cartGoods_.setQty(qty);
......
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