|
@@ -26,14 +26,7 @@ public class InfoTask implements ITask {
|
|
|
for (Object object : jsonArray) {
|
|
|
try {
|
|
|
JSONObject jsonObject = JSON.parseObject(object.toString());
|
|
|
- Record record = null;
|
|
|
- if (jsonObject.getString("exam_class").equals("CT")) {
|
|
|
- record = Db.use("connected").findFirst("select * from zlhis.zskk_reportinfo_1 where STUDYUID=?", jsonObject.getString("patient_num"));
|
|
|
-
|
|
|
- }else {
|
|
|
- record = Db.use("connected").findFirst("select * from zlhis.zskk_reportinfo_1 where ACCESSIONNUMBER=?", jsonObject.getString("accession_num"));
|
|
|
-
|
|
|
- }
|
|
|
+ Record record = Db.use("connected").findFirst("select * from zlhis.examtinfo where REPORTPAPERNUM=?", jsonObject.getString("patient_num"));
|
|
|
if (record == null) {
|
|
|
continue;
|
|
|
}
|