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