|
@@ -454,12 +454,12 @@ public class ClassGroupStudentMapperServiceImpl extends BaseServiceImpl<Long, Cl
|
|
|
//线上基础技能班,原始分班人数不能小于3人大于6人
|
|
|
if (classGroup.getType().equals(ClassGroupTypeEnum.HIGH_ONLINE)) {
|
|
|
|
|
|
- if (studentIds.size() < 3 && musicGroup.getStatus().equals(MusicGroupStatusEnum.PREPARE)) {
|
|
|
- throw new BizException("线上基础技能班人数不能少于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)) {
|
|
|
+// 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人");
|
|
|
}
|