Commit 4a16ed272355b501f647413fa489706435eb5ec7
1 parent
122fa52c69
Exists in
master
and in
8 other branches
修改新电子病历
Showing 1 changed file with 8 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
4a16ed2
| ... | ... | @@ -675,8 +675,16 @@ |
| 675 | 675 | postReviewQuery.setPid(pid); |
| 676 | 676 | Object obj = map.get(listDate.get(i).getId()); |
| 677 | 677 | if (obj instanceof MaternalDeliverModel) { |
| 678 | + MaternalDeliverModel model= (MaternalDeliverModel)obj; | |
| 679 | + if (null != model.getHospitalId()) { | |
| 680 | + organization = organizationService.getOrganization(Integer.valueOf(model.getHospitalId())); | |
| 681 | + } | |
| 678 | 682 | listData.add(new AntData((MaternalDeliverModel) obj, patientses.get(0).getLastMenses(), null != organization ? organization.getName() : "")); |
| 679 | 683 | } else if (obj instanceof StopPregModel) { |
| 684 | + StopPregModel model= (StopPregModel)obj; | |
| 685 | + if (null != model.getHospitalId()) { | |
| 686 | + organization = organizationService.getOrganization(Integer.valueOf(model.getHospitalId())); | |
| 687 | + } | |
| 680 | 688 | listData.add(new AntData(stopPregs.get(0), patientses.get(0).getLastMenses(), null != organization ? organization.getName() : "")); |
| 681 | 689 | } |
| 682 | 690 |