|
@@ -401,13 +401,13 @@ public class ClassGroupStudentMapperServiceImpl extends BaseServiceImpl<Long, Cl
|
|
|
if (classGroup.getType().equals(ClassGroupTypeEnum.HIGH_ONLINE)) {
|
|
|
MusicGroup musicGroup = musicGroupDao.get(classGroup.getMusicGroupId());
|
|
|
if (studentIds.size() < 3 && musicGroup.getStatus().equals(MusicGroupStatusEnum.PREPARE)) {
|
|
|
- throw new BizException("线上基础技能班人数不能小于3人");
|
|
|
+ throw new BizException("线上基础技能班人数不能s少于3人");
|
|
|
}
|
|
|
- if (studentIds.size() < 3 && !musicGroup.getStatus().equals(MusicGroupStatusEnum.PREPARE) && oldNormalStudentIds.size() <=0) {
|
|
|
- throw new BizException("线上基础技能班人数不能小于3人");
|
|
|
+ if (studentIds.size() < 3 && !musicGroup.getStatus().equals(MusicGroupStatusEnum.PREPARE) && oldNormalStudentIds.size() <= 0) {
|
|
|
+ throw new BizException("线上基础技能班人数不能少于3人");
|
|
|
}
|
|
|
if (studentIds.size() > 6) {
|
|
|
- throw new BizException("线上基础技能班人数不能大于6人");
|
|
|
+ throw new BizException("线上基础技能班人数不能多于6人");
|
|
|
}
|
|
|
}
|
|
|
|