补发调整

This commit is contained in:
fang 2024-11-21 09:16:04 +08:00
parent 375b1ba410
commit 4a17bb9ff7
1 changed files with 5 additions and 5 deletions

View File

@ -57,7 +57,7 @@ public class ToDoResendTack extends AbstractTask {
// 待办
boolean hasNext = true;
logger.info("开始抽取待办,参数 beginTimeDate" + beginTimeDate + "endTimeDate:" + endTimeDate);
extractToDoList(beginTimeDate, endTimeDate, "1");
extractToDoList(beginTimeDate, endTimeDate, "0");
extractToDoList(beginTimeDate, endTimeDate, "2");
extractToDoList(beginTimeDate, endTimeDate, "5");
}
@ -174,7 +174,7 @@ public class ToDoResendTack extends AbstractTask {
"phone,username", new QFilter[]{new QFilter("id", "=", next.getString("freceiveuserid"))});
String username = dynamicObject.getString("username");
switch (t_status) {
case "1":
case "0":
//标题
String title = "请处理" + next.getString("fstartname") + "提交的" + next.getString("fentityname");
//PC地址
@ -198,7 +198,7 @@ public class ToDoResendTack extends AbstractTask {
form.append("\"currentStepName\":");
form.append("\""+next.getString("FNAME")+"\",");
form.append("\"sendUserName\":");
form.append("\""+next.getString("startname")+"\",");
form.append("\""+next.getString("fstartname")+"\",");
form.append("\"receiveUsersysName\":");
form.append("\""+username+"\",");
form.append("\"receiveUserId\":");
@ -217,10 +217,10 @@ public class ToDoResendTack extends AbstractTask {
CreateToDoHandler.get_CreateToDoHandler().sendCreateToDo(form.toString(),title,next.getLong("fid").toString(),username);
break;
case "2":
DealToDoHandler.get_DealToDoHandler().sendDealToDo(next.getLong("id"),username);
DealToDoHandler.get_DealToDoHandler().sendDealToDo(next.getLong("fid"),username);
break;
case "5":
deleteToDoHandler.get_deleteToDoHandler().sendDeleteToDo(next.getLong("id"),username);
deleteToDoHandler.get_deleteToDoHandler().sendDeleteToDo(next.getLong("fid"),username);
break;
default:
break;