二级审批为大数据时,直接审核通过
This commit is contained in:
parent
3decf28405
commit
d7735a4fdf
|
@ -64,6 +64,12 @@ public class CorrectionListener implements TaskListener, ExecutionListener, Acti
|
|||
}
|
||||
if (resourceEntityDto != null && resourceEntityDto.getDeptId() != null) {
|
||||
deptId = resourceEntityDto.getDeptId();
|
||||
SysDeptDTO deptDTO =
|
||||
sysDeptService.get(resourceEntityDto.getDeptId());
|
||||
if (deptDTO != null && deptDTO.getName().equals("青岛市大数据发展管理局")) {
|
||||
logger.error("第二级别审批仍然为 青岛市大数据发展管理局");
|
||||
taskService.complete(delegateTask.getId(), delegateTask.getVariables());
|
||||
}
|
||||
} else {
|
||||
logger.error("表单内单位名称:" + abilityApplicationDTO.getUnit());
|
||||
SysDeptDTO deptDTO = sysDeptService.getByName(abilityApplicationDTO.getUnit());
|
||||
|
|
Loading…
Reference in New Issue