This commit is contained in:
wangliwen 2022-08-22 13:59:40 +08:00
parent 183a64c7ac
commit e88e596699
1 changed files with 0 additions and 10 deletions

View File

@ -176,16 +176,6 @@ public class CorrectionListenerV3 implements TaskListener, ExecutionListener, Ac
if (kv.containsKey("deptId")) { // 存在部门id if (kv.containsKey("deptId")) { // 存在部门id
deptId = Long.valueOf(kv.get("deptId").toString()); deptId = Long.valueOf(kv.get("deptId").toString());
SysDeptDTO deptDTO = sysDeptService.get(deptId); SysDeptDTO deptDTO = sysDeptService.get(deptId);
// if (deptDTO != null && deptDTO.getName().equals(bigDateDeptName)) { // 二级审批依然为大数据局,默认审核通过
// logger.error("第二级别审批仍然为 {}", bigDateDeptName);
// SysUserDTO userDTO = sysUserService.getByDeptIdAndRoleId(deptId, roleDTO.getId()); // 搜出审批人
// if (userDTO != null) {
// taskService.setAssignee(delegateTask.getId(), userDTO.getId().toString());
// }
// taskService.addComment(delegateTask.getId(), delegateTask.getProcessInstanceId(), "默认通过");
// taskService.complete(delegateTask.getId(), delegateTask.getVariables());
// return;
// } // 二级审批依然为大数据局
SysUserDTO userDTO = null; SysUserDTO userDTO = null;
if (deptId != null) { if (deptId != null) {