소스 검색

feat:长三角比赛

Joburgess 5 년 전
부모
커밋
50537f3ceb
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      mec-biz/src/main/java/com/ym/mec/biz/service/impl/StudentCompetitionServiceImpl.java

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