|
@@ -649,6 +649,11 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
//删除学员班级关联关系
|
|
//删除学员班级关联关系
|
|
classGroupStudentMapperDao.deleteByClassId(classGroupId);
|
|
classGroupStudentMapperDao.deleteByClassId(classGroupId);
|
|
studentRegistrationDao.deleteClassGroup(classGroupId);
|
|
studentRegistrationDao.deleteClassGroup(classGroupId);
|
|
|
|
+ //删除班级跟合奏班关系
|
|
|
|
+ ClassGroupRelation classGroupRelation = classGroupRelationDao.findClassGroupRelation(classGroupId);
|
|
|
|
+ if(classGroupRelation != null){
|
|
|
|
+ classGroupRelationDao.delete(classGroupRelation.getId());
|
|
|
|
+ }
|
|
//删除班级
|
|
//删除班级
|
|
classGroupDao.delete(classGroupId);
|
|
classGroupDao.delete(classGroupId);
|
|
}
|
|
}
|