zhangzhanping 5 gadi atpakaļ
vecāks
revīzija
0f8c85c4b8
1 mainītis faili ar 11 papildinājumiem un 11 dzēšanām
  1. 11 11
      DataFusion/src/com/zskk/task/DataTask.java

+ 11 - 11
DataFusion/src/com/zskk/task/DataTask.java

@@ -46,22 +46,22 @@ public class DataTask implements ITask {
 					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.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.setName(record.getStr("PATIENTNAME"));
+					patientInfos.setPhone(record.getStr("PHONE"));
+					patientInfos.setCardNum(record.getStr("IDCARD"));
 					patientInfos.update();
 					exams2.setExamStatus(9);
-					exams2.setClinDoctors(record.getStr("clinicaldoctor"));
-					exams2.setApplicationDepartment(record.getStr("department"));
+					exams2.setClinDoctors(record.getStr("CLINICALDOCTOR"));
+					exams2.setApplicationDepartment(record.getStr("DEPARTMENT"));
 					exams2.setApplicationDoctor(record.getStr("clinicaldoctor"));
-					exams2.setClinDiag(record.getStr("diagnosis"));
+					exams2.setClinDiag(record.getStr("CLINICALDOCTOR"));
 					exams2.update();
 		/*			// 传云医康 数据
 					Map<String, String> data = new HashMap<String, String>();