|
@@ -64,8 +64,8 @@ public class DataTask implements ITask {
|
|
|
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.setPhone(record.getStr("phone")==null?"":record.getStr("phone"));
|
|
|
+ patientInfos.setCardNum(record.getStr("idcard")==null?"":record.getStr("idcard"));
|
|
|
patientInfos.update();
|
|
|
exams2.setExamStatus(9);
|
|
|
// String patString = record.getStr("住院号");
|
|
@@ -96,7 +96,7 @@ public class DataTask implements ITask {
|
|
|
// 患者性别
|
|
|
data.put("patient_sex", patientInfos.getSex());
|
|
|
// 身份证号
|
|
|
- data.put("card_num", record.getStr("idcard"));
|
|
|
+ data.put("card_num", record.getStr("idcard")==null?"":record.getStr("idcard"));
|
|
|
// 手机号
|
|
|
data.put("phone", patientInfos.getPhone());
|
|
|
// 患者生日
|