From beeace34ccecf24541211888c3ee3bbd4b2023f2 Mon Sep 17 00:00:00 2001 From: CMM <2198256324@qq.com> Date: Wed, 22 Feb 2023 09:22:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=B5=81=E7=A8=8B=E8=BF=9B?= =?UTF-8?q?=E5=BA=A6=E8=AF=A6=E6=83=85=E9=A1=B9=E7=9B=AEID=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pmapi/todocenter/controller/TodoCenterController.java | 7 +++---- .../com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/todocenter/controller/TodoCenterController.java b/pmapi/src/main/java/com/ningdatech/pmapi/todocenter/controller/TodoCenterController.java index 91cdf0c..58a090c 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/todocenter/controller/TodoCenterController.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/todocenter/controller/TodoCenterController.java @@ -63,10 +63,9 @@ public class TodoCenterController { * @param instanceId 流程实例ID * @return 流程进度及表单详情 */ - @GetMapping("/progress/{instanceId}/{projectId}") - public ProcessProgressDetailVo getProcessDetail(@PathVariable String instanceId, - @PathVariable Long projectId) { - return todoCenterManage.getProcessDetail(instanceId, projectId); + @GetMapping("/progress/{instanceId}") + public ProcessProgressDetailVo getProcessDetail(@PathVariable String instanceId) { + return todoCenterManage.getProcessDetail(instanceId); } /** diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java b/pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java index 9adbd89..fcc01c9 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java @@ -802,7 +802,7 @@ public class TodoCenterManage { * @param instanceId 流程实例ID * @return 流程进度及表单详情 */ - public ProcessProgressDetailVo getProcessDetail(String instanceId, Long projectId) { + public ProcessProgressDetailVo getProcessDetail(String instanceId) { ProcessProgressVo progressInstanceDetail = processInstanceService.getProgressInstanceDetail(null, instanceId); List progressInfo = progressInstanceDetail.getProgressInfo();