parent
52d3f675a8
commit
e60a573717
|
@ -333,20 +333,20 @@ public class todoZyTaskServiceHandler extends AbstractMessageServiceHandler {
|
|||
//获取任务创建人 // 信息发送人 消息推送不需要创建人
|
||||
// ServiceFactory.getService(WorkflowService.class).getTaskService().getOperationLogByTaskId(taskId).get(0).getDecisionType();
|
||||
// Long startUserId = ServiceFactory.getService(WorkflowService.class).getTaskService().getOperationLogByTaskId(taskId).get(0).getOwnerId();
|
||||
// Long startUserId = message.getSenderId();
|
||||
Long startUserId = message.getSenderId();
|
||||
// Long startUserId = messageContext.getStartUserId(); // 审批实例发起人id
|
||||
String startNumber = "";
|
||||
String startName = "";
|
||||
// if (null != startUserId) {
|
||||
// DynamicObject startUser = BusinessDataServiceHelper.loadSingle(startUserId, "bos_user");
|
||||
// if (null != startUser) {
|
||||
// startNumber = startUser.getString("number");
|
||||
if (null != startUserId) {
|
||||
DynamicObject startUser = BusinessDataServiceHelper.loadSingle(startUserId, "bos_user");
|
||||
if (null != startUser) {
|
||||
startNumber = startUser.getString("number");
|
||||
// startName = startUser.getString("name");
|
||||
// if (!userIds.contains(startUserId)) {
|
||||
// approversLists.add(startUser);//添加发起人到审批人集合_便于后续接口调用(用户绑定接口)
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
||||
// //获取Url
|
||||
// String url = message.getContentUrl(); // 链接
|
||||
// String url1 = message.getContentUrl(); // 链接
|
||||
|
|
Loading…
Reference in New Issue