From c72910d2b90f74d23e770717d80921b4fd064d48 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期二, 16 九月 2025 16:24:08 +0800 Subject: [PATCH] 新增用户提现 --- ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/impl/GoodsServiceImpl.java | 20 +++++++++++--------- 1 files changed, 11 insertions(+), 9 deletions(-) diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/impl/GoodsServiceImpl.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/impl/GoodsServiceImpl.java index f81e391..605581e 100644 --- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/impl/GoodsServiceImpl.java +++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/impl/GoodsServiceImpl.java @@ -263,15 +263,17 @@ } for (GoodsVO good : goods) { //价格 - Price price = getPrice( good.getGoodsId()); - if(null != price){ - //秒杀活动 - good.setSellingPrice(price.getCash()); - good.setIntegral(price.getPoint()); - good.setPurchaseLimit(price.getPurchaseLimit()); - good.setStartTime(price.getStartTime()); - good.setEndTime(price.getEndTime()); - } +// Price price = getPrice( good.getGoodsId()); +// if(null != price){ +// //秒杀活动 +// good.setSellingPrice(price.getCash()); +// good.setIntegral(price.getPoint()); +// good.setPurchaseLimit(price.getPurchaseLimit()); +// good.setStartTime(price.getStartTime()); +// good.setEndTime(price.getEndTime()); +// } + Integer point = getPoint(good.getSellingPrice()); + good.setIntegral(point); Integer data = orderClient.getGoodsSaleNum(good.getGoodsId(), 1).getData(); good.setSaleNum(data); } -- Gitblit v1.7.1