From dd2a9d9266d971b58b668bef4c86dc94473a8cff Mon Sep 17 00:00:00 2001 From: luodangjia <luodangjia> Date: 星期五, 17 一月 2025 10:58:29 +0800 Subject: [PATCH] 12.18 --- ruoyi-service/ruoyi-other/src/main/resources/mapper/other/SeckillActivityInfoMapper.xml | 1 + ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/SeckillActivityInfoController.java | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/SeckillActivityInfoController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/SeckillActivityInfoController.java index 57d300d..6dff594 100644 --- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/SeckillActivityInfoController.java +++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/SeckillActivityInfoController.java @@ -169,7 +169,7 @@ }else { record.setStatus(1); // 未开始 } - Integer saleNum = orderClient.getGoodsSaleNum(record.getGoodsId(), null).getData(); + Integer saleNum = orderClient.getGoodsSaleNum(record.getGoodsId(), 2).getData(); record.setSaleNum(saleNum); } return R.ok(IPage); diff --git a/ruoyi-service/ruoyi-other/src/main/resources/mapper/other/SeckillActivityInfoMapper.xml b/ruoyi-service/ruoyi-other/src/main/resources/mapper/other/SeckillActivityInfoMapper.xml index f9fe703..ad91cdd 100644 --- a/ruoyi-service/ruoyi-other/src/main/resources/mapper/other/SeckillActivityInfoMapper.xml +++ b/ruoyi-service/ruoyi-other/src/main/resources/mapper/other/SeckillActivityInfoMapper.xml @@ -59,6 +59,7 @@ <select id="querySeckillActivity" resultType="com.ruoyi.other.vo.SeckillActivityVO"> SELECT tsai.id, + tg.id goodsId, tg.`name` goodsName, tg.introduction, tgc.`name` goodsCategoryName, -- Gitblit v1.7.1