|
@@ -18,7 +18,7 @@ public class DownloadTask 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=1 or status=2 order by createAt asc");
|
|
|
+ Record recordfind = Db.use("local").findFirst("select * from study where status=1 order by createAt asc");
|
|
|
JSONArray array = dService.getImage(recordfind.getStr("accessionNumber"));
|
|
|
if (array==null) {
|
|
|
recordfind.set("status", 2);
|