|  | @@ -1621,12 +1621,6 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
 | 
	
		
			
				|  |  |              	throw new BizException("已结束的课程需要调整课程状态");
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              
 | 
	
		
			
				|  |  | -			if (newCourseSchedule.getGroupType() == GroupType.VIP) {
 | 
	
		
			
				|  |  | -				if (newCourseSchedule.getTeachMode() != oldCourseSchedule.getTeachMode() && newCourseSchedule.getTeachMode() == TeachModeEnum.OFFLINE) {
 | 
	
		
			
				|  |  | -					throw new BizException("不允许将线上课调整为线下课");
 | 
	
		
			
				|  |  | -				}
 | 
	
		
			
				|  |  | -			}
 | 
	
		
			
				|  |  | -            
 | 
	
		
			
				|  |  |              /*if (oldCourseSchedule.getType().equals(CourseSchedule.CourseScheduleType.VIP)) {
 | 
	
		
			
				|  |  |                  VipGroup vipGroup = vipGroupDao.get(Long.valueOf(oldCourseSchedule.getMusicGroupId()));
 | 
	
		
			
				|  |  |                  if(Objects.isNull(vipGroup)){
 | 
	
	
		
			
				|  | @@ -1639,6 +1633,13 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
 | 
	
		
			
				|  |  |              if (Objects.isNull(newCourseSchedule.getGroupType())) {
 | 
	
		
			
				|  |  |                  newCourseSchedule.setGroupType(oldCourseSchedule.getGroupType());
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  | +            
 | 
	
		
			
				|  |  | +			if (newCourseSchedule.getGroupType() == GroupType.VIP) {
 | 
	
		
			
				|  |  | +				if (newCourseSchedule.getTeachMode() != oldCourseSchedule.getTeachMode() && newCourseSchedule.getTeachMode() == TeachModeEnum.OFFLINE) {
 | 
	
		
			
				|  |  | +					throw new BizException("不允许将线上课调整为线下课");
 | 
	
		
			
				|  |  | +				}
 | 
	
		
			
				|  |  | +			}
 | 
	
		
			
				|  |  | +			
 | 
	
		
			
				|  |  |              if (Objects.isNull(newCourseSchedule.getActualTeacherId())) {
 | 
	
		
			
				|  |  |                  newCourseSchedule.setActualTeacherId(oldCourseSchedule.getActualTeacherId());
 | 
	
		
			
				|  |  |              }
 | 
	
	
		
			
				|  | @@ -1839,7 +1840,7 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
 | 
	
		
			
				|  |  |  						}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  						TeacherDefaultMusicGroupSalary tdms = map.get(newCourseSchedule.getType());
 | 
	
		
			
				|  |  | -						if (tdms != null) {
 | 
	
		
			
				|  |  | +						if (tdms == null) {
 | 
	
		
			
				|  |  |  							throw new BizException("老师[]没有设置默认课酬,请先设置", teacherId);
 | 
	
		
			
				|  |  |  						}
 | 
	
		
			
				|  |  |  
 |