Commit c7db3f42 by huiyang.chen

Merge remote-tracking branch 'origin/master'

parents 7a2c5314 8ec3c3d6
......@@ -160,11 +160,7 @@ public class SetMealServiceImpl implements IPromotionService {
return number - cartGoods.getQty() < 0 ? "该商品限" + number + "份优惠 超出按照原价计算哦" : "";
} else {
cartGoods.setAmount((cartGoods.getFinalPrice() + productGroupAmount) * cartGoods.getQty());
if (goodsMap.get(cartGoods.getGoodsId()).getActualGoodsNumber() > 0) {
return "该商品限" + goodsMap.get(cartGoods.getGoodsId()).getActualGoodsNumber() + "份优惠 超出按照原价计算哦";
} else {
return "";
}
return "";
}
}
}
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