Commit 63db1e37490c0c9d01cd599e690ea2e5cd69a99c
1 parent
3566e3eb0a
Exists in
master
and in
6 other branches
承德公卫接口修改
Showing 1 changed file with 10 additions and 10 deletions
platform-operate-api/src/main/java/com/lyms/hospitalapi/Cdfy/CdGwInterface.java
View file @
63db1e3
| ... | ... | @@ -192,7 +192,7 @@ |
| 192 | 192 | String id = findPersonInfoId(param); |
| 193 | 193 | if (null == id) { |
| 194 | 194 | String bir = DateUtil.getyyyy_MM_dd(patient.getBirth()); |
| 195 | - String par = "{\"name\":\""+patient.getUsername()+"\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patient.getCardNo()+"\"," + | |
| 195 | + String par = "{\"name\":\""+patient.getUsername()+"\",\"sexCode\":\"2\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patient.getCardNo()+"\"," + | |
| 196 | 196 | "\"telNo\":\""+patient.getPhone()+"\",\"birthday\":\""+bir+"\",\"address\":\""+jQquan+"\"," + |
| 197 | 197 | "\"householdAddress\":\""+hQuan+"\",\"committee\":\""+qhId+"\",\"residential\":\"\",\"building\":\"\"," + |
| 198 | 198 | "\"unit\":\"\",\"roomNumber\":\"\",\"fixedPhones\":\"\",\"contactName\":\""+patient.getHusbandName()+"\",\"contactTelNo\":\""+patient.getHusbandPhone()+"\",\"workUnit\":\""+patient.getPworkUnit()+"\"," + |
| ... | ... | @@ -533,7 +533,7 @@ |
| 533 | 533 | String id = findPersonInfoId(param); |
| 534 | 534 | if (null == id) { |
| 535 | 535 | String bir = DateUtil.getyyyy_MM_dd(patients.getBirth()); |
| 536 | - String par = "{\"name\":\""+patients.getUsername()+"\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + | |
| 536 | + String par = "{\"name\":\""+patients.getUsername()+"\",\"sexCode\":\"2\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + | |
| 537 | 537 | "\"telNo\":\""+patients.getPhone()+"\",\"birthday\":\""+bir+"\",\"address\":\""+jQquan+"\"," + |
| 538 | 538 | "\"householdAddress\":\""+hQuan+"\",\"committee\":\""+qhId+"\",\"residential\":\"\",\"building\":\"\"," + |
| 539 | 539 | "\"unit\":\"\",\"roomNumber\":\"\",\"fixedPhones\":\"\",\"contactName\":\""+patients.getHusbandName()+"\",\"contactTelNo\":\""+patients.getHusbandPhone()+"\",\"workUnit\":\""+patients.getPworkUnit()+"\"," + |
| ... | ... | @@ -1253,7 +1253,7 @@ |
| 1253 | 1253 | String id = findPersonInfoId(param); |
| 1254 | 1254 | if (null == id) { |
| 1255 | 1255 | String bir = DateUtil.getyyyy_MM_dd(patients.getBirth()); |
| 1256 | - String par = "{\"name\":\""+patients.getUsername()+"\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + | |
| 1256 | + String par = "{\"name\":\""+patients.getUsername()+"\",\"sexCode\":\"2\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + | |
| 1257 | 1257 | "\"telNo\":\""+patients.getPhone()+"\",\"birthday\":\""+bir+"\",\"address\":\""+jQquan+"\"," + |
| 1258 | 1258 | "\"householdAddress\":\""+hQuan+"\",\"committee\":\""+qhId+"\",\"residential\":\"\",\"building\":\"\"," + |
| 1259 | 1259 | "\"unit\":\"\",\"roomNumber\":\"\",\"fixedPhones\":\"\",\"contactName\":\""+patients.getHusbandName()+"\",\"contactTelNo\":\""+patients.getHusbandPhone()+"\",\"workUnit\":\""+patients.getPworkUnit()+"\"," + |
| ... | ... | @@ -1537,7 +1537,7 @@ |
| 1537 | 1537 | String id = findPersonInfoId(param); |
| 1538 | 1538 | if (null == id) { |
| 1539 | 1539 | String bir = DateUtil.getyyyy_MM_dd(patients.getBirth()); |
| 1540 | - String par = "{\"name\":\""+patients.getUsername()+"\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + | |
| 1540 | + String par = "{\"name\":\""+patients.getUsername()+"\",\"sexCode\":\"2\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + | |
| 1541 | 1541 | "\"telNo\":\""+patients.getPhone()+"\",\"birthday\":\""+bir+"\",\"address\":\""+jQquan+"\"," + |
| 1542 | 1542 | "\"householdAddress\":\""+hQuan+"\",\"committee\":\""+qhId+"\",\"residential\":\"\",\"building\":\"\"," + |
| 1543 | 1543 | "\"unit\":\"\",\"roomNumber\":\"\",\"fixedPhones\":\"\",\"contactName\":\""+patients.getHusbandName()+"\",\"contactTelNo\":\""+patients.getHusbandPhone()+"\",\"workUnit\":\""+patients.getPworkUnit()+"\"," + |
| ... | ... | @@ -2356,7 +2356,7 @@ |
| 2356 | 2356 | String id = findPersonInfoId(param); |
| 2357 | 2357 | if (null == id) { |
| 2358 | 2358 | String bir = DateUtil.getyyyy_MM_dd(patients.getBirth()); |
| 2359 | - String par = "{\"name\":\""+patients.getUsername()+"\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + | |
| 2359 | + String par = "{\"name\":\""+patients.getUsername()+"\",\"sexCode\":\"2\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + | |
| 2360 | 2360 | "\"telNo\":\""+patients.getPhone()+"\",\"birthday\":\""+bir+"\",\"address\":\""+jQquan+"\"," + |
| 2361 | 2361 | "\"householdAddress\":\""+hQuan+"\",\"committee\":\"\",\"residential\":\"\",\"building\":\"\"," + |
| 2362 | 2362 | "\"unit\":\"\",\"roomNumber\":\"\",\"fixedPhones\":\"\",\"contactName\":\""+patients.getHusbandName()+"\",\"contactTelNo\":\""+patients.getHusbandPhone()+"\",\"workUnit\":\""+patients.getPworkUnit()+"\"," + |
| ... | ... | @@ -2619,7 +2619,7 @@ |
| 2619 | 2619 | String id = findPersonInfoId(param); |
| 2620 | 2620 | if (null == id) { |
| 2621 | 2621 | String bir = DateUtil.getyyyy_MM_dd(patients.getBirth()); |
| 2622 | - String par = "{\"name\":\""+patients.getUsername()+"\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + | |
| 2622 | + String par = "{\"name\":\""+patients.getUsername()+"\",\"sexCode\":\"2\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + | |
| 2623 | 2623 | "\"telNo\":\""+patients.getPhone()+"\",\"birthday\":\""+bir+"\",\"address\":\""+jQquan+"\"," + |
| 2624 | 2624 | "\"householdAddress\":\""+hQuan+"\",\"committee\":\""+qhId+"\",\"residential\":\"\",\"building\":\"\"," + |
| 2625 | 2625 | "\"unit\":\"\",\"roomNumber\":\"\",\"fixedPhones\":\"\",\"contactName\":\""+patients.getHusbandName()+"\",\"contactTelNo\":\""+patients.getHusbandPhone()+"\",\"workUnit\":\""+patients.getPworkUnit()+"\"," + |
| ... | ... | @@ -2840,7 +2840,7 @@ |
| 2840 | 2840 | String id = findPersonInfoId(param); |
| 2841 | 2841 | if (null == id) { |
| 2842 | 2842 | String bir = DateUtil.getyyyy_MM_dd(patients.getBirth()); |
| 2843 | - String par = "{\"name\":\""+patients.getUsername()+"\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + | |
| 2843 | + String par = "{\"name\":\""+patients.getUsername()+"\",\"sexCode\":\"2\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + | |
| 2844 | 2844 | "\"telNo\":\""+patients.getPhone()+"\",\"birthday\":\""+bir+"\",\"address\":\""+jQquan+"\"," + |
| 2845 | 2845 | "\"householdAddress\":\""+hQuan+"\",\"committee\":\""+qhId+"\",\"residential\":\"\",\"building\":\"\"," + |
| 2846 | 2846 | "\"unit\":\"\",\"roomNumber\":\"\",\"fixedPhones\":\"\",\"contactName\":\""+patients.getHusbandName()+"\",\"contactTelNo\":\""+patients.getHusbandPhone()+"\",\"workUnit\":\""+patients.getPworkUnit()+"\"," + |
| ... | ... | @@ -3072,7 +3072,7 @@ |
| 3072 | 3072 | String id = findPersonInfoId(param); |
| 3073 | 3073 | if(null == id){ |
| 3074 | 3074 | String bir = DateUtil.getyyyy_MM_dd(patients.getBirth()); |
| 3075 | - String par = "{\"name\":\""+patients.getUsername()+"\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + | |
| 3075 | + String par = "{\"name\":\""+patients.getUsername()+"\",\"sexCode\":\"2\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + | |
| 3076 | 3076 | "\"telNo\":\""+patients.getPhone()+"\",\"birthday\":\""+bir+"\",\"address\":\""+jQquan+"\"," + |
| 3077 | 3077 | "\"householdAddress\":\""+hQuan+"\",\"committee\":\""+qhId+"\",\"residential\":\"\",\"building\":\"\"," + |
| 3078 | 3078 | "\"unit\":\"\",\"roomNumber\":\"\",\"fixedPhones\":\"\",\"contactName\":\""+patients.getHusbandName()+"\",\"contactTelNo\":\""+patients.getHusbandPhone()+"\",\"workUnit\":\""+patients.getPworkUnit()+"\"," + |
| ... | ... | @@ -3331,7 +3331,7 @@ |
| 3331 | 3331 | String id = findPersonInfoId(param); |
| 3332 | 3332 | if (null == id) { |
| 3333 | 3333 | String bir = DateUtil.getyyyy_MM_dd(patients.getBirth()); |
| 3334 | - String par = "{\"name\":\""+patients.getUsername()+"\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + | |
| 3334 | + String par = "{\"name\":\""+patients.getUsername()+"\",\"sexCode\":\"2\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + | |
| 3335 | 3335 | "\"telNo\":\""+patients.getPhone()+"\",\"birthday\":\""+bir+"\",\"address\":\""+jQquan+"\"," + |
| 3336 | 3336 | "\"householdAddress\":\""+hQuan+"\",\"committee\":\""+qhId+"\",\"residential\":\"\",\"building\":\"\"," + |
| 3337 | 3337 | "\"unit\":\"\",\"roomNumber\":\"\",\"fixedPhones\":\"\",\"contactName\":\""+patients.getHusbandName()+"\",\"contactTelNo\":\""+patients.getHusbandPhone()+"\",\"workUnit\":\""+patients.getPworkUnit()+"\"," + |
| ... | ... | @@ -3778,7 +3778,7 @@ |
| 3778 | 3778 | String id = findPersonInfoId(param); |
| 3779 | 3779 | if (null == id) { |
| 3780 | 3780 | String bir = DateUtil.getyyyy_MM_dd(patients.getBirth()); |
| 3781 | - String par = "{\"name\":\""+patients.getUsername()+"\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + | |
| 3781 | + String par = "{\"name\":\""+patients.getUsername()+"\",\"sexCode\":\"2\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + | |
| 3782 | 3782 | "\"telNo\":\""+patients.getPhone()+"\",\"birthday\":\""+bir+"\",\"address\":\""+jQquan+"\"," + |
| 3783 | 3783 | "\"householdAddress\":\""+hQuan+"\",\"committee\":\""+qhId+"\",\"residential\":\"\",\"building\":\"\"," + |
| 3784 | 3784 | "\"unit\":\"\",\"roomNumber\":\"\",\"fixedPhones\":\"\",\"contactName\":\""+patients.getHusbandName()+"\",\"contactTelNo\":\""+patients.getHusbandPhone()+"\",\"workUnit\":\""+patients.getPworkUnit()+"\"," + |