Commit af56eedd authored by macro's avatar macro
Browse files

Update OmsPromotionServiceImpl.java

parent e71d807a
......@@ -64,7 +64,7 @@ public class OmsPromotionServiceImpl implements OmsPromotionService {
BeanUtils.copyProperties(item,cartPromotionItem);
String message = getLadderPromotionMessage(ladder);
cartPromotionItem.setPromotionMessage(message);
//商品原价-折扣金额*商品原价
//商品原价-折扣*商品原价
PmsSkuStock skuStock = getOriginalPrice(promotionProduct,item.getProductSkuId());
BigDecimal originalPrice = skuStock.getPrice();
BigDecimal reduceAmount = originalPrice.subtract(ladder.getDiscount().multiply(originalPrice));
......
Supports Markdown
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