Commit 334ef13f by yu.sun

sunyu::update::update about combox-product price calculate

parent 86995ec0
......@@ -86,7 +86,7 @@ public class SetMealCalculation {
cartGoods.setOriginalAmount(productGroupTotalAmount + productComboTotalAmount + materialPrice);
cartGoods.setOriginalPrice(productComboTotalAmount);
Long amount = null != cartGoods.getAmount() ? cartGoods.getAmount() + productGroupAmount + materialPrice :
Long amount = null != cartGoods.getAmount() ? cartGoods.getAmount() + productGroupTotalAmount + materialPrice :
productGroupTotalAmount + productComboTotalAmount + materialPrice;
cartGoods.setAmount(amount);
cartGoods.setFinalPrice(productComboTotalAmount);
......
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