补发调整
This commit is contained in:
parent
375b1ba410
commit
4a17bb9ff7
|
@ -57,7 +57,7 @@ public class ToDoResendTack extends AbstractTask {
|
||||||
// 待办
|
// 待办
|
||||||
boolean hasNext = true;
|
boolean hasNext = true;
|
||||||
logger.info("开始抽取待办,参数 beginTimeDate:" + beginTimeDate + "endTimeDate:" + endTimeDate);
|
logger.info("开始抽取待办,参数 beginTimeDate:" + beginTimeDate + "endTimeDate:" + endTimeDate);
|
||||||
extractToDoList(beginTimeDate, endTimeDate, "1");
|
extractToDoList(beginTimeDate, endTimeDate, "0");
|
||||||
extractToDoList(beginTimeDate, endTimeDate, "2");
|
extractToDoList(beginTimeDate, endTimeDate, "2");
|
||||||
extractToDoList(beginTimeDate, endTimeDate, "5");
|
extractToDoList(beginTimeDate, endTimeDate, "5");
|
||||||
}
|
}
|
||||||
|
@ -174,7 +174,7 @@ public class ToDoResendTack extends AbstractTask {
|
||||||
"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");
|
||||||
switch (t_status) {
|
switch (t_status) {
|
||||||
case "1":
|
case "0":
|
||||||
//标题
|
//标题
|
||||||
String title = "请处理" + next.getString("fstartname") + "提交的" + next.getString("fentityname");
|
String title = "请处理" + next.getString("fstartname") + "提交的" + next.getString("fentityname");
|
||||||
//PC地址
|
//PC地址
|
||||||
|
@ -198,7 +198,7 @@ public class ToDoResendTack extends AbstractTask {
|
||||||
form.append("\"currentStepName\":");
|
form.append("\"currentStepName\":");
|
||||||
form.append("\""+next.getString("FNAME")+"\",");
|
form.append("\""+next.getString("FNAME")+"\",");
|
||||||
form.append("\"sendUserName\":");
|
form.append("\"sendUserName\":");
|
||||||
form.append("\""+next.getString("startname")+"\",");
|
form.append("\""+next.getString("fstartname")+"\",");
|
||||||
form.append("\"receiveUsersysName\":");
|
form.append("\"receiveUsersysName\":");
|
||||||
form.append("\""+username+"\",");
|
form.append("\""+username+"\",");
|
||||||
form.append("\"receiveUserId\":");
|
form.append("\"receiveUserId\":");
|
||||||
|
@ -217,10 +217,10 @@ public class ToDoResendTack extends AbstractTask {
|
||||||
CreateToDoHandler.get_CreateToDoHandler().sendCreateToDo(form.toString(),title,next.getLong("fid").toString(),username);
|
CreateToDoHandler.get_CreateToDoHandler().sendCreateToDo(form.toString(),title,next.getLong("fid").toString(),username);
|
||||||
break;
|
break;
|
||||||
case "2":
|
case "2":
|
||||||
DealToDoHandler.get_DealToDoHandler().sendDealToDo(next.getLong("id"),username);
|
DealToDoHandler.get_DealToDoHandler().sendDealToDo(next.getLong("fid"),username);
|
||||||
break;
|
break;
|
||||||
case "5":
|
case "5":
|
||||||
deleteToDoHandler.get_deleteToDoHandler().sendDeleteToDo(next.getLong("id"),username);
|
deleteToDoHandler.get_deleteToDoHandler().sendDeleteToDo(next.getLong("fid"),username);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue