Commit a907dbd0a7de3c9208006e16609ab03854bb19da
1 parent
4cbcb5d72c
Exists in
master
and in
1 other branch
修改新电子病历
Showing 1 changed file with 3 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
a907dbd
... | ... | @@ -809,7 +809,9 @@ |
809 | 809 | if (null != postReviewModel.getHospitalId()) { |
810 | 810 | organization = organizationService.getOrganization(Integer.valueOf(postReviewModel.getHospitalId())); |
811 | 811 | } |
812 | - listData.add(new AntData(postReviewModel, null != organization ? organization.getName() : "", patientses.get(patientses.size() - 1).getFmDate())); | |
812 | + int size = patientses.size(); | |
813 | + | |
814 | + listData.add(new AntData(postReviewModel, null != organization ? organization.getName() : "", patientses.get(size>1?size-1:size).getFmDate())); | |
813 | 815 | } |
814 | 816 | |
815 | 817 | } |