Commit cee05f47 by xiaoer.li@freemud.com

促销计算增加spuId

parent 9151db06
......@@ -112,6 +112,7 @@ public class ActivityCalculationDiscountRequestDto {
* 加料
*/
private List<Material> smallMaterial;
private String spuId;
@Override
public boolean equals(Object o) {
......
......@@ -849,6 +849,7 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
calculationDiscountGoods.setGoodsQuantity(cartGoods.getQty());
calculationDiscountGoods.setOriginalPrice(cartGoods.getFinalPrice());
calculationDiscountGoods.setMemberDiscount(cartGoods.getMemberDiscount());
calculationDiscountGoods.setSpuId(cartGoods.getSpuId());
//加料
if (CollectionUtils.isNotEmpty(cartGoods.getProductMaterialList())) {
......
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