Commit 1262e2ed by 孙昱

sunyu::update:ïï::撤销套餐价格计算逻辑

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