导出zip修改进度接口

This commit is contained in:
hongchao 2025-11-26 17:48:10 +08:00
parent a6d2ea97a8
commit 2c587b40d4
1 changed files with 3 additions and 2 deletions

View File

@ -2292,8 +2292,9 @@ public class SltAgreementInfoController extends BaseController {
@ApiOperation(value = "查询导出进度") @ApiOperation(value = "查询导出进度")
@GetMapping("/exportProgress/{taskId}") @PostMapping("/exportProgress")
public ResponseEntity<ExportProgressManager.ExportProgress> getExportProgress(@PathVariable String taskId) { public ResponseEntity<ExportProgressManager.ExportProgress> getExportProgress(@RequestBody SltAgreementInfo info) {
String taskId = info.getTaskId();
ExportProgressManager.ExportProgress progress = exportProgressManager.getProgress(taskId); ExportProgressManager.ExportProgress progress = exportProgressManager.getProgress(taskId);
if (progress == null) { if (progress == null) {
return ResponseEntity.notFound().build(); return ResponseEntity.notFound().build();