| 
					
				 | 
			
			
				@@ -6,9 +6,11 @@ import static com.ym.mec.biz.dal.enums.GroupType.VIP; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import static com.ym.mec.biz.dal.enums.PracticeGroupType.CHARGE; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import static com.ym.mec.biz.dal.enums.PracticeGroupType.FREE; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import static com.ym.mec.biz.dal.enums.PracticeGroupType.TRIAL; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import static java.math.BigDecimal.ONE; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.lang.reflect.InvocationTargetException; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.math.BigDecimal; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import java.math.BigInteger; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.text.SimpleDateFormat; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.time.LocalDate; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.time.LocalDateTime; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -292,6 +294,9 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				if (DateUtil.stringToDate(endDateStr, sdf).before(date)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					throw new BizException("删除失败,未开始的课程才能删除"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				if(Objects.nonNull(cs.getNewCourseId())){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					throw new BizException("删除失败,被合并课程不能删除"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		courseScheduleDao.batchDeleteCourseSchedules(courseScheduleIds); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -2800,6 +2805,12 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //保存修改记录 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         for (int i=0;i<classGroupCourseSchedulesWithDate.size();i++) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             CourseSchedule courseSchedule=classGroupCourseSchedulesWithDate.get(i); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if(Objects.nonNull(courseSchedule.getNewCourseId())){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            	throw new BizException("选择的班级中存在已合并课程,无法进行顺延操作"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if(Integer.valueOf(1).equals(courseSchedule.getIsLock())){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				throw new BizException("选择的班级中部分课程已被锁定,无法进行顺延操作"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             calendar.setTime(courseSchedule.getClassDate()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             calendar.add(Calendar.DATE, betweenDays); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -5291,9 +5302,9 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			courseSchedule.setClassDate(courseMergeInfo.getClassDate()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			courseSchedule.setStartClassTime(courseMergeInfo.getStartClassTime()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			courseSchedule.setEndClassTime(courseMergeInfo.getEndClassTime()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			courseSchedule.setActualTeacherId(courseMergeInfo.getActualTeacherId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			courseSchedule.setClassGroupId(courseMergeInfo.getClassGroupId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			courseSchedule.setSchoolId(courseMergeInfo.getSchoolId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//			courseSchedule.setActualTeacherId(courseMergeInfo.getActualTeacherId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//			courseSchedule.setClassGroupId(courseMergeInfo.getClassGroupId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//			courseSchedule.setSchoolId(courseMergeInfo.getSchoolId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			courseScheduleModifyLog.setCurrentCourseSchedule(JsonUtil.toJSONString(courseSchedule)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			courseScheduleModifyLog.setOperatorId(courseMergeInfo.getOperatorId()); 
			 |