刘韬 6 years ago
parent
commit
dc647e8f52
1 changed files with 9 additions and 9 deletions
  1. 9 9
      DataFusion/src/com/zskk/control/ViewController.java

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

@@ -32,18 +32,18 @@ public class ViewController extends Controller {
 //				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.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.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.update();
+//				PatientInfos patientInfos = PatientInfos.dao.use("zskk").findById(exams2.getPatientId());
+//				patientInfos.setName(record.getStr("PATIENTNAME"));
+//				patientInfos.update();
 			}
 			this.renderJson(exams);
 		} catch (Exception e) {