|
@@ -18,10 +18,11 @@ public class ReDownloadTask implements ITask {
|
|
|
public void run() {
|
|
|
// TODO Auto-generated method stub
|
|
|
DataService dService = ServiceFactory.getService(DataService.class);
|
|
|
- Record recordfind = Db.use("local").findFirst("select * from study where status=2 and modalities <>'US' and updateAt >'2025-04-15 00:00:00' order by createAt asc");
|
|
|
+ Record recordfind = Db.use("local").findFirst("select * from study where status=2 and modalities <>'US' and updateAt >'2025-04-20 00:00:00' order by createAt asc");
|
|
|
JSONArray array = dService.getImage(recordfind.getStr("accessionNumber"));
|
|
|
if (array==null) {
|
|
|
recordfind.set("status", 2);
|
|
|
+ recordfind.set("updateAt", getDateStr());
|
|
|
Db.use("local").update("study",recordfind);
|
|
|
return;
|
|
|
}
|