|
@@ -24,7 +24,7 @@ public class DataTask implements ITask {
|
|
|
JSONArray jsonArray = dService.getExamList(50);
|
|
|
for (Object object : jsonArray) {
|
|
|
JSONObject jsonObject = JSON.parseObject(object.toString());
|
|
|
- Record record = Db.use("connected").findFirst("select * from reportinfo where STUDYUID=?", jsonObject.getString("studyuid"));
|
|
|
+ Record record = Db.use("connected").findFirst("select * from reportinfo where ACCESSIONNUMBER=?", jsonObject.getString("accession_num"));
|
|
|
if (record == null) {
|
|
|
continue;
|
|
|
}
|