Explorar el Código

feat:长三角比赛

Joburgess hace 5 años
padre
commit
50537f3ceb

+ 4 - 4
mec-biz/src/main/java/com/ym/mec/biz/service/impl/StudentCompetitionServiceImpl.java

@@ -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;
 			}