|
@@ -49,13 +49,13 @@ public class UpdateTask implements ITask {
|
|
|
//检查结果1阴2阳
|
|
|
params.put("report_result", "0");
|
|
|
//住院号
|
|
|
- params.put("hopitalized_no", record.getStr("inPatientNum"));
|
|
|
+ params.put("hopitalized_no", record.getStr("inPatientNum")==null?"":record.getStr("inPatientNum"));
|
|
|
//门诊号
|
|
|
- params.put("out_patient", record.getStr("outPatientNum"));
|
|
|
+ params.put("out_patient", record.getStr("outPatientNum")==null?"":record.getStr("outPatientNum"));
|
|
|
//病人ID
|
|
|
- params.put("his_patient_id", record.getStr("patientid"));
|
|
|
+ params.put("his_patient_id", record.getStr("patientid")==null?"":record.getStr("patientid"));
|
|
|
//检查方法
|
|
|
- params.put("exam_project", record.getStr("project"));
|
|
|
+ params.put("exam_project", record.getStr("project")==null?"":record.getStr("project"));
|
|
|
ThreadPoolService tService = ServiceFactory.getService(ThreadPoolService.class);
|
|
|
tService.execute(() -> {
|
|
|
dService.updatePatientInfo(params);
|