|
|
|
@ -234,7 +234,11 @@ public class RankingBiz {
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
computeScore(rankingList,currentTask,competition,baseRatio);
|
|
|
|
|
if(competition.getTeamMaxCount() == null){
|
|
|
|
|
computeRanking(rankingList,currentTask,1,now);
|
|
|
|
|
}else{
|
|
|
|
|
computeRanking(rankingList,currentTask,competition.getTeamMaxCount(),now);
|
|
|
|
|
}
|
|
|
|
|
computeMemberRank(currentTask.getCompetitionId(),currentTask.getStageId(),competition.getTeamMaxCount());
|
|
|
|
|
competition.setUpdateRankDate(now);
|
|
|
|
|
competitionDao.save(competition);
|
|
|
|
|