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 7102016..a5c1aa3 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 @@ -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;