刘韬 5 years ago
parent
commit
e51dbe4f93
1 changed files with 21 additions and 21 deletions
  1. 21 21
      DataFusion/src/com/zskk/control/ViewController.java

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

@@ -66,27 +66,27 @@ 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.save();
-				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("DEPATMENT"));
-				exams2.setApplicationDoctor(record.getStr("CLINICALDOCTOR"));
-				exams2.setExamStatus(9);
-				exams2.update();
-				WeixinService wService = ServiceFactory.getService(WeixinService.class);
-				wService.requestWeixinQrcode(report.getId());
+//				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.setPhone(record.getStr("PHONE"));
+//				patientInfos.setCardNum(record.getStr("IDCARD"));
+//				patientInfos.update();
+//				exams2.setApplicationDepartment(record.getStr("DEPATMENT"));
+//				exams2.setApplicationDoctor(record.getStr("CLINICALDOCTOR"));
+//				exams2.setExamStatus(9);
+//				exams2.update();
+//				WeixinService wService = ServiceFactory.getService(WeixinService.class);
+//				wService.requestWeixinQrcode(report.getId());
 //				examsd.add(exams2);
 			}
 			this.renderJson(exams);