购物车未勾选的商品价格被累计金额问题处理
This commit is contained in:
parent
790dc53ad3
commit
6c871d470e
@ -63,7 +63,9 @@ public class CartPriceRender implements CartRenderStep {
|
|||||||
|
|
||||||
cartVOS.forEach(cartVO -> {
|
cartVOS.forEach(cartVO -> {
|
||||||
cartVO.getPriceDetailDTO().accumulationPriceDTO(
|
cartVO.getPriceDetailDTO().accumulationPriceDTO(
|
||||||
cartVO.getSkuList().stream().map(CartSkuVO::getPriceDetailDTO).collect(Collectors.toList()));
|
cartVO.getSkuList().stream().filter(CartSkuVO::getChecked)
|
||||||
|
.map(CartSkuVO::getPriceDetailDTO).collect(Collectors.toList())
|
||||||
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user