From b848959f24e8572571765a017308150f1938042e Mon Sep 17 00:00:00 2001 From: PoffyZhang <99775271@qq.com> Date: Wed, 5 Apr 2023 14:19:48 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A9=BA=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java | 4 ++++ 1 file changed, 4 insertions(+) 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 4b9472e..aee7e21 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 @@ -439,6 +439,10 @@ public class TodoCenterManage { Long projectId = request.getProjectId(); ProcessProgressVo progressInstanceDetail = processInstanceService.getProgressInstanceDetail(nodeId, instanceId); + if(Objects.isNull(progressInstanceDetail)){ + return null; + } + List progressInfo = progressInstanceDetail.getProgressInfo(); if (CollUtil.isNotEmpty(progressInfo)){ buildUserUtils.buildUserByProcessInfo(progressInfo);