|
@@ -441,7 +441,7 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
|
|
if(!schoolId.equals(prevCourse.getSchoolId())){
|
|
if(!schoolId.equals(prevCourse.getSchoolId())){
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
- int hoursBetween = DateUtil.hoursBetween(prevCourse.getStartClassTime(), startClassTime);
|
|
|
|
|
|
+ int hoursBetween = DateUtil.hoursBetween(prevCourse.getEndClassTime(), startClassTime);
|
|
if(hoursBetween>1){
|
|
if(hoursBetween>1){
|
|
return false;
|
|
return false;
|
|
}else{
|
|
}else{
|