From b3dcc669c0102271e0aa63885934fd07bd3b2ed3 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Thu, 12 Feb 2026 16:18:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E6=A6=9C=E5=8D=95=E6=8E=92?= =?UTF-8?q?=E5=90=8D=E4=B8=8D=E8=AE=A1=E7=AE=97=E7=99=BE=E5=88=86=E6=AF=94?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../other/app/listener/gift/strategy/RankCountStrategy.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/strategy/RankCountStrategy.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/strategy/RankCountStrategy.java index 0684c4e9..30b95334 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/strategy/RankCountStrategy.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/strategy/RankCountStrategy.java @@ -125,13 +125,13 @@ public class RankCountStrategy implements GiftStrategy { weekKingQueenCountService.incrThisWeekQuantity(runningWater.getSysOrigin(), runningWater.getUserId(), KingQueenType.WEALTH, - getActualAmount(giftValue.getActualAmount(), giftRatio)); + giftValue.getActualAmount().longValue()); // queen runningWater.getAcceptUsers().forEach(accept -> weekKingQueenCountService.incrThisWeekQuantity(runningWater.getSysOrigin(), accept.getAcceptUserId(), KingQueenType.CHARM, - getActualAmount(giftValue.getGiftValue(), giftRatio))); + giftValue.getActualAmount().longValue())); } // 新排行榜累计数据 @@ -429,7 +429,7 @@ public class RankCountStrategy implements GiftStrategy { } // 计算实际金额 - Long actualAmount = getActualAmount(runningWater.getGiftValue().getActualAmount(), giftRatio); + Long actualAmount = runningWater.getGiftValue().getActualAmount().longValue(); // 遍历活动,找到对应的type再累计对应活动类型的数据 for (ActivityConfig activity : ongoingActivities) {