|
@@ -54,15 +54,14 @@ public class DataTask implements ITask {
|
|
|
logger.info(exams2.getId());
|
|
|
// Studies studies = Studies.dao.use("zskk").findById(exams2.getStudyId());
|
|
|
Record record = Db.use("connected").findFirst("select * from reportinfo where studyuid=?",exams2.getPatientNum());
|
|
|
+ //String studyuid = record.getStr("studyuid");
|
|
|
+ logger.info(record.getStr("studyuid")+record.getStr("reportdate"));
|
|
|
if (record == null) {
|
|
|
continue;
|
|
|
}
|
|
|
//Report report = new Report().use("zskk");
|
|
|
//report.setId(creatId());
|
|
|
//report.setReportDatetime(parseStringToDate(record.getStr("reportdate")));
|
|
|
- if (record.getStr("impression") == null && record.getStr("description") == null) {
|
|
|
- continue;
|
|
|
- }
|
|
|
Map<String, String> params = new HashMap<>();
|
|
|
//params.put("institution_id","51000001");
|
|
|
//exams表
|