1.优化OA供应商来源系统默认ISC

S
This commit is contained in:
weiyunlong 2025-07-04 13:28:22 +08:00
parent 52d3f675a8
commit e60a573717
1 changed files with 7 additions and 7 deletions

View File

@ -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(); // 链接