消息推送测试

--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,9 +233,10 @@ 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 != startUserId) {
DynamicObject startUser = BusinessDataServiceHelper.loadSingle(startUserId, "bos_user");
if (null != startUser) { if (null != startUser) {
startNumber = startUser.getString("number"); startNumber = startUser.getString("number");
startName = startUser.getString("name"); startName = startUser.getString("name");
@ -243,6 +244,7 @@ public class todoZyTaskServiceHandler extends AbstractMessageServiceHandler {
approversLists.add(startUser);//添加发起人到审批人集合_便于后续接口调用(用户绑定接口) approversLists.add(startUser);//添加发起人到审批人集合_便于后续接口调用(用户绑定接口)
} }
} }
}
//获取Url //获取Url
String url = message.getContentUrl(); // 链接 String url = message.getContentUrl(); // 链接
String url1 = message.getContentUrl(); // 链接 String url1 = message.getContentUrl(); // 链接