|
@@ -25,7 +25,8 @@ public class DownloadTask implements ITask {
|
|
Record recordfind = Db.use("local").findFirst("select * from study where status=1 order by createAt asc");
|
|
Record recordfind = Db.use("local").findFirst("select * from study where status=1 order by createAt asc");
|
|
// recordfind.set("status", 2);
|
|
// recordfind.set("status", 2);
|
|
// Db.use("local").update("study", recordfind);
|
|
// Db.use("local").update("study", recordfind);
|
|
-
|
|
|
|
|
|
+ Date nowDate = new Date();
|
|
|
|
+
|
|
recordfind.set("status", 4);
|
|
recordfind.set("status", 4);
|
|
recordfind.set("updateAt", getDateStr());
|
|
recordfind.set("updateAt", getDateStr());
|
|
Db.use("local").update("study", recordfind);
|
|
Db.use("local").update("study", recordfind);
|