Commit 2abad7035d40ea22ee32810319dde4581743c0e3

Authored by hujiaqi
1 parent 78a08e39e4

BUG

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyStatisticsManagerFacade.java View file @ 2abad70
... ... @@ -394,7 +394,7 @@
394 394 } catch (Exception e) {
395 395 index++;
396 396 }
397   - if (CollectionUtils.isEmpty(babyStatisticsManagerWeekAgeGroupQueryModelList) || babyStatisticsManagerWeekAgeGroupQueryModelList.get(index) == null) {
  397 + if (CollectionUtils.isEmpty(babyStatisticsManagerWeekAgeGroupQueryModelList) || babyStatisticsManagerWeekAgeGroupQueryModelList.size() < index || babyStatisticsManagerWeekAgeGroupQueryModelList.get(index) == null) {
398 398 BabyStatisticsManagerWeekAgeGroupQueryModel babyStatisticsManagerWeekAgeGroupQueryModel = new BabyStatisticsManagerWeekAgeGroupQueryModel();
399 399 babyStatisticsManagerWeekAgeGroupQueryModel.setCount("0");
400 400 babyStatisticsManagerWeekAgeGroupQueryModel.setWeekAge(i.toString());