diff --git a/renren-admin/src/main/java/io/renren/modules/processForm/listener/v3/ApplyDeptListener.java b/renren-admin/src/main/java/io/renren/modules/processForm/listener/v3/ApplyDeptListener.java index c14bf105..d2d05a52 100644 --- a/renren-admin/src/main/java/io/renren/modules/processForm/listener/v3/ApplyDeptListener.java +++ b/renren-admin/src/main/java/io/renren/modules/processForm/listener/v3/ApplyDeptListener.java @@ -120,7 +120,7 @@ public class ApplyDeptListener implements TaskListener, ExecutionListener, Activ } else { logger.error("未查到 {} 对应 " + roleName, deptDTO.getName()); taskService.setAssignee(delegateTask.getId(), defaultAssigneeRoleId); - assignee = null; + assignee = defaultAssigneeRoleId; } logger.error("分配的用户id为:{}", assignee); } diff --git a/renren-admin/src/main/java/io/renren/modules/processForm/listener/v3/OwnerDistrictListener.java b/renren-admin/src/main/java/io/renren/modules/processForm/listener/v3/OwnerDistrictListener.java index a1f0b59f..01bb3a8c 100644 --- a/renren-admin/src/main/java/io/renren/modules/processForm/listener/v3/OwnerDistrictListener.java +++ b/renren-admin/src/main/java/io/renren/modules/processForm/listener/v3/OwnerDistrictListener.java @@ -97,7 +97,7 @@ public class OwnerDistrictListener implements TaskListener, ExecutionListener, A } else { logger.error("未查到 {} 对应 " + roleName, deptDTO.getName()); taskService.setAssignee(delegateTask.getId(), defaultAssigneeRoleId); - assignee = null; + assignee = defaultAssigneeRoleId; } logger.error("分配的用户id为:{}", assignee); }