Commit 95a4e0bc by yu.sun

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

parent a5392c5a
# Created by .ignore support plugin (hsz.mobi)
.gitignore
.idea/
.DS_Store
assortment-ordercenter-sdk/assortment-ordercenter-sdk.iml
assortment-ordercenter-sdk/target/
assortment-shoppingcart-sdk/assortment-shoppingcart-sdk.iml
......
......@@ -86,7 +86,8 @@ public class SetMealCalculation {
cartGoods.setOriginalAmount(productGroupTotalAmount + productComboTotalAmount + materialPrice);
cartGoods.setOriginalPrice(productComboTotalAmount);
Long amount = null != cartGoods.getAmount() ? cartGoods.getAmount() : productGroupTotalAmount + productComboTotalAmount + materialPrice;
Long amount = null != cartGoods.getAmount() ? cartGoods.getAmount() + productComboTotalAmount + 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