Commit c206b68fcff5e96fce2868708bbc7b71d7a423cc
1 parent
4e73d85c4e
Exists in
master
and in
6 other branches
出院小结和自动诊断
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
c206b68
... | ... | @@ -5869,14 +5869,14 @@ |
5869 | 5869 | { |
5870 | 5870 | String fid = ""; |
5871 | 5871 | AntExQuery antExQuery = new AntExQuery(); |
5872 | - antExQuery.setParentId(pat.getPid()); | |
5872 | + antExQuery.setParentId(pat.getId()); | |
5873 | 5873 | antExQuery.setYn(YnEnums.YES.getId()); |
5874 | 5874 | List<AntenatalExaminationModel> antEx = antenatalExaminationService.queryAntenatalExamination(antExQuery.convertToQuery().addOrder(Sort.Direction.DESC, "checkDate")); |
5875 | 5875 | if (CollectionUtils.isNotEmpty(antEx)) { |
5876 | 5876 | fid = antEx.get(0).getId(); |
5877 | 5877 | } else { |
5878 | 5878 | AntExChuQuery antExChuQuery = new AntExChuQuery(); |
5879 | - antExChuQuery.setParentId(pat.getPid()); | |
5879 | + antExChuQuery.setParentId(pat.getId()); | |
5880 | 5880 | antExChuQuery.setYn(YnEnums.YES.getId()); |
5881 | 5881 | List<AntExChuModel> antExChu = antenatalExaminationService.queryAntExChu(antExChuQuery); |
5882 | 5882 | if (CollectionUtils.isNotEmpty(antExChu)) { |