|
|
@@ -122,7 +122,7 @@ public class ExamSubjectScoreEnterController {
|
|
|
|
|
|
@PostMapping("/export-query")
|
|
|
@ApiOperation(value = "下载模板")
|
|
|
- public ResponseEntity<byte[]> exportData(@Valid ExamSubjectScoreEnterDto dto) throws IOException {
|
|
|
+ public ResponseEntity<byte[]> exportData(@Valid @RequestBody ExamSubjectScoreEnterDto dto) throws IOException {
|
|
|
|
|
|
byte[] bytes = enterService.downloadTemplate(dto);
|
|
|
return RT.fileStream(bytes, "ExamSubjectScoreEnter" + ExcelTypeEnum.XLSX.getValue());
|