|  | @@ -180,7 +180,7 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
 | 
	
		
			
				|  |  |  					throw new BizException("删除失败,已结束的课程不能删除");
 | 
	
		
			
				|  |  |  				}
 | 
	
		
			
				|  |  |  				String endDateStr = DateUtil.format(cs.getClassDate(), "yyyy-MM-dd") + " " + DateUtil.format(cs.getEndClassTime(), "HH:mm:ss");
 | 
	
		
			
				|  |  | -				if (DateUtil.stringToDate(endDateStr, sdf).after(date)) {
 | 
	
		
			
				|  |  | +				if (DateUtil.stringToDate(endDateStr, sdf).before(date)) {
 | 
	
		
			
				|  |  |  					throw new BizException("删除失败,已结束的课程不能删除");
 | 
	
		
			
				|  |  |  				}
 | 
	
		
			
				|  |  |  			}
 |