Commit ef9e56040215c9fcc1dd9e7713b515fd1ab0059a
1 parent
d3a90ce94d
Exists in
master
and in
6 other branches
听力诊断模块
Showing 1 changed file with 3 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/HearDiagnManageController.java
View file @
ef9e560
| ... | ... | @@ -914,7 +914,9 @@ |
| 914 | 914 | if (model.getDiagnDoctorId() != null) { |
| 915 | 915 | screenQuery.setCheckDoctorId(model.getDiagnDoctorId()); |
| 916 | 916 | } |
| 917 | - screenQuery.setBabyIds(babyIds.toArray(new String[babyIds.size()])); | |
| 917 | + if(CollectionUtils.isNotEmpty(babyIds)){ | |
| 918 | + screenQuery.setBabyIds(babyIds.toArray(new String[babyIds.size()])); | |
| 919 | + } | |
| 918 | 920 | screenQuery.setCheckHospitalId(hospitalId); |
| 919 | 921 | //查询全部数据 |
| 920 | 922 | List<BabyPatientExtendEarScreen> earScreens = screenService.queryBabyPatientExtendEarScreen(screenQuery); |