|
@@ -193,7 +193,7 @@ public class BandingTaskClassController {
|
|
|
|
|
|
@PostMapping("/export-query")
|
|
@PostMapping("/export-query")
|
|
@ApiOperation(value = "导出学生列表")
|
|
@ApiOperation(value = "导出学生列表")
|
|
- public ResponseEntity<byte[]> exportData(@Valid BandingTaskClassStudentPageDto dto, @RequestParam(defaultValue = "false") Boolean isTemplate) {
|
|
|
|
|
|
+ public ResponseEntity<byte[]> exportData(@Valid @RequestBody BandingTaskClassStudentPageDto dto, @RequestParam(defaultValue = "false") Boolean isTemplate) {
|
|
List<BandingTaskClassStudentListVo> listVos = bandingTaskClassService.classStudent(dto);
|
|
List<BandingTaskClassStudentListVo> listVos = bandingTaskClassService.classStudent(dto);
|
|
List<BandingTaskClassExcelVo> list = BeanUtil.copyToList(listVos, BandingTaskClassExcelVo.class);
|
|
List<BandingTaskClassExcelVo> list = BeanUtil.copyToList(listVos, BandingTaskClassExcelVo.class);
|
|
ByteArrayOutputStream bot = new ByteArrayOutputStream();
|
|
ByteArrayOutputStream bot = new ByteArrayOutputStream();
|