|
|
@@ -14,6 +14,7 @@ import org.dromara.business.domain.bo.TournamentsBo;
|
|
|
import org.dromara.business.domain.dto.ItemsPrizeDto;
|
|
|
import org.dromara.business.domain.dto.TournamentsDto;
|
|
|
import org.dromara.business.domain.enums.GameStatus;
|
|
|
+import org.dromara.business.domain.enums.GameTemplateStatus;
|
|
|
import org.dromara.business.domain.vo.*;
|
|
|
import org.dromara.business.mapper.*;
|
|
|
import org.dromara.business.service.ITournamentsTemplateService;
|
|
|
@@ -111,7 +112,7 @@ public class TournamentsTemplateServiceImpl implements ITournamentsTemplateServi
|
|
|
}
|
|
|
tournamentsVo.setItemsPrizeList(itemsPrizeList);
|
|
|
|
|
|
- String statusText= GameStatus.getDescriptionFromCode(tournamentsVo.getStatus());
|
|
|
+ String statusText= GameTemplateStatus.getDescriptionFromCode(tournamentsVo.getStatus());
|
|
|
tournamentsVo.setStatusText(statusText);
|
|
|
}
|
|
|
int totalSignNum = participantsMapper.selectParticipantsTotal(tournamentId);
|
|
|
@@ -133,7 +134,7 @@ public class TournamentsTemplateServiceImpl implements ITournamentsTemplateServi
|
|
|
List<TournamentsVo> records = result.getRecords();
|
|
|
for (TournamentsVo record : records) {
|
|
|
Long tournamentId = record.getId();
|
|
|
- String statusText= GameStatus.getDescriptionFromCode(record.getStatus());
|
|
|
+ String statusText= GameTemplateStatus.getDescriptionFromCode(record.getStatus());
|
|
|
record.setStatusText(statusText);
|
|
|
//赛事报名条件
|
|
|
TournamentEntryConditionsVo tournamentEntryConditionsVo = tournamentEntryConditionsMapper.selectByTournamentInfoTemplate(tournamentId);
|