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