|
|
@@ -324,12 +324,12 @@ public class ScheduleController {
|
|
|
return jsonParser.parse(result).getAsJsonObject();
|
|
|
}
|
|
|
|
|
|
-// @PostMapping("/schedule-week-export-query")
|
|
|
-// @ApiOperation(value = "按周导出课表")
|
|
|
-// public ResponseEntity<byte[]> scheduleWeekExportQuery(@Valid @RequestBody CourseTableDto dto) {
|
|
|
- @GetMapping("/schedule-week-export-query")
|
|
|
+ @PostMapping("/schedule-week-export-query")
|
|
|
@ApiOperation(value = "按周导出课表")
|
|
|
- public ResponseEntity<byte[]> textbookClaimExportQuery(ScheduleWeekExportQueryDto dto) {
|
|
|
+ public ResponseEntity<byte[]> scheduleWeekExportQuery(@Valid @RequestBody CourseTableDto dto) {
|
|
|
+// @GetMapping("/schedule-week-export-query")
|
|
|
+// @ApiOperation(value = "按周导出课表")
|
|
|
+// public ResponseEntity<byte[]> textbookClaimExportQuery(ScheduleWeekExportQueryDto dto) {
|
|
|
|
|
|
ByteArrayOutputStream bot = courseTableService.scheduleWeekExportQuery(dto);
|
|
|
return RT.fileStream(bot.toByteArray(), "scheduleWeek" + ExcelTypeEnum.XLSX.getValue());
|