Commit 5a198cb4 by xiaoer.li@freemud.com

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

parents d306ead7 ff17b50f
...@@ -103,7 +103,7 @@ public class CalculationCommonService { ...@@ -103,7 +103,7 @@ public class CalculationCommonService {
long amount = 0L; long amount = 0L;
for (CartGoods.ComboxGoods choice : cartGoods.getProductGroupList()) { for (CartGoods.ComboxGoods choice : cartGoods.getProductGroupList()) {
CalculationSharingDiscountResponseDto.CalculationDiscountResult.Goods.SmallMaterial mt = choices.get(choice.getGoodsId()); CalculationSharingDiscountResponseDto.CalculationDiscountResult.Goods.SmallMaterial mt = choices.get(choice.getGoodsId());
if (mt != null) { if (mt == null) {
amount = choice.getAmount() * cartGoods.getQty(); amount = choice.getAmount() * cartGoods.getQty();
} else { } else {
amount = mt.getRealAmount(); amount = mt.getRealAmount();
......
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