|
@@ -39,9 +39,9 @@ public class DataTask implements ITask {
|
|
|
"SELECT * FROM pacsonline.exams where exam_status=3 and institution_id='01500001' order by createdAt desc limit 30");
|
|
|
for (Exams exams2 : exams) {
|
|
|
try {
|
|
|
- Studies studies = Studies.dao.use("zskk").findById(exams2.getStudyId());
|
|
|
+// Studies studies = Studies.dao.use("zskk").findById(exams2.getStudyId());
|
|
|
Record record = Db.use("connected").findFirst("select * from REPORTINFO where ACCESSIONNUMBER=?",
|
|
|
- studies.getStudyuid());
|
|
|
+ exams2.getAccessionNum());
|
|
|
if (record == null) {
|
|
|
continue;
|
|
|
}
|