Commit f031f802 by xiaoer.li@freemud.com

对接促销算价Alpha->fix

parent c9d59aa9
...@@ -198,7 +198,7 @@ public class CalculationSharingCartService { ...@@ -198,7 +198,7 @@ public class CalculationSharingCartService {
long row = 0L; long row = 0L;
if (CollectionUtils.isEmpty(cartGoods.getProductGroupList())) continue; if (CollectionUtils.isEmpty(cartGoods.getProductGroupList())) continue;
for (CartGoods.ComboxGoods com : cartGoods.getProductGroupList()) { for (CartGoods.ComboxGoods com : cartGoods.getProductGroupList()) {
row += com.getAmount(); row += com.getAmount() * com.getQty();
} }
cartGoods.setAmount(cartGoods.getAmount()+row); cartGoods.setAmount(cartGoods.getAmount()+row);
} }
......
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