Commit 762998eacdd684585ab9af7e4b03af5dc570f594
1 parent
947f00c70a
Exists in
master
and in
1 other branch
秦皇岛基本公卫接口修改
Showing 1 changed file with 24 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/hospitalapi/qhdfy/QhdJbgwInterface.java
View file @
762998e
| ... | ... | @@ -210,7 +210,9 @@ |
| 210 | 210 | for(AntExChuModel antExChuModel : list){ |
| 211 | 211 | try{ |
| 212 | 212 | Patients patients = patientsService.findOnePatientById(antExChuModel.getParentId()); |
| 213 | - | |
| 213 | + if("2100001705".equals(patients.getHospitalId())){ | |
| 214 | + continue; | |
| 215 | + } | |
| 214 | 216 | //居住地址 |
| 215 | 217 | String jzSheng = CommonsHelper.getName1(patients.getProvinceRegisterId(), basicConfigService); |
| 216 | 218 | String jzShi = CommonsHelper.getName1(patients.getCityRegisterId(), basicConfigService); |
| ... | ... | @@ -512,6 +514,9 @@ |
| 512 | 514 | for(AntenatalExaminationModel data : list){ |
| 513 | 515 | try{ |
| 514 | 516 | Patients patients = patientsService.findOnePatientById(data.getParentId()); |
| 517 | + if("2100001705".equals(patients.getHospitalId())){ | |
| 518 | + continue; | |
| 519 | + } | |
| 515 | 520 | String cDueWeek = ResolveUtils.getPregnancyWeek(patients.getLastMenses(), data.getCheckDate()); |
| 516 | 521 | int week = Integer.parseInt(cDueWeek.substring(1, cDueWeek.indexOf("周"))); |
| 517 | 522 | int day = Integer.parseInt(cDueWeek.substring(cDueWeek.indexOf("+") + 1, cDueWeek.indexOf("天"))); |
| ... | ... | @@ -593,7 +598,9 @@ |
| 593 | 598 | if(list != null && list.size() > 0){ |
| 594 | 599 | for(MaternalDeliverModel data : list) { |
| 595 | 600 | Patients patients = patientsService.findOnePatientById(data.getParentId()); |
| 596 | - | |
| 601 | + if("2100001705".equals(patients.getHospitalId())){ | |
| 602 | + continue; | |
| 603 | + } | |
| 597 | 604 | //新生儿信息 |
| 598 | 605 | List<Map<String, Object>> babyList = new ArrayList<>(); |
| 599 | 606 | |
| ... | ... | @@ -869,6 +876,9 @@ |
| 869 | 876 | for(BabyModel babyModel : models){ |
| 870 | 877 | try{ |
| 871 | 878 | Patients patients = patientsService.findOnePatientById(babyModel.getParentId()); |
| 879 | + if("2100001705".equals(patients.getHospitalId())){ | |
| 880 | + continue; | |
| 881 | + } | |
| 872 | 882 | Map<String,String> map = new HashMap<String,String>(); |
| 873 | 883 | map.put("NEWBORNSITUATIONID",babyModel.getId()); |
| 874 | 884 | map.put("MATERNALINFOID",patients.getId()); |
| ... | ... | @@ -949,6 +959,9 @@ |
| 949 | 959 | //根据分娩ID查询孕妇基本信息 |
| 950 | 960 | MaternalDeliverModel md = matDeliverService.getOneMatDeliver(data.getDeliverId()); |
| 951 | 961 | Patients patients = patientsService.findOnePatientById(md.getParentId()); |
| 962 | + if("2100001705".equals(patients.getHospitalId())){ | |
| 963 | + continue; | |
| 964 | + } | |
| 952 | 965 | map.put("POSTPARTUMFOLLOWUPID",data.getId()); |
| 953 | 966 | map.put("MATERNALINFOID", patients.getId()); |
| 954 | 967 | map.put("NAME",patients.getUsername()); |
| ... | ... | @@ -1080,6 +1093,9 @@ |
| 1080 | 1093 | for(PostReviewModel data : list){ |
| 1081 | 1094 | try{ |
| 1082 | 1095 | Patients patients = patientsService.findOnePatientById(data.getParentId()); |
| 1096 | + if("2100001705".equals(patients.getHospitalId())){ | |
| 1097 | + continue; | |
| 1098 | + } | |
| 1083 | 1099 | Map<String,String> map = new HashMap<String,String>(); |
| 1084 | 1100 | map.put("POSTPARTUMFOLLOWUPID",data.getId()); |
| 1085 | 1101 | map.put("MATERNALINFOID",patients.getId()); |
| ... | ... | @@ -1186,6 +1202,9 @@ |
| 1186 | 1202 | |
| 1187 | 1203 | //获取母亲基本信息 |
| 1188 | 1204 | Patients patients = patientsService.findOnePatientById(model.getParentId()); |
| 1205 | + if("2100001705".equals(patients.getHospitalId())){ | |
| 1206 | + continue; | |
| 1207 | + } | |
| 1189 | 1208 | |
| 1190 | 1209 | Map<String,String> map = new HashMap<String,String>(); |
| 1191 | 1210 | map.put("CHILDHOMEVISITID",newbornVisit.getId()); |
| ... | ... | @@ -1531,6 +1550,9 @@ |
| 1531 | 1550 | BabyModel babyModel = models.get(0); |
| 1532 | 1551 | //获取母亲基本信息 |
| 1533 | 1552 | Patients patients = patientsService.findOnePatientById(babyModel.getParentId()); |
| 1553 | + if("2100001705".equals(patients.getHospitalId())){ | |
| 1554 | + continue; | |
| 1555 | + } | |
| 1534 | 1556 | |
| 1535 | 1557 | if(babyCheckModel.getCheckMonth() != null && 0 != babyCheckModel.getCheckMonth()){ |
| 1536 | 1558 | map.put("CHILDHEALTHEXAMID",babyCheckModel.getId()); |