|
@@ -275,7 +275,7 @@ public class MaterialTaskController {
|
|
return RT.fileStream(bot.toByteArray(), "MaterialFormData" + ExcelTypeEnum.XLSX.getValue());
|
|
return RT.fileStream(bot.toByteArray(), "MaterialFormData" + ExcelTypeEnum.XLSX.getValue());
|
|
}
|
|
}
|
|
|
|
|
|
- @PostMapping("/download-file")
|
|
|
|
|
|
+ @PostMapping("/download-file-export")
|
|
@ApiOperation(value = "下载附件(zip压缩包)")
|
|
@ApiOperation(value = "下载附件(zip压缩包)")
|
|
public ResponseEntity<byte[]> downloadFile(@Valid @RequestBody MaterialTaskAssignListDto dto) {
|
|
public ResponseEntity<byte[]> downloadFile(@Valid @RequestBody MaterialTaskAssignListDto dto) {
|
|
MaterialTask materialTask = materialTaskService.getById(dto.getMaterialTaskId());
|
|
MaterialTask materialTask = materialTaskService.getById(dto.getMaterialTaskId());
|