Merge branch 'dev' into docker_package

This commit is contained in:
wangliwen 2022-07-08 17:21:14 +08:00
commit 30e60deda8
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());