From 6fedfe89f8a83b1e39d722dd1aaa8aff9d84558f Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Thu, 06 Feb 2025 11:12:00 +0800 Subject: [PATCH] refactor(pay): 暂停使用 FIUU 支付的返回 URL 和 Java 回调接口 --- src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallGoodsServiceImpl.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallGoodsServiceImpl.java b/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallGoodsServiceImpl.java index 3e2401b..42bc29c 100644 --- a/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallGoodsServiceImpl.java +++ b/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallGoodsServiceImpl.java @@ -70,8 +70,9 @@ LambdaQueryWrapper<MallGoods> goodsQuery = new LambdaQueryWrapper<>(); goodsQuery.eq(MallGoods::getIsSale, 1) .eq(MallGoods::getIsNormal, 1) + .select(MallGoods::getId) .orderByDesc(MallGoods::getVolume) - .last("limit 10"); + .last("limit 5"); // 执行查询,获取商品列表 List<MallGoods> mallGoods = this.baseMapper.selectList(goodsQuery); // 初始化商品ID与排名的映射关系 -- Gitblit v1.9.1