From 510afd01ccec6858a1c1ad46bc00ce0898108f8d Mon Sep 17 00:00:00 2001 From: wangliwen Date: Fri, 8 Jul 2022 17:20:46 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=82=E3=80=82=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/renren/modules/activiti/service/ActHistoryService.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/renren-admin/src/main/java/io/renren/modules/activiti/service/ActHistoryService.java b/renren-admin/src/main/java/io/renren/modules/activiti/service/ActHistoryService.java index 644f1a6a..0f5d8955 100644 --- a/renren-admin/src/main/java/io/renren/modules/activiti/service/ActHistoryService.java +++ b/renren-admin/src/main/java/io/renren/modules/activiti/service/ActHistoryService.java @@ -344,7 +344,9 @@ public class ActHistoryService { this.convertTaskInfo(task, taskDTO); if (StringUtils.isNotEmpty(taskDTO.getAssignee())) { SysUserDTO userDTO = sysUserService.get(Long.valueOf(taskDTO.getAssignee())); - taskDTO.setAssigneeName(userDTO.getRealName()); + if (userDTO != null) { + taskDTO.setAssigneeName(userDTO.getRealName()); + } } taskDTOList.add(taskDTO); dto.setBackToFirst(taskDTO.getBackToFirst());