Commit 5caa22bff3f3bc8d023f43c9909d2050edbcdea8
1 parent
c4b6272521
Exists in
master
and in
7 other branches
BUG
Showing 1 changed file with 1 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/DischargeAbstractFacade.java
View file @
5caa22b
| ... | ... | @@ -119,7 +119,6 @@ |
| 119 | 119 | patientsQuery.setBuildTypeNot(1); |
| 120 | 120 | // patientsQuery.setHospitalId(autoMatchFacade.getHospitalId(dischargeAbstractSaveRequest.getOperatorId())); |
| 121 | 121 | patientsQuery.setTypeList(typeList); |
| 122 | - patientsQuery.setSort("lastMenses"); | |
| 123 | 122 | patientsQuery.setCardNo(StringUtils.isEmpty(dischargeAbstractSaveRequest.getCardNo()) ? null : dischargeAbstractSaveRequest.getCardNo()); |
| 124 | 123 | patientsQuery.setVcCardNo(StringUtils.isEmpty(dischargeAbstractSaveRequest.getVcCardNo()) ? null : dischargeAbstractSaveRequest.getVcCardNo()); |
| 125 | 124 | List<Patients> patientsList = patientsService.queryPatient(patientsQuery); |
| ... | ... | @@ -146,7 +145,7 @@ |
| 146 | 145 | |
| 147 | 146 | boolean flag = false; |
| 148 | 147 | for (Patients each : patientsList) { |
| 149 | - if (org.apache.commons.lang.StringUtils.isNotEmpty(patients.getFmHospital())) { | |
| 148 | + if (org.apache.commons.lang.StringUtils.isNotEmpty(each.getFmHospital())) { | |
| 150 | 149 | patients = each; |
| 151 | 150 | flag = true; |
| 152 | 151 | break; |