|
@@ -296,9 +296,9 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
courseScheduleDao.deleteCourseSchedulesByClassGroupIds(courseScheduleIds);
|
|
courseScheduleDao.deleteCourseSchedulesByClassGroupIds(courseScheduleIds);
|
|
}
|
|
}
|
|
|
|
|
|
- for (ClassGroup classGroup : classGroups) {
|
|
|
|
|
|
+ /*for (ClassGroup classGroup : classGroups) {
|
|
imFeignService.groupDismiss(new ImGroupModel(classGroup.getId().toString(), null, classGroup.getName()));
|
|
imFeignService.groupDismiss(new ImGroupModel(classGroup.getId().toString(), null, classGroup.getName()));
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
}
|
|
}
|
|
|
|
|
|
Integer schoolId = musicGroup.getSchoolId();
|
|
Integer schoolId = musicGroup.getSchoolId();
|
|
@@ -339,7 +339,7 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
|
|
|
|
while (highClassGroup.getCourseTimes() >= times) {
|
|
while (highClassGroup.getCourseTimes() >= times) {
|
|
int dayOfWeek = now.getDayOfWeek().getValue();
|
|
int dayOfWeek = now.getDayOfWeek().getValue();
|
|
- if (highClassGroup.getDayOfWeek().equals(dayOfWeek)) {
|
|
|
|
|
|
+ if (highClassGroup.getDayOfWeek() == dayOfWeek) {
|
|
CourseSchedule courseSchedule = new CourseSchedule();
|
|
CourseSchedule courseSchedule = new CourseSchedule();
|
|
Instant instant = now.atZone(ZoneId.systemDefault()).toInstant();
|
|
Instant instant = now.atZone(ZoneId.systemDefault()).toInstant();
|
|
Date classDate = Date.from(instant);
|
|
Date classDate = Date.from(instant);
|