|
@@ -274,12 +274,12 @@ public class TextbookController {
|
|
|
return RT.fileStream(bot.toByteArray(), "TextbookSubscription" + ExcelTypeEnum.XLSX.getValue());
|
|
return RT.fileStream(bot.toByteArray(), "TextbookSubscription" + ExcelTypeEnum.XLSX.getValue());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-// @PostMapping("/textbook-claim-export-query")
|
|
|
|
|
-// @ApiOperation(value = "教材发放记录条件导出")
|
|
|
|
|
-// public ResponseEntity<byte[]> textbookClaimExportQuery(@Valid @RequestBody TextbookClaimExportQueryDto dto) {
|
|
|
|
|
- @GetMapping("/textbook-claim-export-query")
|
|
|
|
|
|
|
+ @PostMapping("/textbook-claim-export-query")
|
|
|
@ApiOperation(value = "教材发放记录条件导出")
|
|
@ApiOperation(value = "教材发放记录条件导出")
|
|
|
- public ResponseEntity<byte[]> textbookClaimExportQuery(@Valid TextbookClaimExportQueryDto dto) {
|
|
|
|
|
|
|
+ public ResponseEntity<byte[]> textbookClaimExportQuery(@Valid @RequestBody TextbookClaimExportQueryDto dto) {
|
|
|
|
|
+// @GetMapping("/textbook-claim-export-query")
|
|
|
|
|
+// @ApiOperation(value = "教材发放记录条件导出")
|
|
|
|
|
+// public ResponseEntity<byte[]> textbookClaimExportQuery(@Valid TextbookClaimExportQueryDto dto) {
|
|
|
ByteArrayOutputStream bot = textbookService.listTextbookClaimExportQuery(dto);
|
|
ByteArrayOutputStream bot = textbookService.listTextbookClaimExportQuery(dto);
|
|
|
return RT.fileStream(bot.toByteArray(), "TextbookClaim" + ExcelTypeEnum.XLSX.getValue());
|
|
return RT.fileStream(bot.toByteArray(), "TextbookClaim" + ExcelTypeEnum.XLSX.getValue());
|
|
|
}
|
|
}
|