|
@@ -1,6 +1,5 @@
|
|
|
package com.zskk.task;
|
|
|
|
|
|
-import java.text.ParseException;
|
|
|
import java.text.SimpleDateFormat;
|
|
|
import java.util.Date;
|
|
|
import java.util.HashMap;
|
|
@@ -30,7 +29,7 @@ public class DataTask implements ITask {
|
|
|
if (record == null) {
|
|
|
continue;
|
|
|
}
|
|
|
- if (record.getStr("lmpression") == null && record.getStr("Description") == null && record.getStr("ReviewDoctor") == null) {
|
|
|
+ if (record.getStr("Impression") == null && record.getStr("Description") == null && record.getStr("ReviewDoctor") == null) {
|
|
|
continue;
|
|
|
}
|
|
|
Map<String, String> params = new HashMap<>();
|
|
@@ -78,9 +77,9 @@ public class DataTask implements ITask {
|
|
|
//门诊号
|
|
|
params.put("out_patient", record.getStr("OutPatientNum")==null?"":record.getStr("OutPatientNum"));
|
|
|
//病人ID
|
|
|
- params.put("his_patient_id", record.getStr("Patientid")==null?"":record.getStr("Patientid"));
|
|
|
+ params.put("his_patient_id", record.getStr("PatientNum")==null?"":record.getStr("PatientNum"));
|
|
|
//检查方法
|
|
|
- params.put("exam_project", record.getStr("ExamItem")==null?"":record.getStr("ExamItem"));
|
|
|
+ params.put("exam_project", record.getStr("ExamBody")==null?"":record.getStr("ExamBody"));
|
|
|
ThreadPoolService tService = ServiceFactory.getService(ThreadPoolService.class);
|
|
|
tService.execute(() -> {
|
|
|
dService.saveReport(params);
|