新增 每周游戏排行榜定时任务处理-修复

This commit is contained in:
tianfeng 2026-05-29 16:58:57 +08:00
parent 654f297684
commit 4f9fe9c664

View File

@ -1,5 +1,6 @@
package com.red.circle.other.app.scheduler;
import com.red.circle.common.business.core.enums.SysOriginPlatformEnum;
import com.red.circle.component.redis.annotation.TaskCacheLock;
import com.red.circle.other.domain.game.GameRankingIncrementCmd;
import com.red.circle.other.domain.game.GameRankingPeriodType;
@ -36,6 +37,7 @@ public class GameRankingInitTask {
log.warn("========== 游戏排行榜初始化任务开始 ==========");
try {
List<GameListConfig> configs = gameListConfigService.query()
.eq(GameListConfig::getSysOrigin, SysOriginPlatformEnum.ATYOU.name())
.eq(GameListConfig::getShowcase, Boolean.TRUE)
.list();
if (configs.isEmpty()) {