|
|
@@ -79,7 +79,7 @@ public class WfSubscriptionController {
|
|
|
|
|
|
@PostMapping("/export-query")
|
|
|
@ApiOperation(value = "导出")
|
|
|
- public ResponseEntity<byte[]> exportData(@Valid WfSubscriptionPageDto dto, @RequestParam(defaultValue = "false") Boolean isTemplate) {
|
|
|
+ public ResponseEntity<byte[]> exportData(@Valid @RequestBody WfSubscriptionPageDto dto, @RequestParam(defaultValue = "false") Boolean isTemplate) {
|
|
|
List<WfSubscriptionExcelVo> customerList = wfSubscriptionService.getList(dto);
|
|
|
ByteArrayOutputStream bot = new ByteArrayOutputStream();
|
|
|
EasyExcel.write(bot, WfSubscriptionExcelVo.class).automaticMergeHead(false).excelType(ExcelTypeEnum.XLSX).sheet().doWrite(customerList);
|