From 86d405a84645893cffd72934dc8e35a8b59e2fcf Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Tue, 07 Nov 2023 11:10:04 +0800 Subject: [PATCH] 消息红包记录只储存36个小时 --- src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallNewsServiceImpl.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallNewsServiceImpl.java b/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallNewsServiceImpl.java index f7642ee..3a5ce7b 100644 --- a/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallNewsServiceImpl.java +++ b/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallNewsServiceImpl.java @@ -59,6 +59,7 @@ @Override public FebsResponse findAllBanner() { QueryWrapper<PlatformBanner> queryWrapper = new QueryWrapper<>(); + queryWrapper.orderByAsc("is_top"); List<PlatformBanner> paymentMethodList = platformBannerMapper.selectList(queryWrapper); return new FebsResponse().success().data(paymentMethodList); } -- Gitblit v1.9.1