Commit e7f779225e446ecda2c2d230d20980e0c53cb985
Committed by
Gitee
!1107 【修复】修复当不存在优惠价格时,商城却显示优惠价格
Merge pull request !1107 from 杨宇庆/N/A
Showing
1 changed file
with
1 additions
and
1 deletions
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/service/price/TradePriceServiceImpl.java
| ... | ... | @@ -122,7 +122,7 @@ public class TradePriceServiceImpl implements TradePriceService { |
| 122 | 122 | List<ProductSkuRespDTO> skuList = spuIdAndSkuListMap.get(spuId); |
| 123 | 123 | List<AppTradeProductSettlementRespVO.Sku> skuVOList = convertList(skuList, sku -> { |
| 124 | 124 | AppTradeProductSettlementRespVO.Sku skuVO = new AppTradeProductSettlementRespVO.Sku() |
| 125 | - .setId(sku.getId()).setPromotionPrice(sku.getPrice()); | |
| 125 | + .setId(sku.getId()); | |
| 126 | 126 | TradePriceCalculateRespBO.OrderItem orderItem = new TradePriceCalculateRespBO.OrderItem() |
| 127 | 127 | .setPayPrice(sku.getPrice()).setCount(1); |
| 128 | 128 | // 计算限时折扣的优惠价格 | ... | ... |