Commit 006c010a by yu.sun

sunyu::update::fix bug about monthCard

parent eca2b43e
......@@ -357,7 +357,7 @@ public class ShoppingCartMCoffeeServiceImpl {
}
for (CartGoods goods : cartGoodsList) {
if (Objects.equals(1,goods.getIsMonthCard()) && updateShoppingCartGoodsQtyRequestVo.getOldQty()>=10){
if (Objects.equals(1,goods.getIsMonthCard()) && updateShoppingCartGoodsQtyRequestVo.getQty()>10){
throw new ServiceException(ResponseResult.SHOPPING_CART_QTY_LIMIT_ERR);
}
}
......
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