|
@@ -31,11 +31,11 @@ public class DownloadTask implements ITask {
|
|
|
Db.use("local").update("study",recordfind);
|
|
|
// JSONObject jsonObject = JSON.parseObject(object.toString());
|
|
|
// String[] strings = jsonObject.getString("Path").split("\\\\");
|
|
|
-// dService.downloadFtpFile(jsonObject.getString("Path"));
|
|
|
+ dService.downloadFtpFile(recordfind.getStr("path"));
|
|
|
// }
|
|
|
-// recordfind.set("status", 3);
|
|
|
-// recordfind.set("updateAt", getDateStr());
|
|
|
-// Db.use("local").update("study",recordfind);
|
|
|
+ recordfind.set("status", 3);
|
|
|
+ recordfind.set("updateAt", getDateStr());
|
|
|
+ Db.use("local").update("study",recordfind);
|
|
|
}
|
|
|
|
|
|
@Override
|