npe
This commit is contained in:
parent
36220f9e70
commit
b0b7d752ae
|
@ -64,10 +64,16 @@ public class CorrectionListener implements TaskListener, ExecutionListener, Acti
|
|||
} else {
|
||||
logger.info("表单内单位名称:" + abilityApplicationDTO.getUnit());
|
||||
SysDeptDTO deptDTO = sysDeptService.getByName(abilityApplicationDTO.getUnit());
|
||||
if (deptDTO != null) {
|
||||
logger.info("deptDTOId:" + deptDTO.getId());
|
||||
deptId = deptDTO.getId();
|
||||
}
|
||||
SysUserDTO userDTO = sysUserService.getByDeptIdAndRoleId(deptId, roleDTO.getId()); // 搜出审批人
|
||||
|
||||
}
|
||||
SysUserDTO userDTO = null;
|
||||
if (deptId != null) {
|
||||
userDTO = sysUserService.getByDeptIdAndRoleId(deptId, roleDTO.getId()); // 搜出审批人
|
||||
}
|
||||
|
||||
delegateTask.setAssignee("1513432847327199233");
|
||||
if (userDTO != null) {
|
||||
|
|
Loading…
Reference in New Issue