|  | @@ -110,6 +110,24 @@ public class GroupClassServiceImpl implements GroupClassService {
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  | +    @Transactional(rollbackFor = Exception.class)
 | 
	
		
			
				|  |  | +    public boolean hideGroupInfo(String groupId, GroupType groupType) {
 | 
	
		
			
				|  |  | +        classGroupDao.deleteByGroupWithLogic(groupId,groupType);
 | 
	
		
			
				|  |  | +        classGroupStudentMapperDao.deleteByGroupWithLogic(groupId,groupType);
 | 
	
		
			
				|  |  | +        List<CourseSchedule> groupNotStartCourses = courseScheduleDao.findGroupNotStartCourses(groupId, groupType);
 | 
	
		
			
				|  |  | +        if(CollectionUtils.isEmpty(groupNotStartCourses)){
 | 
	
		
			
				|  |  | +            return true;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        List<Long> courseIds = groupNotStartCourses.stream().map(CourseSchedule::getId).collect(Collectors.toList());
 | 
	
		
			
				|  |  | +        courseScheduleDao.batchDeleteCourseSchedulesWithLogic(courseIds);
 | 
	
		
			
				|  |  | +        courseScheduleTeacherSalaryDao.batchDeleteByCourseScheduleIds(courseIds);
 | 
	
		
			
				|  |  | +        courseScheduleStudentPaymentDao.deleteByCourseSchedule(courseIds);
 | 
	
		
			
				|  |  | +        teacherAttendanceDao.batchDeleteByCourseSchedules(courseIds);
 | 
	
		
			
				|  |  | +        studentAttendanceDao.deleteByCourseSchedules(courseIds);
 | 
	
		
			
				|  |  | +        return true;
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    @Override
 | 
	
		
			
				|  |  |      @Transactional(rollbackFor = Exception.class, isolation = Isolation.READ_COMMITTED)
 | 
	
		
			
				|  |  |      public void cancelGroup(Long groupId, GroupType groupType, BigDecimal refundAmount) {
 | 
	
		
			
				|  |  |          if(Objects.isNull(groupId)){
 |