Commit d35e7312 by xiaoer.li@freemud.com

fix

parent 8b79abd5
...@@ -1640,7 +1640,7 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService { ...@@ -1640,7 +1640,7 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
public void checkMaterial(List<CartGoods> allCartGoodsList) { public void checkMaterial(List<CartGoods> allCartGoodsList) {
if (CollectionUtils.isEmpty(allCartGoodsList)) return; if (CollectionUtils.isEmpty(allCartGoodsList)) return;
if(allCartGoodsList.stream().filter(e->e.getGoodsType().equals(GoodsTypeEnum.EXCEPTION_GOODS.getGoodsType())).count()>0) { if(allCartGoodsList.stream().filter(e->e.getGoodsType().equals(GoodsTypeEnum.EXCEPTION_GOODS.getGoodsType())).count()>0) {
throw new ServiceException(ResponseResult.SHOPPING_CART_MATERIAL_ERROR); // throw new ServiceException(ResponseResult.SHOPPING_CART_MATERIAL_ERROR);
} }
} }
} }
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