|
@@ -33,7 +33,7 @@ public class DataTask implements ITask {
|
|
|
continue;
|
|
|
}
|
|
|
report.setImpression(record.getStr("impression"));
|
|
|
- report.setDescription(record.getStr("description"));
|
|
|
+ report.setDescription(record.getStr("DESCRIPTION"));
|
|
|
report.setExamId(exams2.getId());
|
|
|
report.setCreatedAt(new Date());
|
|
|
report.setReportDoctorId(getDoctorIdByName(record.getStr("reportdoctor")));
|
|
@@ -45,13 +45,13 @@ public class DataTask implements ITask {
|
|
|
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.setCardNum(record.getStr("idcard"));
|
|
|
patientInfos.update();
|
|
|
exams2.setExamStatus(9);
|
|
|
- exams2.setClinDoctors(record.getStr("CLINICALDOCTOR"));
|
|
|
- exams2.setApplicationDepartment(record.getStr("DEPARTMENT"));
|
|
|
- exams2.setApplicationDoctor(record.getStr("CLINICALDOCTOR"));
|
|
|
- exams2.setClinDiag(record.getStr("DIAGNOSIS"));
|
|
|
+ exams2.setClinDoctors(record.getStr("clinicaldoctor"));
|
|
|
+ exams2.setApplicationDepartment(record.getStr("department"));
|
|
|
+ exams2.setApplicationDoctor(record.getStr("clinicaldoctor"));
|
|
|
+ exams2.setClinDiag(record.getStr("diagnosis"));
|
|
|
exams2.update();
|
|
|
WeixinService wService = ServiceFactory.getService(WeixinService.class);
|
|
|
wService.requestWeixinQrcode(report.getId());;
|