|
@@ -109,8 +109,11 @@ public class ToDoMessagePushJob extends BaseJob2 {
|
|
|
addGqswData(task , taskId , createTime , send);
|
|
addGqswData(task , taskId , createTime , send);
|
|
|
|
|
|
|
|
// delete processed task message
|
|
// delete processed task message
|
|
|
- String sQL = "delete from ibps_msg_inner where task_id_ <>'' and task_id_ not in(select id_ from ibps_bpm_tasks)";
|
|
|
|
|
- commonDao.execute(sQL);
|
|
|
|
|
|
|
+ commonDao.execute("delete from ibps_msg_inner where task_id_ <>'' and task_id_ not in(select id_ from ibps_bpm_tasks)");
|
|
|
|
|
+
|
|
|
|
|
+ commonDao.execute("delete from ibps_msg_read where MSG_ID_ not in(select id_ from ibps_msg_inner)");
|
|
|
|
|
+
|
|
|
|
|
+ commonDao.execute("delete from ibps_msg_receiver where MSG_ID_ not in(select id_ from ibps_msg_inner)");
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|