|
@@ -82,7 +82,7 @@ public class ClassGroupStudentMapperServiceImpl extends BaseServiceImpl<Long, Cl
|
|
@Transactional(rollbackFor = Exception.class)
|
|
@Transactional(rollbackFor = Exception.class)
|
|
public boolean delClassGroupStudent(Integer userId, Integer classGroupId, Boolean quitMusicGroup) {
|
|
public boolean delClassGroupStudent(Integer userId, Integer classGroupId, Boolean quitMusicGroup) {
|
|
ClassGroup classGroup = classGroupService.get(classGroupId);
|
|
ClassGroup classGroup = classGroupService.get(classGroupId);
|
|
- Integer studentNum = classGroupStudentMapperDao.countClassGroupNormalStudentNum(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,请调整");
|
|
throw new BizException(classGroup.getName()+"(网络基础训练课班级)人数不能少于3,请调整");
|
|
}*/
|
|
}*/
|