|
|
@@ -22,6 +22,7 @@ import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
import org.springframework.http.ResponseEntity;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.PutMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
@@ -114,11 +115,11 @@ public class ExamSubjectScoreController {
|
|
|
return RT.ok(list);
|
|
|
}
|
|
|
|
|
|
- @GetMapping(value = "/class-student-export-query")
|
|
|
+ @PostMapping(value = "/class-student-export-query")
|
|
|
@ApiOperation(value="班级成绩查询导出")
|
|
|
@SaCheckPermission("examsubjectscore:detail")
|
|
|
@XjrLog("导出考试成绩")
|
|
|
- public ResponseEntity<byte[]> classStudentScoreExportQuery(@Valid ClassStudentScorePageDto dto) throws IOException {
|
|
|
+ public ResponseEntity<byte[]> classStudentScoreExportQuery(@Valid @RequestBody ClassStudentScorePageDto dto) throws IOException {
|
|
|
//查询列头
|
|
|
byte[] bytes = scoreService.getClassStudentScoreExportQuery(dto);
|
|
|
String fileName = "class-student-export-query" + ExcelTypeEnum.XLSX.getValue();
|