|
@@ -77,6 +77,7 @@ public class ViewController extends Controller {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
+ List<Record> dicomfind =null;
|
|
|
for (Record studyidfind : studyidfinds) {
|
|
|
// flag++;
|
|
|
// if (flag > max) {
|
|
@@ -92,7 +93,7 @@ public class ViewController extends Controller {
|
|
|
//状态4:下载中
|
|
|
studyidfind.set("status", 4);
|
|
|
Db.use("local").update("study", studyidfind);
|
|
|
- List<Record> dicomfind = Db.use("connected_dicom").find("select * from dicominfo where studyuid=?",studyidfind.getStr("studyuid"));
|
|
|
+ dicomfind = Db.use("connected_dicom").find("select * from dicominfo where studyuid=?",studyidfind.getStr("studyuid"));
|
|
|
for (Record record : dicomfind) {
|
|
|
Request request = new Request.Builder()
|
|
|
.url(record.getStr("URL"))
|
|
@@ -113,7 +114,9 @@ public class ViewController extends Controller {
|
|
|
studyidfind.set("status", 3);
|
|
|
Db.use("local").update("study", studyidfind);
|
|
|
}
|
|
|
- renderText(aString+"**************"+bString);
|
|
|
+// renderText(aString+"**************"+bString);
|
|
|
+
|
|
|
+ renderText(dicomfind.toString());
|
|
|
}
|
|
|
|
|
|
|