导出zip修改进度接口
This commit is contained in:
parent
a6d2ea97a8
commit
2c587b40d4
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue