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();