|
@@ -12,6 +12,7 @@ import org.dromara.business.domain.enums.GameStatus;
|
|
|
import org.dromara.business.domain.vo.*;
|
|
import org.dromara.business.domain.vo.*;
|
|
|
import org.dromara.business.mapper.*;
|
|
import org.dromara.business.mapper.*;
|
|
|
import org.dromara.business.service.IBlindLevelsService;
|
|
import org.dromara.business.service.IBlindLevelsService;
|
|
|
|
|
+import org.dromara.business.service.ITournamentConfigService;
|
|
|
import org.dromara.business.utils.DateTimeRangeUtils;
|
|
import org.dromara.business.utils.DateTimeRangeUtils;
|
|
|
import org.dromara.business.utils.RedisKeys;
|
|
import org.dromara.business.utils.RedisKeys;
|
|
|
import org.dromara.business.utils.RedisUtil;
|
|
import org.dromara.business.utils.RedisUtil;
|
|
@@ -101,6 +102,8 @@ public class TournamentsServiceImpl implements ITournamentsService {
|
|
|
|
|
|
|
|
private final TournamentCategoryTagMapper tournamentCategoryTagMapper;
|
|
private final TournamentCategoryTagMapper tournamentCategoryTagMapper;
|
|
|
|
|
|
|
|
|
|
+ private final ITournamentConfigService tournamentConfigService;
|
|
|
|
|
+
|
|
|
@Autowired
|
|
@Autowired
|
|
|
RedisUtil redisUtil;
|
|
RedisUtil redisUtil;
|
|
|
|
|
|
|
@@ -243,6 +246,10 @@ public class TournamentsServiceImpl implements ITournamentsService {
|
|
|
record.setCategoryName(category);
|
|
record.setCategoryName(category);
|
|
|
record.setTagName(tag);
|
|
record.setTagName(tag);
|
|
|
|
|
|
|
|
|
|
+ TournamentConfigVo tournamentConfigVo = tournamentConfigService.queryById(record.getConfigId());
|
|
|
|
|
+ if(tournamentConfigVo!=null){
|
|
|
|
|
+ record.setProjectName(tournamentConfigVo.getName());
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
return TableDataInfo.build(result);
|
|
return TableDataInfo.build(result);
|