|
|
@@ -93,17 +93,17 @@ public class StudentCompetitionServiceImpl extends BaseServiceImpl<Long, Student
|
|
|
Set<Long> competitionsWithPrizeLevel = studentCompetitionDao.getCompetitionsWithPrizeLevel(studentCompetition.getPrizeLevel());
|
|
|
int maxPrizeLevelUserNum = 0;
|
|
|
switch (studentCompetition.getPrizeLevel()){
|
|
|
- case 0:
|
|
|
+ case 1:
|
|
|
maxPrizeLevelUserNum = 1;
|
|
|
break;
|
|
|
- case 1:
|
|
|
case 2:
|
|
|
+ case 3:
|
|
|
maxPrizeLevelUserNum = 12;
|
|
|
break;
|
|
|
- case 3:
|
|
|
+ case 4:
|
|
|
maxPrizeLevelUserNum = 24;
|
|
|
break;
|
|
|
- case 4:
|
|
|
+ case 5:
|
|
|
maxPrizeLevelUserNum = 50;
|
|
|
break;
|
|
|
}
|