新增 每周游戏排行榜定时任务处理-修复
This commit is contained in:
parent
654f297684
commit
4f9fe9c664
@ -1,5 +1,6 @@
|
|||||||
package com.red.circle.other.app.scheduler;
|
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.component.redis.annotation.TaskCacheLock;
|
||||||
import com.red.circle.other.domain.game.GameRankingIncrementCmd;
|
import com.red.circle.other.domain.game.GameRankingIncrementCmd;
|
||||||
import com.red.circle.other.domain.game.GameRankingPeriodType;
|
import com.red.circle.other.domain.game.GameRankingPeriodType;
|
||||||
@ -36,6 +37,7 @@ public class GameRankingInitTask {
|
|||||||
log.warn("========== 游戏排行榜初始化任务开始 ==========");
|
log.warn("========== 游戏排行榜初始化任务开始 ==========");
|
||||||
try {
|
try {
|
||||||
List<GameListConfig> configs = gameListConfigService.query()
|
List<GameListConfig> configs = gameListConfigService.query()
|
||||||
|
.eq(GameListConfig::getSysOrigin, SysOriginPlatformEnum.ATYOU.name())
|
||||||
.eq(GameListConfig::getShowcase, Boolean.TRUE)
|
.eq(GameListConfig::getShowcase, Boolean.TRUE)
|
||||||
.list();
|
.list();
|
||||||
if (configs.isEmpty()) {
|
if (configs.isEmpty()) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user