Commit 75b8c7b9 by xiaoer.li@freemud.com

Merge remote-tracking branch 'remotes/origin/feature/促销算价基于最新master的分支' into qa

parents 13fd24f5 a75c6358
......@@ -113,7 +113,7 @@ public class CalculationCommonService {
original += choice.getOriginalPrice() * cartGoods.getQty();
} else {
amount += mt.getRealAmount();
original += mt.getOriginalPrice() * cartGoods.getQty();
original += choice.getFinalPrice() * cartGoods.getQty();
choice.setAmount(mt.getRealAmount().longValue());
choice.setOriginalAmount(original);
}
......
......@@ -211,7 +211,7 @@ public class CalculationSharingDiscountService {
CalculationSharingDiscountRequestDto.CalculationDiscountGoods.Material material = new CalculationSharingDiscountRequestDto.CalculationDiscountGoods.Material();
material.setType(2);
material.setGoodsId(group.getGoodsId());
material.setGoodsQuantity(cartGoods.getQty());
material.setGoodsQuantity(group.getQty());
material.setOriginalPrice(group.getFinalPrice());
groups.add(material);
}
......
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