//如果是空,返回空集合if (CollectionUtils.isEmpty(entityList)) {return Collections.emptyList();}
//如果不为空,返回这个集合数据if (CollectionUtils.isNotEmpty(entityList)) {return ModelConvertUtil.copyPropertiesVersionList(entityList, HomeSloganDataVO.class);}
//如果是不为空,返回这个集合,如果为空,返回一个空集合Optional.ofNullable(PartnerEntities).orElse(Collections.emptyList())