|
@@ -37,9 +37,9 @@ public class DataTask implements ITask {
|
|
|
if (record.getStr("IMPRESSION") == null && record.getStr("DESCRIPTION") == null) {
|
|
|
continue;
|
|
|
}
|
|
|
- report.setImpression(record.getStr("DESCRIPTION"));
|
|
|
+ report.setImpression(new String(record.getStr("IMPRESSION").getBytes("windows-1252"),"GBK"));
|
|
|
//印象
|
|
|
- report.setDescription(record.getStr("IMPRESSION"));
|
|
|
+ report.setDescription(new String(record.getStr("DESCRIPTION").getBytes("windows-1252"),"GBK"));
|
|
|
report.setExamId(exams2.getId());
|
|
|
report.setCreatedAt(new Date());
|
|
|
/*//报告医生
|
|
@@ -62,9 +62,9 @@ public class DataTask implements ITask {
|
|
|
patientInfos.update();*/
|
|
|
report.setReportDoctorId(getDoctorIdByName(new String(record.getStr("REPORTDOCTOR").getBytes("windows-1252"),"GBK")));
|
|
|
report.setReviewDoctorId(getDoctorIdByName(new String(record.getStr("REVIEWDOCTOR").getBytes("windows-1252"),"GBK")));
|
|
|
- report.setReviewDatetime(parseStringToDate(new String(record.getStr("REPORTDATE"))));
|
|
|
+ report.setReviewDatetime(parseStringToDate(record.getStr("REPORTDATE")));
|
|
|
report.setConfirmDoctorId(getDoctorIdByName(new String(record.getStr("REVIEWDOCTOR").getBytes("windows-1252"),"GBK")));
|
|
|
- report.setConfirmDatetime(parseStringToDate(new String(record.getStr("REPORTDATE"))));
|
|
|
+ report.setConfirmDatetime(parseStringToDate(record.getStr("REPORTDATE")));
|
|
|
report.save();
|
|
|
PatientInfos patientInfos = PatientInfos.dao.use("zskk").findById(exams2.getPatientId());
|
|
|
patientInfos.setName(new String(record.getStr("PATIENTNAME").getBytes("windows-1252"),"GBK"));
|