Jelajahi Sumber

线下版本-考生导出bug-20201216

xiaof 4 tahun lalu
induk
melakukan
a31d9f3180

+ 1 - 1
stmms-ms-admin/src/main/java/cn/com/qmth/stmms/ms/admin/exporter/StudentExporter.java

@@ -27,7 +27,7 @@ public class StudentExporter {
     private StudentRepo studentRepo;
     private StudentRepo studentRepo;
 
 
     @GetMapping
     @GetMapping
-    public void export(@RequestParam StudentSpecification params, HttpServletResponse response) {
+    public void export(StudentSpecification params, HttpServletResponse response) {
 
 
         List<Student> students = studentRepo.findAll(params.getSpecification());
         List<Student> students = studentRepo.findAll(params.getSpecification());
         List<StudentExpDTO> list = new ArrayList<>();
         List<StudentExpDTO> list = new ArrayList<>();