。。。

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,8 +344,10 @@ public class ActHistoryService {
this.convertTaskInfo(task, taskDTO); this.convertTaskInfo(task, taskDTO);
if (StringUtils.isNotEmpty(taskDTO.getAssignee())) { if (StringUtils.isNotEmpty(taskDTO.getAssignee())) {
SysUserDTO userDTO = sysUserService.get(Long.valueOf(taskDTO.getAssignee())); SysUserDTO userDTO = sysUserService.get(Long.valueOf(taskDTO.getAssignee()));
if (userDTO != null) {
taskDTO.setAssigneeName(userDTO.getRealName()); taskDTO.setAssigneeName(userDTO.getRealName());
} }
}
taskDTOList.add(taskDTO); taskDTOList.add(taskDTO);
dto.setBackToFirst(taskDTO.getBackToFirst()); dto.setBackToFirst(taskDTO.getBackToFirst());
dto.setReject(taskDTO.getReject()); dto.setReject(taskDTO.getReject());