Commit 897d8152d0c670d421321c65ae95f73aaee4f511
1 parent
accae54a84
Exists in
master
and in
6 other branches
聊城分娩接口
Showing 2 changed files with 15 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/hospitalapi/Cdfy/CdGwInterface.java
View file @
897d815
| 1 | 1 | package com.lyms.hospitalapi.Cdfy; |
| 2 | 2 | |
| 3 | +import com.lyms.hospitalapi.pojo.HealthRecord; | |
| 3 | 4 | import com.lyms.platform.pojo.Patients; |
| 4 | 5 | import org.springframework.stereotype.Service; |
| 5 | 6 | |
| 6 | 7 | |
| ... | ... | @@ -10,12 +11,24 @@ |
| 10 | 11 | @Service("cdGwInterface") |
| 11 | 12 | public class CdGwInterface { |
| 12 | 13 | |
| 13 | - //保存孕妇建档(更新健康档案) | |
| 14 | + //保存孕妇建档(更新健康档案暂时不支持) | |
| 14 | 15 | private static String jdUrl = "http://gxgg.greatsoft.net:8083/maternal/personInfo/savePersonInfo"; |
| 15 | 16 | |
| 16 | 17 | |
| 17 | 18 | public String saveRecord(Patients patient,String hosipitalId){ |
| 18 | 19 | |
| 20 | + HealthRecord HealthRecord = new HealthRecord(); | |
| 21 | + HealthRecord.setPersonInfoId(""); | |
| 22 | + HealthRecord.setName(""); | |
| 23 | + HealthRecord.setPinYinStr("无"); | |
| 24 | + HealthRecord.setIdNo(patient.getCardNo()); | |
| 25 | + HealthRecord.setTelNo(patient.getPhone()); | |
| 26 | + | |
| 27 | + | |
| 28 | + HealthRecord.setIsAppCreate("9"); | |
| 29 | + HealthRecord.setRemarks("无"); | |
| 30 | + HealthRecord.setModifier(""); | |
| 31 | + HealthRecord.setModifierId(""); | |
| 19 | 32 | |
| 20 | 33 | |
| 21 | 34 | return null; |
platform-operate-api/src/main/java/com/lyms/hospitalapi/pojo/HealthRecord.java
View file @
897d815