|
|
@@ -96,9 +96,9 @@ public class ClassGroupStudentMapperServiceImpl extends BaseServiceImpl<Long, Cl
|
|
|
public boolean delClassGroupStudent(Integer userId, Integer classGroupId,Boolean quitMusicGroup) {
|
|
|
ClassGroup classGroup = classGroupService.get(classGroupId);
|
|
|
Integer studentNum = classGroupStudentMapperDao.countClassGroupNormalStudentNum(classGroupId);
|
|
|
- if (!quitMusicGroup && classGroup.getType().equals(ClassGroupTypeEnum.HIGH_ONLINE) && studentNum <= 3) {
|
|
|
+ /*if (!quitMusicGroup && classGroup.getType().equals(ClassGroupTypeEnum.HIGH_ONLINE) && studentNum <= 3) {
|
|
|
throw new BizException(classGroup.getName()+"(网络基础训练课班级)人数不能少于3,请调整");
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
ClassGroupStudentMapper classStudentMapper = findClassStudentMapperByUserIdAndClassGroupId(userId, classGroupId, "NORMAL");
|
|
|
if (classStudentMapper == null) {
|