Commit 83a1db66df269d817a5d6b4ba089a7d1d40cf29a
1 parent
d8676374f9
Exists in
master
and in
6 other branches
承德接口接口修改
Showing 1 changed file with 4 additions and 4 deletions
platform-operate-api/src/main/java/com/lyms/hospitalapi/Cdfy/CdGwInterface.java
View file @
83a1db6
... | ... | @@ -86,7 +86,7 @@ |
86 | 86 | public BaseObjectResponse saveBaseInfo(Patients patient) { |
87 | 87 | Map<String,String> gxMap = new HashMap<String,String>(); |
88 | 88 | BaseObjectResponse br = new BaseObjectResponse(); |
89 | - Connection conn = ConnTools.makeCsConnection(); | |
89 | + Connection conn = ConnTools.makeGwConnection(); | |
90 | 90 | PreparedStatement ps = null; |
91 | 91 | ResultSet rs = null; |
92 | 92 | int result = 0; |
93 | 93 | |
... | ... | @@ -1183,13 +1183,13 @@ |
1183 | 1183 | String bir = DateUtil.getyyyy_MM_dd(patients.getBirth()); |
1184 | 1184 | String par = "{\"name\":\""+patients.getUsername()+"\",\"pinYinStr\":\"\",\"formerName\":\"\",\"idNo\":\""+patients.getCardNo()+"\"," + |
1185 | 1185 | "\"telNo\":\""+patients.getPhone()+"\",\"birthday\":\""+bir+"\",\"address\":\""+jQquan+"\"," + |
1186 | - "\"householdAddress\":\""+hQuan+"\",\"committee\":\"30832bbc-7231-442c-8a0a-a3662cee0c46\",\"residential\":\"\",\"building\":\"\"," + | |
1186 | + "\"householdAddress\":\""+hQuan+"\",\"committee\":\""+qhId+"\",\"residential\":\"\",\"building\":\"\"," + | |
1187 | 1187 | "\"unit\":\"\",\"roomNumber\":\"\",\"fixedPhones\":\"\",\"contactName\":\"\",\"contactTelNo\":\"\",\"workUnit\":\""+patients.getPworkUnit()+"\"," + |
1188 | 1188 | "\"residenceTypeCode\":\"1\",\"householdTypeCode\":\"\",\"nationalityCode\":\""+mzCode+"\",\"nationalityValue\":\""+mzName+"\"," + |
1189 | 1189 | "\"personInfoSno\":\"\",\"aboCode\":\"5\",\"rhCode\":\"3\",\"educationCode\":\"10\",\"occupationCode\":\"1\"," + |
1190 | 1190 | "\"marriageCode\":\"2\",\"geneticDiseaseHistoryCode\":\"1\",\"geneticDiseaseHistoryName\":\"无\",\"isDisabilityEyesight\":\"\"," + |
1191 | 1191 | "\"isDisabilityHearing\":\"\",\"isDisabilityLanguage\":\"\",\"isDisabilityLimbs\":\"\",\"isDisabilityBrain\":\"\",\"isDisabilityMind\":\"\"," + |
1192 | - "\"kitchenExhaustCode\":\"\",\"toiletCode\":\"\",\"livestockFenceCode\":\"\",\"createOrgId\":\"60f5462b-2b4f-4cad-9645-83e1be0af87f\"," + | |
1192 | + "\"kitchenExhaustCode\":\"\",\"toiletCode\":\"\",\"livestockFenceCode\":\"\",\"createOrgId\":\""+createOrgId+"\"," + | |
1193 | 1193 | "\"orgName\":\""+hospital+"\",\"creatorId\":\"无\",\"creator\":\""+patients.getBookbuildingDoctor()+"\"," + |
1194 | 1194 | "\"modifiedOrgId\":\"无\",\"modifiedOrgName\":\""+hospital+"\",\"modifierId\":\"无\",\"modifier\":\""+patients.getBookbuildingDoctor()+"\"," + |
1195 | 1195 | "\"remarks\":\"\",\"recordChoice\": [{\"codeType\": \"medicalPayWay\",\"code\": \"1\",\"name\": \"城镇职工基本医疗保险\"}," + |
... | ... | @@ -3714,7 +3714,7 @@ |
3714 | 3714 | "\"personInfoSno\":\"\",\"aboCode\":\"5\",\"rhCode\":\"3\",\"educationCode\":\"10\",\"occupationCode\":\"1\"," + |
3715 | 3715 | "\"marriageCode\":\"2\",\"geneticDiseaseHistoryCode\":\"1\",\"geneticDiseaseHistoryName\":\"无\",\"isDisabilityEyesight\":\"\"," + |
3716 | 3716 | "\"isDisabilityHearing\":\"\",\"isDisabilityLanguage\":\"\",\"isDisabilityLimbs\":\"\",\"isDisabilityBrain\":\"\",\"isDisabilityMind\":\"\"," + |
3717 | - "\"kitchenExhaustCode\":\"\",\"toiletCode\":\"\",\"livestockFenceCode\":\"\",\"createOrgId\":\""+code+"\"," + | |
3717 | + "\"kitchenExhaustCode\":\"\",\"toiletCode\":\"\",\"livestockFenceCode\":\"\",\"createOrgId\":\""+createOrgId+"\"," + | |
3718 | 3718 | "\"orgName\":\""+hospital+"\",\"creatorId\":\"无\",\"creator\":\""+patients.getBookbuildingDoctor()+"\"," + |
3719 | 3719 | "\"modifiedOrgId\":\"无\",\"modifiedOrgName\":\""+hospital+"\",\"modifierId\":\"无\",\"modifier\":\""+patients.getBookbuildingDoctor()+"\"," + |
3720 | 3720 | "\"remarks\":\"\",\"recordChoice\": [{\"codeType\": \"medicalPayWay\",\"code\": \"1\",\"name\": \"城镇职工基本医疗保险\"}," + |