消息推送测试

--xiefeng
This commit is contained in:
xiaosuonian 2024-11-16 12:15:46 +08:00
parent 1d42a46a01
commit 8092658998
1 changed files with 8 additions and 6 deletions

View File

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