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); 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,