From 1cbc7d5d29fe7256722ef8fe63f490107fc2a370 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Tue, 10 Mar 2026 16:35:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=80=BB=E6=A6=9C=E6=8E=92=E8=A1=8C=E6=A6=9Cto?= =?UTF-8?q?p3=E6=8E=A5=E5=8F=A3=E6=94=B9=E9=80=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../other/app/service/activity/RankingActivityServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/activity/RankingActivityServiceImpl.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/activity/RankingActivityServiceImpl.java index 01d6bfa8..8f8dded7 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/activity/RankingActivityServiceImpl.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/activity/RankingActivityServiceImpl.java @@ -236,7 +236,7 @@ public class RankingActivityServiceImpl implements RankingActivityService { List records = rankingActivityGateway.getOverallRankingList( cmd.getReqSysOrigin().getOrigin(), RankingActivityType.getByCode(cmd.getActivityType()), - 3 // 只获取前三名 + cmd.getTopN() == null || cmd.getTopN() <= 0 ? 3 : cmd.getTopN() // 只获取前三名 ); if (CollectionUtils.isEmpty(records)) {