Compare commits
2 Commits
4d17ecace1
...
d8b51ce65f
Author | SHA1 | Date |
---|---|---|
|
d8b51ce65f | |
|
5f8e86e7ac |
|
@ -170,9 +170,10 @@ public class ToDoResendTack extends AbstractTask {
|
||||||
while (iterator.hasNext()) {
|
while (iterator.hasNext()) {
|
||||||
Row next = iterator.next();
|
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"))});
|
"phone,username", new QFilter[]{new QFilter("id", "=", next.getString("freceiveuserid"))});
|
||||||
String username = dynamicObject.getString("username");
|
String username = dynamicObject.getString("username");
|
||||||
|
String number = dynamicObject.getString("number");
|
||||||
switch (t_status) {
|
switch (t_status) {
|
||||||
case "0":
|
case "0":
|
||||||
//标题
|
//标题
|
||||||
|
@ -204,9 +205,9 @@ public class ToDoResendTack extends AbstractTask {
|
||||||
form.append("\"receiveUserId\":");
|
form.append("\"receiveUserId\":");
|
||||||
form.append("\""+username+"\",");
|
form.append("\""+username+"\",");
|
||||||
form.append("\"handleUrl\":");
|
form.append("\"handleUrl\":");
|
||||||
form.append("\""+pcUrl+"\",");
|
form.append("\""+pcUrl+"&number="+number+"\",");
|
||||||
form.append("\"appHandleUrl\":");
|
form.append("\"appHandleUrl\":");
|
||||||
form.append("\""+pcUrl+"\",");
|
form.append("\""+pcUrl+"&number="+number+"\",");
|
||||||
form.append("\"appName\":");
|
form.append("\"appName\":");
|
||||||
form.append("\""+next.getString("fentityname")+"\",");
|
form.append("\""+next.getString("fentityname")+"\",");
|
||||||
form.append("\"pendingId\":");
|
form.append("\"pendingId\":");
|
||||||
|
|
|
@ -33,7 +33,8 @@ public class BacklogServiceHandle extends AbstractServiceHandler {
|
||||||
logger.info("###创建待办_createToDo");
|
logger.info("###创建待办_createToDo");
|
||||||
//几个待办
|
//几个待办
|
||||||
List<Long> userIds = todoInfo.getUserIds();
|
List<Long> 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",
|
DynamicObject dynamicObject = QueryServiceHelper.queryOne("wf_hitaskinst", "billno,startname,id,name",
|
||||||
new QFilter[]{new QFilter("id", "=", todoInfo.getTaskId())});
|
new QFilter[]{new QFilter("id", "=", todoInfo.getTaskId())});
|
||||||
logger.info("####待办taskid:"+todoInfo.getTaskId());
|
logger.info("####待办taskid:"+todoInfo.getTaskId());
|
||||||
|
@ -58,9 +59,9 @@ public class BacklogServiceHandle extends AbstractServiceHandler {
|
||||||
form.append("\"receiveUserId\":");
|
form.append("\"receiveUserId\":");
|
||||||
form.append("\""+query_one.getString("username")+"\",");
|
form.append("\""+query_one.getString("username")+"\",");
|
||||||
form.append("\"handleUrl\":");
|
form.append("\"handleUrl\":");
|
||||||
form.append("\""+todoInfo.getUrl()+"\",");
|
form.append("\""+todoInfo.getUrl()+"&number="+query_one.getString("number")+"\",");
|
||||||
form.append("\"appHandleUrl\":");
|
form.append("\"appHandleUrl\":");
|
||||||
form.append("\""+todoInfo.getUrl()+"\",");
|
form.append("\""+todoInfo.getUrl()+"&number="+query_one.getString("number")+"\",");
|
||||||
form.append("\"appName\":");
|
form.append("\"appName\":");
|
||||||
form.append("\""+ctx.getEntityName()+"\",");
|
form.append("\""+ctx.getEntityName()+"\",");
|
||||||
form.append("\"pendingId\":");
|
form.append("\"pendingId\":");
|
||||||
|
|
Loading…
Reference in New Issue