斋月活动cycleKey处理
This commit is contained in:
parent
a0fcb72d4d
commit
dbd943e1f4
@ -444,6 +444,12 @@ public class RankCountStrategy implements GiftStrategy {
|
||||
RankingActivityType activityType = RankingActivityType.valueOf(activity.getActivityType());
|
||||
Integer cycleType = RankingCycleType.WEEKLY.getCode();
|
||||
|
||||
//特殊活动
|
||||
if (RankingActivityType.RAMADAN == activityType) {
|
||||
cycleKey = "2026-02-17";
|
||||
cycleType = RankingCycleType.MONTHLY.getCode();
|
||||
}
|
||||
|
||||
getDataUpdateCmd(runningWater, cycleKey, actualAmount, activityType, cycleType);
|
||||
} catch (IllegalArgumentException e) {
|
||||
log.warn("未识别的活动类型: {}, activityId={}", activity.getActivityType(), activity.getId());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user