Commit 22b3d4d98e01e21151e559a7bf8ffb99cb5f9cd4
1 parent
947d94fd12
Exists in
master
and in
8 other branches
增加社区id
Showing 1 changed file with 1 additions and 1 deletions
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/PatientsService.java
View file @
22b3d4d
... | ... | @@ -51,7 +51,7 @@ |
51 | 51 | */ |
52 | 52 | public Patients findOnePatientByCardNo(PatientsQuery puerperaQuery) { |
53 | 53 | List<Patients> result = iPatientDao.queryPatient(puerperaQuery.convertToQuery()); |
54 | - if(CollectionUtils.isEmpty(result)){ | |
54 | + if(CollectionUtils.isNotEmpty(result)){ | |
55 | 55 | return result.get(0); |
56 | 56 | } |
57 | 57 | return null; |