From e006bc8740a4f3421d3b61e201513f78d0bfd24d Mon Sep 17 00:00:00 2001 From: CMM <2198256324@qq.com> Date: Sat, 1 Apr 2023 15:50:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A2=AB=E9=80=80=E5=9B=9E=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E9=87=8D=E6=96=B0=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ningdatech/pmapi/todocenter/manage/TodoCenterManage.java | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) 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 5397128..18c12db 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 @@ -1311,14 +1311,8 @@ public class TodoCenterManage { if(!modifyProject(projectDto)){ throw new BusinessException("调整项目失败!"); } - - //最后去审批(通过)当前退回节点的审核任务 - ReqProcessHandlerDTO handlerDTO = new ReqProcessHandlerDTO(); - handlerDTO.setProjectId(dto.getProjectId()); - handlerDTO.setInstanceId(dto.getInstanceId()); - handlerDTO.setTaskId(dto.getTaskId()); - handlerDTO.setAction(ProcessHandlerEnum.PASS); - handler(handlerDTO); + // 更新当前流程状态为审核中 + processTaskService.updateProInstStatus(dto.getInstanceId()); return dto.getInstanceId(); }