Commit ff752da4 by 周晓航

Merge branch 'ka-购物车加车数量限制' into develop

parents 1cb4eeb6 cc24dd2d
......@@ -475,7 +475,7 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
// throw new ServiceException(ResponseResult.SHOPPING_CART_SHOP_ID_NOT_EMPTY);
}
// fisherman 购物车加车数量限制
if (updateShoppingCartGoodsQtyRequestVo.getQty().compareTo(500) > 0 || updateShoppingCartGoodsQtyRequestVo.getQty().compareTo(0) <= 0 ) {
if (updateShoppingCartGoodsQtyRequestVo.getQty().compareTo(500) > 0 || updateShoppingCartGoodsQtyRequestVo.getQty().compareTo(0) < 0 ) {
return ResponseUtil.error(ResponseResult.SHOPPING_CART_LIMIT_ADD);
}
ShoppingCartGoodsResponseVo shoppingCartGoodsResponseVo = new ShoppingCartGoodsResponseVo();
......
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