|
@@ -648,6 +648,7 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
public void delSingle(Integer classGroupId) {
|
|
public void delSingle(Integer classGroupId) {
|
|
//删除学员班级关联关系
|
|
//删除学员班级关联关系
|
|
classGroupStudentMapperDao.deleteByClassId(classGroupId);
|
|
classGroupStudentMapperDao.deleteByClassId(classGroupId);
|
|
|
|
+ studentRegistrationDao.deleteClassGroup(classGroupId);
|
|
//删除班级
|
|
//删除班级
|
|
classGroupDao.delete(classGroupId);
|
|
classGroupDao.delete(classGroupId);
|
|
}
|
|
}
|
|
@@ -655,6 +656,8 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
@Override
|
|
@Override
|
|
@Transactional(rollbackFor = Exception.class)
|
|
@Transactional(rollbackFor = Exception.class)
|
|
public void delMix(Integer classGroupId) {
|
|
public void delMix(Integer classGroupId) {
|
|
|
|
+ //删除学员班级关联关系
|
|
|
|
+ classGroupStudentMapperDao.deleteByClassId(classGroupId);
|
|
//删除班级关系
|
|
//删除班级关系
|
|
classGroupRelationDao.deleteByClassId(classGroupId);
|
|
classGroupRelationDao.deleteByClassId(classGroupId);
|
|
//删除合奏班
|
|
//删除合奏班
|