From 63db1e37490c0c9d01cd599e690ea2e5cd69a99c Mon Sep 17 00:00:00 2001 From: gengxiaokai Date: Thu, 6 Sep 2018 08:39:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=BF=E5=BE=B7=E5=85=AC=E5=8D=AB=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/lyms/hospitalapi/Cdfy/CdGwInterface.java | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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()+"\"," + -- 1.8.3.1