Commit 897d8152d0c670d421321c65ae95f73aaee4f511

Authored by gengxiaokai
1 parent accae54a84

聊城分娩接口

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
... ... @@ -61,7 +61,7 @@
61 61 private String modifierId;//最后修改人ID
62 62 private String modifier;//最后修改人
63 63 private String remarks;//备注
64   - private String isAppCreate="9";//上传标识
  64 + private String isAppCreate;//上传标识
65 65  
66 66  
67 67 public String getPersonInfoId() {