diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java index 84ee3c6..b654b11 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java @@ -852,9 +852,9 @@ public class AntenatalExaminationFacade { Map map = new HashMap(); List sortList = new ArrayList(); - String hospital = autoMatchFacade.getHospitalId(userId); + List listDate = new ArrayList(); - ; + if (CollectionUtils.isNotEmpty(list)) { // Patients patients2 = findOnePatient(null, null, null, hospital, -1, true, exListQueryRequest.getPid(),false); Patients patients2 = findOnePatient(null, null, null, groupsFacade.findGroupHospital(userId), -1, true, exListQueryRequest.getPid(), false); @@ -1050,7 +1050,7 @@ public class AntenatalExaminationFacade { organization = organizationService.getOrganization(Integer.valueOf(patients.getHospitalId())); } pid = patients.getPid(); - if(!"0".equals(patients.getEnable())){ + if(!"2".equals(patients.getEnable())){ listData.add(new AntData(patients, null != organization ? organization.getName() : "")); } @@ -1211,7 +1211,7 @@ public class AntenatalExaminationFacade { organization = organizationService.getOrganization(Integer.valueOf(patients.getHospitalId())); } pid = patients.getPid(); - if(!"0".equals(patients.getEnable())) { + if(!"2".equals(patients.getEnable())) { listData.add(new AntData(patients, null != organization ? organization.getName() : "")); } }