Commit e34be64e by xiaoer.li@freemud.com

Merge remote-tracking branch 'remotes/origin/feature/1.9.32_商品加料' into qa

# Conflicts:
#	shopping-cart-application-service/src/main/java/cn/freemud/entities/dto/ActivityCalculationDiscountRequestDto.java
parents f2c44910 cee05f47
......@@ -116,6 +116,8 @@ public class ActivityCalculationDiscountRequestDto {
* 加料/套餐可选商品
*/
private List<Material> smallMaterial;
private String spuId;
@Override
public boolean equals(Object o) {
if (this == o)
......@@ -155,5 +157,4 @@ public class ActivityCalculationDiscountRequestDto {
private int type;
}
}
}
......@@ -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