。。。

This commit is contained in:
wangliwen 2022-07-08 17:20:46 +08:00
parent 2ab4b169f5
commit 510afd01cc
1 changed files with 3 additions and 1 deletions

View File

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