Joburgess 5 years ago
parent
commit
8699878e8e

+ 2 - 6
edu-user/edu-user-server/src/main/java/com/keao/edu/user/service/impl/ExamSubjectSongServiceImpl.java

@@ -92,13 +92,9 @@ public class ExamSubjectSongServiceImpl extends BaseServiceImpl<Long, ExamSubjec
 				throw new BizException("请指定报名费用");
 			}
 
-			boolean praNNull = Objects.isNull(examSubjectSong.getPracticeNum());
-			boolean praSNull = StringUtils.isBlank(examSubjectSong.getPracticeSongIdList());
-			boolean praNull = praNNull||praSNull;
+			boolean praNull = Objects.isNull(examSubjectSong.getPracticeNum());
 
-			boolean perNNull = Objects.isNull(examSubjectSong.getPerformNum());
-			boolean perSNull = StringUtils.isBlank(examSubjectSong.getPerformSongIdList());
-			boolean perNull = perNNull||perSNull;
+			boolean perNull = Objects.isNull(examSubjectSong.getPerformNum());
 
 			if(praNull&&perNull){
 				throw new BizException("参数错误");