刘韬 5 years ago
parent
commit
b0de73778e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      DataFusion/src/com/zskk/control/ViewController.java

+ 1 - 1
DataFusion/src/com/zskk/control/ViewController.java

@@ -85,7 +85,7 @@ public class ViewController extends Controller {
 				report.save();
 				PatientInfos patientInfos = PatientInfos.dao.use("zskk").findById(exams2.getPatientId());
 				patientInfos.setName(record.getStr("PATIENTNAME"));
-				patientInfos.setPhone(record.getStr("PHONE"));
+				patientInfos.setPhone(record.getStr("PHONE")==null?"":record.getStr("PHONE"));
 				patientInfos.setCardNum(record.getStr("IDCARD"));
 				patientInfos.update();
 				exams2.setApplicationDepartment(record.getStr("DEPATMENT"));