|
@@ -2541,7 +2541,10 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou
|
|
|
if (Objects.nonNull(teacherFreeTime.getTotalTimes())) {
|
|
|
maxTeacherCourses = teacherFreeTime.getTotalTimes();
|
|
|
}
|
|
|
+ }else{
|
|
|
+ return BaseController.failed(HttpStatus.MULTIPLE_CHOICES,"抱歉啦,当前所选时段组合,「" + teacher.getRealName() + "」老师已被预约,请重新选择时段或更换老师后重试。");
|
|
|
}
|
|
|
+
|
|
|
int courseWeekNum = 0;
|
|
|
int practiceCourseNum = 0;
|
|
|
LocalDateTime tempClassDateTime;
|