npe
This commit is contained in:
parent
0c88de3898
commit
5ac3e333c2
|
@ -200,7 +200,7 @@ public class HistoryController {
|
||||||
if (StringUtils.isNotEmpty(activityDTO.getStartUserId())) {
|
if (StringUtils.isNotEmpty(activityDTO.getStartUserId())) {
|
||||||
SysUserDTO userDTO = sysUserService.get(Long.valueOf(activityDTO.getStartUserId()));
|
SysUserDTO userDTO = sysUserService.get(Long.valueOf(activityDTO.getStartUserId()));
|
||||||
activityDTO.setStartUserName(userDTO != null ? userDTO.getRealName() : "");
|
activityDTO.setStartUserName(userDTO != null ? userDTO.getRealName() : "");
|
||||||
activityDTO.setStartUserDeptName(sysUserDao.getDeptNameByUserId(userDTO.getId().toString()));
|
activityDTO.setStartUserDeptName(userDTO != null ? sysUserDao.getDeptNameByUserId(userDTO.getId().toString()) : "");
|
||||||
}
|
}
|
||||||
if (StringUtils.isNotEmpty(activityDTO.getAssignee())) {
|
if (StringUtils.isNotEmpty(activityDTO.getAssignee())) {
|
||||||
SysUserDTO userDTO = sysUserService.get(Long.valueOf(activityDTO.getAssignee()));
|
SysUserDTO userDTO = sysUserService.get(Long.valueOf(activityDTO.getAssignee()));
|
||||||
|
|
Loading…
Reference in New Issue