刘韬 5 年之前
父節點
當前提交
7db9b24d83
共有 1 個文件被更改,包括 13 次插入13 次删除
  1. 13 13
      DataFusion/src/com/zskk/control/ViewController.java

+ 13 - 13
DataFusion/src/com/zskk/control/ViewController.java

@@ -97,23 +97,23 @@ public class ViewController extends Controller {
 				if (record.getStr("IMPRESSION") == null && record.getStr("DESCRIPTION") == null) {
 					continue;
 				}
-//				report.setImpression(record.getStr("IMPRESSION"));
-//				report.setDescription(record.getStr("DESCRIPTION"));
-//				report.setExamId(exams2.getId());
-//				report.setCreatedAt(new Date());
-//				report.setReportDoctorId(getDoctorIdByName(record.getStr("REPORTDOCTOR")));
-//				report.setReviewDoctorId(getDoctorIdByName(record.getStr("REVIEWDOCTOR")));
-//				report.setReviewDatetime(parseStringToDate(record.getStr("REPORTDATE")));
-//				report.setConfirmDoctorId(getDoctorIdByName(record.getStr("REVIEWDOCTOR")));
-//				report.setConfirmDatetime(parseStringToDate(record.getStr("REPORTDATE")));
+				report.setImpression(record.getStr("IMPRESSION"));
+				report.setDescription(record.getStr("DESCRIPTION"));
+				report.setExamId(exams2.getId());
+				report.setCreatedAt(new Date());
+				report.setReportDoctorId(getDoctorIdByName(record.getStr("REPORTDOCTOR")));
+				report.setReviewDoctorId(getDoctorIdByName(record.getStr("REVIEWDOCTOR")));
+				report.setReviewDatetime(parseStringToDate(record.getStr("REPORTDATE")));
+				report.setConfirmDoctorId(getDoctorIdByName(record.getStr("REVIEWDOCTOR")));
+				report.setConfirmDatetime(parseStringToDate(record.getStr("REPORTDATE")));
 //				report.save();
-//				PatientInfos patientInfos = PatientInfos.dao.use("zskk").findById(exams2.getPatientId());
-//				patientInfos.setName(record.getStr("PATIENTNAME"));
+				PatientInfos patientInfos = PatientInfos.dao.use("zskk").findById(exams2.getPatientId());
+				patientInfos.setName(record.getStr("PATIENTNAME"));
 //				patientInfos.setPhone(record.getStr("PHONE"));
 //				patientInfos.setCardNum(record.getStr("IDCARD"));
 //				patientInfos.update();
-//				exams2.setApplicationDepartment(record.getStr("DEPARTMENT"));
-//				exams2.setApplicationDoctor(record.getStr("CLINICALDOCTOR"));
+				exams2.setApplicationDepartment(record.getStr("DEPARTMENT"));
+				exams2.setApplicationDoctor(record.getStr("CLINICALDOCTOR"));
 //				exams2.setExamStatus(9);
 //				exams2.update();
 				d.add(record);