|
@@ -12,6 +12,7 @@ import com.ym.mec.biz.dal.entity.MusicGroup;
|
|
|
import com.ym.mec.biz.dal.enums.AuditStatusEnum;
|
|
|
import com.ym.mec.biz.dal.enums.GroupType;
|
|
|
import com.ym.mec.biz.dal.enums.TeachModeEnum;
|
|
|
+import com.ym.mec.biz.dal.page.EndCourseScheduleQueryInfo;
|
|
|
import com.ym.mec.biz.dal.page.StudentAttendanceQueryInfo;
|
|
|
import com.ym.mec.biz.dal.page.VipGroupQueryInfo;
|
|
|
import com.ym.mec.biz.service.CourseScheduleComplaintsService;
|
|
@@ -168,8 +169,8 @@ public class CourseScheduleController extends BaseController {
|
|
|
|
|
|
@ApiOperation(value = "课时调整-批量")
|
|
|
@PreAuthorize("@pcs.hasPermissions('courseSchedule/batchClassStartDateAdjust')")
|
|
|
- @PostMapping(value = "/batchClassStartDateAdjust",consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
|
|
|
- public Object batchClassStartDateAdjust(List<CourseSchedule> courseSchedules){
|
|
|
+ @PostMapping(value = "/batchClassStartDateAdjust")
|
|
|
+ public Object batchClassStartDateAdjust(@RequestBody List<CourseSchedule> courseSchedules){
|
|
|
scheduleService.courseAdjust(courseSchedules);
|
|
|
return succeed();
|
|
|
}
|
|
@@ -269,4 +270,11 @@ public class CourseScheduleController extends BaseController {
|
|
|
return succeed();
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "终极课表获取")
|
|
|
+ @GetMapping("/superFindCourseSchedules")
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('courseSchedule/superFindCourseSchedules')")
|
|
|
+ public Object superFindCourseSchedules(EndCourseScheduleQueryInfo queryInfo){
|
|
|
+ return succeed(scheduleService.endFindCourseSchedules(queryInfo));
|
|
|
+ }
|
|
|
+
|
|
|
}
|