|
@@ -49,7 +49,7 @@ public class ClassScheduleController implements ClassScheduleAPI {
|
|
|
ClassScheduleService classScheduleService;
|
|
ClassScheduleService classScheduleService;
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
- public CommonResult schedule(String stateTime, String endTime, String teacherName) {
|
|
|
|
|
|
|
+ public CommonResult schedule(String stateTime, String endTime, String teacherName,String jsgh) {
|
|
|
DateTimeFormatter dateTimeFormatter2 = DateTimeFormatter.ofPattern("yyyy-MM-dd");
|
|
DateTimeFormatter dateTimeFormatter2 = DateTimeFormatter.ofPattern("yyyy-MM-dd");
|
|
|
|
|
|
|
|
if (ObjectUtils.isEmpty(stateTime) && ObjectUtils.isEmpty(endTime)) {
|
|
if (ObjectUtils.isEmpty(stateTime) && ObjectUtils.isEmpty(endTime)) {
|
|
@@ -76,7 +76,7 @@ public class ClassScheduleController implements ClassScheduleAPI {
|
|
|
for (int i = 0; i <= until; i++) {
|
|
for (int i = 0; i <= until; i++) {
|
|
|
LocalDate localDate = date.plusDays(i);
|
|
LocalDate localDate = date.plusDays(i);
|
|
|
ScheduleVo scheduleVo = new ScheduleVo();
|
|
ScheduleVo scheduleVo = new ScheduleVo();
|
|
|
- ClassListVo classListVo = classScheduleService.classList(localDate,teacherName);
|
|
|
|
|
|
|
+ ClassListVo classListVo = classScheduleService.classList(localDate,teacherName,jsgh);
|
|
|
scheduleVo.setClassListVo(classListVo);
|
|
scheduleVo.setClassListVo(classListVo);
|
|
|
String format = localDate.format(dateTimeFormatter2);
|
|
String format = localDate.format(dateTimeFormatter2);
|
|
|
Map<String, String> stringMap = getDjz(format);
|
|
Map<String, String> stringMap = getDjz(format);
|