diff --git a/yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/service/reward/RewardActivityServiceImpl.java b/yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/service/reward/RewardActivityServiceImpl.java index 22da48609..c14cffb8e 100755 --- a/yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/service/reward/RewardActivityServiceImpl.java +++ b/yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/service/reward/RewardActivityServiceImpl.java @@ -234,7 +234,7 @@ public class RewardActivityServiceImpl implements RewardActivityService { activityDTO.getRules().forEach(rule -> { String description = ""; if (PromotionConditionTypeEnum.PRICE.getType().equals(activityDTO.getConditionType())) { - description += StrUtil.format("满 {} 元", rule.getLimit()); + description += StrUtil.format("满 {} 元", MoneyUtils.fenToYuanStr(rule.getLimit())); } else { description += StrUtil.format("满 {} 件", rule.getLimit()); } diff --git a/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/order/AppTradeOrderController.http b/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/order/AppTradeOrderController.http index 4a9441694..59490a773 100644 --- a/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/order/AppTradeOrderController.http +++ b/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/order/AppTradeOrderController.http @@ -62,3 +62,8 @@ tenant-id: {{appTenentId}} GET {{appApi}}/trade/order/get-express-track-list?id=70 Authorization: Bearer {{appToken}} tenant-id: {{appTenentId}} + +### /trade-order/settlement-product 获得商品结算信息 +GET {{appApi}}/trade/order/settlement-product?spuIds=633 +Authorization: Bearer {{appToken}} +tenant-id: {{appTenentId}} \ No newline at end of file diff --git a/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/service/price/TradePriceServiceImpl.java b/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/service/price/TradePriceServiceImpl.java index d0e4c0d85..db61b0dd3 100644 --- a/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/service/price/TradePriceServiceImpl.java +++ b/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/service/price/TradePriceServiceImpl.java @@ -125,7 +125,7 @@ public class TradePriceServiceImpl implements TradePriceService { TradePriceCalculateRespBO.OrderItem orderItem = new TradePriceCalculateRespBO.OrderItem() .setPayPrice(sku.getPrice()).setCount(1); // 计算限时折扣的优惠价格 - DiscountProductRespDTO discountProduct = skuIdAndDiscountMap.get(orderItem.getSkuId()); + DiscountProductRespDTO discountProduct = skuIdAndDiscountMap.get(sku.getId()); Integer discountPrice = discountActivityPriceCalculator.calculateActivityPrice(discountProduct, orderItem); // 计算 VIP 优惠金额 Integer vipPrice = discountActivityPriceCalculator.calculateVipPrice(level, orderItem);