Browse Source

删除流程进度详情项目ID请求参数

tags/24080901
CMM 1 year ago
parent
commit
beeace34cc
2 changed files with 4 additions and 5 deletions
  1. +3
    -4
      pmapi/src/main/java/com/ningdatech/pmapi/todocenter/controller/TodoCenterController.java
  2. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java

+ 3
- 4
pmapi/src/main/java/com/ningdatech/pmapi/todocenter/controller/TodoCenterController.java View File

@@ -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);
}

/**


+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java View File

@@ -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<ProgressNode> progressInfo = progressInstanceDetail.getProgressInfo();



Loading…
Cancel
Save