Bläddra i källkod

Merge remote-tracking branch 'origin/master'

tags/24080901
PoffyZhang 1 år sedan
förälder
incheckning
c97d570372
2 ändrade filer med 5 tillägg och 6 borttagningar
  1. +3
    -4
      pmapi/src/main/java/com/ningdatech/pmapi/todocenter/controller/TodoCenterController.java
  2. +2
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java

+ 3
- 4
pmapi/src/main/java/com/ningdatech/pmapi/todocenter/controller/TodoCenterController.java Visa fil

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

/**


+ 2
- 2
pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java Visa fil

@@ -385,7 +385,7 @@ public class TodoCenterManage {
managementService.executeCommand(new SaveCommentCmd(param.getTaskId(), param.getInstanceId(),
String.valueOf(userId), JSONObject.toJSONString(param.getAuditInfo())));
}
// 如果流程状态是被退回状态,流程通过后,当前审核人一定不是最后一个审核人(至多是最后一个),更新流程状态为审核中
// 如果流程状态是被退回状态,流程通过后,进入下一个审核人,当前通过审核人一定不是最后一个审核人(下一个审核人至多是最后一个),更新流程状态为审核中
if (ProcessStatusEnum.BE_BACKED.getCode().equals(declaredProject.getProcessStatus())) {
// 通过该任务,流程到下一审核人处
taskService.complete(param.getTaskId(), var);
@@ -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();



Laddar…
Avbryt
Spara