parent
1d42a46a01
commit
8092658998
|
@ -233,14 +233,16 @@ public class todoZyTaskServiceHandler extends AbstractMessageServiceHandler {
|
||||||
//获取任务创建人 // 信息发送人
|
//获取任务创建人 // 信息发送人
|
||||||
Long startUserId = message.getSenderId();
|
Long startUserId = message.getSenderId();
|
||||||
// Long startUserId = messageContext.getStartUserId(); // 审批实例发起人id
|
// Long startUserId = messageContext.getStartUserId(); // 审批实例发起人id
|
||||||
DynamicObject startUser = BusinessDataServiceHelper.loadSingle(startUserId, "bos_user");
|
|
||||||
String startNumber = "";
|
String startNumber = "";
|
||||||
String startName = "";
|
String startName = "";
|
||||||
if (null != startUser) {
|
if (null != startUserId) {
|
||||||
startNumber = startUser.getString("number");
|
DynamicObject startUser = BusinessDataServiceHelper.loadSingle(startUserId, "bos_user");
|
||||||
startName = startUser.getString("name");
|
if (null != startUser) {
|
||||||
if (!userIds.contains(startUserId)) {
|
startNumber = startUser.getString("number");
|
||||||
approversLists.add(startUser);//添加发起人到审批人集合_便于后续接口调用(用户绑定接口)
|
startName = startUser.getString("name");
|
||||||
|
if (!userIds.contains(startUserId)) {
|
||||||
|
approversLists.add(startUser);//添加发起人到审批人集合_便于后续接口调用(用户绑定接口)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//获取Url
|
//获取Url
|
||||||
|
|
Loading…
Reference in New Issue