diff --git a/platform-operate-api/src/main/java/com/lyms/hospitalapi/Cdfy/CdGwInterface.java b/platform-operate-api/src/main/java/com/lyms/hospitalapi/Cdfy/CdGwInterface.java index 4b8c184..ad52ed9 100644 --- a/platform-operate-api/src/main/java/com/lyms/hospitalapi/Cdfy/CdGwInterface.java +++ b/platform-operate-api/src/main/java/com/lyms/hospitalapi/Cdfy/CdGwInterface.java @@ -192,7 +192,7 @@ public class CdGwInterface { String id = findPersonInfoId(param); if (null == id) { String bir = DateUtil.getyyyy_MM_dd(patient.getBirth()); - String par = "{\"name\":\""+patient.getUsername()+"\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patient.getCardNo()+"\"," + + String par = "{\"name\":\""+patient.getUsername()+"\",\"sexCode\":\"2\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patient.getCardNo()+"\"," + "\"telNo\":\""+patient.getPhone()+"\",\"birthday\":\""+bir+"\",\"address\":\""+jQquan+"\"," + "\"householdAddress\":\""+hQuan+"\",\"committee\":\""+qhId+"\",\"residential\":\"\",\"building\":\"\"," + "\"unit\":\"\",\"roomNumber\":\"\",\"fixedPhones\":\"\",\"contactName\":\""+patient.getHusbandName()+"\",\"contactTelNo\":\""+patient.getHusbandPhone()+"\",\"workUnit\":\""+patient.getPworkUnit()+"\"," + @@ -533,7 +533,7 @@ public class CdGwInterface { String id = findPersonInfoId(param); if (null == id) { String bir = DateUtil.getyyyy_MM_dd(patients.getBirth()); - String par = "{\"name\":\""+patients.getUsername()+"\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + + String par = "{\"name\":\""+patients.getUsername()+"\",\"sexCode\":\"2\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + "\"telNo\":\""+patients.getPhone()+"\",\"birthday\":\""+bir+"\",\"address\":\""+jQquan+"\"," + "\"householdAddress\":\""+hQuan+"\",\"committee\":\""+qhId+"\",\"residential\":\"\",\"building\":\"\"," + "\"unit\":\"\",\"roomNumber\":\"\",\"fixedPhones\":\"\",\"contactName\":\""+patients.getHusbandName()+"\",\"contactTelNo\":\""+patients.getHusbandPhone()+"\",\"workUnit\":\""+patients.getPworkUnit()+"\"," + @@ -1253,7 +1253,7 @@ public class CdGwInterface { String id = findPersonInfoId(param); if (null == id) { String bir = DateUtil.getyyyy_MM_dd(patients.getBirth()); - String par = "{\"name\":\""+patients.getUsername()+"\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + + String par = "{\"name\":\""+patients.getUsername()+"\",\"sexCode\":\"2\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + "\"telNo\":\""+patients.getPhone()+"\",\"birthday\":\""+bir+"\",\"address\":\""+jQquan+"\"," + "\"householdAddress\":\""+hQuan+"\",\"committee\":\""+qhId+"\",\"residential\":\"\",\"building\":\"\"," + "\"unit\":\"\",\"roomNumber\":\"\",\"fixedPhones\":\"\",\"contactName\":\""+patients.getHusbandName()+"\",\"contactTelNo\":\""+patients.getHusbandPhone()+"\",\"workUnit\":\""+patients.getPworkUnit()+"\"," + @@ -1537,7 +1537,7 @@ public class CdGwInterface { String id = findPersonInfoId(param); if (null == id) { String bir = DateUtil.getyyyy_MM_dd(patients.getBirth()); - String par = "{\"name\":\""+patients.getUsername()+"\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + + String par = "{\"name\":\""+patients.getUsername()+"\",\"sexCode\":\"2\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + "\"telNo\":\""+patients.getPhone()+"\",\"birthday\":\""+bir+"\",\"address\":\""+jQquan+"\"," + "\"householdAddress\":\""+hQuan+"\",\"committee\":\""+qhId+"\",\"residential\":\"\",\"building\":\"\"," + "\"unit\":\"\",\"roomNumber\":\"\",\"fixedPhones\":\"\",\"contactName\":\""+patients.getHusbandName()+"\",\"contactTelNo\":\""+patients.getHusbandPhone()+"\",\"workUnit\":\""+patients.getPworkUnit()+"\"," + @@ -2356,7 +2356,7 @@ public class CdGwInterface { String id = findPersonInfoId(param); if (null == id) { String bir = DateUtil.getyyyy_MM_dd(patients.getBirth()); - String par = "{\"name\":\""+patients.getUsername()+"\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + + String par = "{\"name\":\""+patients.getUsername()+"\",\"sexCode\":\"2\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + "\"telNo\":\""+patients.getPhone()+"\",\"birthday\":\""+bir+"\",\"address\":\""+jQquan+"\"," + "\"householdAddress\":\""+hQuan+"\",\"committee\":\"\",\"residential\":\"\",\"building\":\"\"," + "\"unit\":\"\",\"roomNumber\":\"\",\"fixedPhones\":\"\",\"contactName\":\""+patients.getHusbandName()+"\",\"contactTelNo\":\""+patients.getHusbandPhone()+"\",\"workUnit\":\""+patients.getPworkUnit()+"\"," + @@ -2619,7 +2619,7 @@ public class CdGwInterface { String id = findPersonInfoId(param); if (null == id) { String bir = DateUtil.getyyyy_MM_dd(patients.getBirth()); - String par = "{\"name\":\""+patients.getUsername()+"\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + + String par = "{\"name\":\""+patients.getUsername()+"\",\"sexCode\":\"2\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + "\"telNo\":\""+patients.getPhone()+"\",\"birthday\":\""+bir+"\",\"address\":\""+jQquan+"\"," + "\"householdAddress\":\""+hQuan+"\",\"committee\":\""+qhId+"\",\"residential\":\"\",\"building\":\"\"," + "\"unit\":\"\",\"roomNumber\":\"\",\"fixedPhones\":\"\",\"contactName\":\""+patients.getHusbandName()+"\",\"contactTelNo\":\""+patients.getHusbandPhone()+"\",\"workUnit\":\""+patients.getPworkUnit()+"\"," + @@ -2840,7 +2840,7 @@ public class CdGwInterface { String id = findPersonInfoId(param); if (null == id) { String bir = DateUtil.getyyyy_MM_dd(patients.getBirth()); - String par = "{\"name\":\""+patients.getUsername()+"\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + + String par = "{\"name\":\""+patients.getUsername()+"\",\"sexCode\":\"2\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + "\"telNo\":\""+patients.getPhone()+"\",\"birthday\":\""+bir+"\",\"address\":\""+jQquan+"\"," + "\"householdAddress\":\""+hQuan+"\",\"committee\":\""+qhId+"\",\"residential\":\"\",\"building\":\"\"," + "\"unit\":\"\",\"roomNumber\":\"\",\"fixedPhones\":\"\",\"contactName\":\""+patients.getHusbandName()+"\",\"contactTelNo\":\""+patients.getHusbandPhone()+"\",\"workUnit\":\""+patients.getPworkUnit()+"\"," + @@ -3072,7 +3072,7 @@ public class CdGwInterface { String id = findPersonInfoId(param); if(null == id){ String bir = DateUtil.getyyyy_MM_dd(patients.getBirth()); - String par = "{\"name\":\""+patients.getUsername()+"\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + + String par = "{\"name\":\""+patients.getUsername()+"\",\"sexCode\":\"2\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + "\"telNo\":\""+patients.getPhone()+"\",\"birthday\":\""+bir+"\",\"address\":\""+jQquan+"\"," + "\"householdAddress\":\""+hQuan+"\",\"committee\":\""+qhId+"\",\"residential\":\"\",\"building\":\"\"," + "\"unit\":\"\",\"roomNumber\":\"\",\"fixedPhones\":\"\",\"contactName\":\""+patients.getHusbandName()+"\",\"contactTelNo\":\""+patients.getHusbandPhone()+"\",\"workUnit\":\""+patients.getPworkUnit()+"\"," + @@ -3331,7 +3331,7 @@ public class CdGwInterface { String id = findPersonInfoId(param); if (null == id) { String bir = DateUtil.getyyyy_MM_dd(patients.getBirth()); - String par = "{\"name\":\""+patients.getUsername()+"\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + + String par = "{\"name\":\""+patients.getUsername()+"\",\"sexCode\":\"2\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + "\"telNo\":\""+patients.getPhone()+"\",\"birthday\":\""+bir+"\",\"address\":\""+jQquan+"\"," + "\"householdAddress\":\""+hQuan+"\",\"committee\":\""+qhId+"\",\"residential\":\"\",\"building\":\"\"," + "\"unit\":\"\",\"roomNumber\":\"\",\"fixedPhones\":\"\",\"contactName\":\""+patients.getHusbandName()+"\",\"contactTelNo\":\""+patients.getHusbandPhone()+"\",\"workUnit\":\""+patients.getPworkUnit()+"\"," + @@ -3778,7 +3778,7 @@ public class CdGwInterface { String id = findPersonInfoId(param); if (null == id) { String bir = DateUtil.getyyyy_MM_dd(patients.getBirth()); - String par = "{\"name\":\""+patients.getUsername()+"\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + + String par = "{\"name\":\""+patients.getUsername()+"\",\"sexCode\":\"2\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + "\"telNo\":\""+patients.getPhone()+"\",\"birthday\":\""+bir+"\",\"address\":\""+jQquan+"\"," + "\"householdAddress\":\""+hQuan+"\",\"committee\":\""+qhId+"\",\"residential\":\"\",\"building\":\"\"," + "\"unit\":\"\",\"roomNumber\":\"\",\"fixedPhones\":\"\",\"contactName\":\""+patients.getHusbandName()+"\",\"contactTelNo\":\""+patients.getHusbandPhone()+"\",\"workUnit\":\""+patients.getPworkUnit()+"\"," +