From 5f8e86e7acff3cd7ce8c0af82de285f70eb119c2 Mon Sep 17 00:00:00 2001 From: fang <123456> Date: Mon, 16 Dec 2024 18:05:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=85=E5=8A=9Eurl=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sys/sys/midservice/backlogTack/ToDoResendTack.java | 7 ++++--- .../midservice/servicehandler/BacklogServiceHandle.java | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/midservice/backlogTack/ToDoResendTack.java b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/midservice/backlogTack/ToDoResendTack.java index dd53bc9..d1d089c 100644 --- a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/midservice/backlogTack/ToDoResendTack.java +++ b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/midservice/backlogTack/ToDoResendTack.java @@ -170,9 +170,10 @@ public class ToDoResendTack extends AbstractTask { while (iterator.hasNext()) { Row next = iterator.next(); //接收人手机号 - DynamicObject dynamicObject = QueryServiceHelper.queryOne("bos_user", "name," + + DynamicObject dynamicObject = QueryServiceHelper.queryOne("bos_user", "number,name," + "phone,username", new QFilter[]{new QFilter("id", "=", next.getString("freceiveuserid"))}); String username = dynamicObject.getString("username"); + String number = dynamicObject.getString("number"); switch (t_status) { case "0": //标题 @@ -204,9 +205,9 @@ public class ToDoResendTack extends AbstractTask { form.append("\"receiveUserId\":"); form.append("\""+username+"\","); form.append("\"handleUrl\":"); - form.append("\""+pcUrl+"\","); + form.append("\""+pcUrl+"&number="+number+"\","); form.append("\"appHandleUrl\":"); - form.append("\""+pcUrl+"\","); + form.append("\""+pcUrl+"&number="+number+"\","); form.append("\"appName\":"); form.append("\""+next.getString("fentityname")+"\","); form.append("\"pendingId\":"); diff --git a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/midservice/servicehandler/BacklogServiceHandle.java b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/midservice/servicehandler/BacklogServiceHandle.java index 00590b3..3641491 100644 --- a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/midservice/servicehandler/BacklogServiceHandle.java +++ b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/midservice/servicehandler/BacklogServiceHandle.java @@ -33,7 +33,8 @@ public class BacklogServiceHandle extends AbstractServiceHandler { logger.info("###创建待办_createToDo"); //几个待办 List userIds = todoInfo.getUserIds(); - DynamicObjectCollection query = QueryServiceHelper.query("bos_user", "id,name,phone,username", new QFilter[]{new QFilter("id", "in", userIds)}); + DynamicObjectCollection query = QueryServiceHelper.query("bos_user", "id,name,number" + + ".0,phone,username", new QFilter[]{new QFilter("id", "in", userIds)}); DynamicObject dynamicObject = QueryServiceHelper.queryOne("wf_hitaskinst", "billno,startname,id,name", new QFilter[]{new QFilter("id", "=", todoInfo.getTaskId())}); logger.info("####待办taskid:"+todoInfo.getTaskId()); @@ -58,9 +59,9 @@ public class BacklogServiceHandle extends AbstractServiceHandler { form.append("\"receiveUserId\":"); form.append("\""+query_one.getString("username")+"\","); form.append("\"handleUrl\":"); - form.append("\""+todoInfo.getUrl()+"\","); + form.append("\""+todoInfo.getUrl()+"&number="+query_one.getString("number")+"\","); form.append("\"appHandleUrl\":"); - form.append("\""+todoInfo.getUrl()+"\","); + form.append("\""+todoInfo.getUrl()+"&number="+query_one.getString("number")+"\","); form.append("\"appName\":"); form.append("\""+ctx.getEntityName()+"\","); form.append("\"pendingId\":");