Commit 2cf3c186 by 孙昱

sunyu::update::fix bug about check cartInfo

parent af841982
...@@ -244,7 +244,7 @@ public interface ShoppingCartBaseService { ...@@ -244,7 +244,7 @@ public interface ShoppingCartBaseService {
if (StringUtils.isNotEmpty(spuName)) { if (StringUtils.isNotEmpty(spuName)) {
changePriceSpu.add(spuName); changePriceSpu.add(spuName);
} }
List<ProductBeanDTO> productList = validateResult.getFailureList().stream().filter(f->f.getCode() == PRODUCT_PRICE_CHANGE).map(ValiadShopProductResult::getProductType).collect(Collectors.toList()); List<ProductBeanDTO> productList = validateResult.getFailureList().stream().map(ValiadShopProductResult::getProductType).collect(Collectors.toList());
shoppingCartAdapter.updateCartGoodsInfoNew(cartGoods, productList); shoppingCartAdapter.updateCartGoodsInfoNew(cartGoods, productList);
break; break;
} }
......
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