刘韬 %!s(int64=6) %!d(string=hai) anos
pai
achega
6ae3a35a59
Modificáronse 1 ficheiros con 12 adicións e 12 borrados
  1. 12 12
      DataFusion/src/com/zskk/control/ViewController.java

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

@@ -36,19 +36,19 @@ public class ViewController extends Controller {
 				Report report = new Report().use("zskk");
 				report.setId(creatId());
 				report.setReportDatetime(aaa(record.getStr("REPORTDATE")));
-//				report.setImpression(record.getStr("IMPRESSION"));
-//				report.setDescription(record.getStr("DESCRIPTION"));
-//				report.setExamId(exams2.getId());
-//				report.setCreatedAt(new Date());
-//				report.setReportResult(record.getStr("FITEM_RESULT_CODE").contains("阴")?"1":"2");
-//				report.setReportDoctorId(getDoctorIdByName(record.getStr("REPORTDOCTOR")));
-//				report.setReviewDoctorId(getDoctorIdByName(record.getStr("REVIEWDOCTOR")));
-//				report.setReviewDatetime(aaa(record.getStr("REPORTDATE")));
-//				report.setConfirmDoctorId(getDoctorIdByName(record.getStr("REVIEWDOCTOR")));
-//				report.setConfirmDatetime(aaa(record.getStr("REPORTDATE")));
+				report.setImpression(record.getStr("IMPRESSION"));
+				report.setDescription(record.getStr("DESCRIPTION"));
+				report.setExamId(exams2.getId());
+				report.setCreatedAt(new Date());
+				report.setReportResult(record.getStr("FITEM_RESULT_CODE").contains("阴")?"1":"2");
+				report.setReportDoctorId(getDoctorIdByName(record.getStr("REPORTDOCTOR")));
+				report.setReviewDoctorId(getDoctorIdByName(record.getStr("REVIEWDOCTOR")));
+				report.setReviewDatetime(aaa(record.getStr("REPORTDATE")));
+				report.setConfirmDoctorId(getDoctorIdByName(record.getStr("REVIEWDOCTOR")));
+				report.setConfirmDatetime(aaa(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.update();
 			}
 			this.renderJson(examds);