Commit ed17d9f65f60eb8136830f1ccdc2d12f5b3cb4b1

Authored by wtt
1 parent dff51de78a

update

Showing 1 changed file with 2 additions and 4 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyStatisticsFacade.java View file @ ed17d9f
... ... @@ -517,10 +517,8 @@
517 517 }
518 518 }
519 519 }
520   - if (CollectionUtils.isEmpty(orgId)) {
521   - hospitalList = new ArrayList <>();
522   - } else {
523   - hospitalList.retainAll(orgId);
  520 + if (CollectionUtils.isNotEmpty(orgId)) {
  521 + hospitalList.addAll(orgId);
524 522 }
525 523 }
526 524 return hospitalList;