加日志
This commit is contained in:
parent
94c46eadb2
commit
113d7b482a
|
@ -168,7 +168,7 @@ public class ResourceOwnerListener implements TaskListener, ExecutionListener, A
|
||||||
userDTO = sysUserService.getByDeptIdAndRoleId(deptDTO.getId(), roleDTO.getId()); // 搜出审批人
|
userDTO = sysUserService.getByDeptIdAndRoleId(deptDTO.getId(), roleDTO.getId()); // 搜出审批人
|
||||||
}
|
}
|
||||||
if (userDTO != null) {
|
if (userDTO != null) {
|
||||||
logger.error("审批人id:" + userDTO.getId());
|
logger.error("审批人id:" + userDTO.getId() + "姓名:" + userDTO.getRealName());
|
||||||
taskService.setAssignee(delegateTask.getId(), userDTO.getId().toString());
|
taskService.setAssignee(delegateTask.getId(), userDTO.getId().toString());
|
||||||
} else {
|
} else {
|
||||||
logger.error("未查到该部门对应的 " + roleName);
|
logger.error("未查到该部门对应的 " + roleName);
|
||||||
|
@ -177,7 +177,7 @@ public class ResourceOwnerListener implements TaskListener, ExecutionListener, A
|
||||||
} else if (resourceMountApplyDTO.getDeptId() != null) {
|
} else if (resourceMountApplyDTO.getDeptId() != null) {
|
||||||
SysUserDTO userDTO = sysUserService.getByDeptIdAndRoleId(Long.valueOf(resourceMountApplyDTO.getDeptId()), roleDTO.getId());
|
SysUserDTO userDTO = sysUserService.getByDeptIdAndRoleId(Long.valueOf(resourceMountApplyDTO.getDeptId()), roleDTO.getId());
|
||||||
if (userDTO != null) {
|
if (userDTO != null) {
|
||||||
logger.error("审批人id:" + userDTO.getId());
|
logger.error("审批人id:" + userDTO.getId() + "姓名:" + userDTO.getRealName());
|
||||||
taskService.setAssignee(delegateTask.getId(), userDTO.getId().toString());
|
taskService.setAssignee(delegateTask.getId(), userDTO.getId().toString());
|
||||||
} else {
|
} else {
|
||||||
taskService.setAssignee(delegateTask.getId(), "1516728698224427010");
|
taskService.setAssignee(delegateTask.getId(), "1516728698224427010");
|
||||||
|
@ -190,7 +190,7 @@ public class ResourceOwnerListener implements TaskListener, ExecutionListener, A
|
||||||
SysUserDTO userDTO = sysUserService.getByDeptIdAndRoleId(deptDTO.getId(), roleDTO.getId());
|
SysUserDTO userDTO = sysUserService.getByDeptIdAndRoleId(deptDTO.getId(), roleDTO.getId());
|
||||||
|
|
||||||
if (userDTO != null) {
|
if (userDTO != null) {
|
||||||
logger.error("大数据审批人id:" + userDTO.getId());
|
logger.error("大数据审批人id:" + userDTO.getId() + "姓名:" + userDTO.getRealName());
|
||||||
taskService.setAssignee(delegateTask.getId(), userDTO.getId().toString());
|
taskService.setAssignee(delegateTask.getId(), userDTO.getId().toString());
|
||||||
} else {
|
} else {
|
||||||
taskService.setAssignee(delegateTask.getId(), "1516728698224427010");
|
taskService.setAssignee(delegateTask.getId(), "1516728698224427010");
|
||||||
|
|
Loading…
Reference in New Issue