数据为空时 no null

经纬度获取位置信息
This commit is contained in:
2024-05-16 15:07:11 +08:00
parent f23e31adef
commit 63921852e9
2 changed files with 3 additions and 3 deletions

View File

@@ -179,7 +179,7 @@ public class ProductService {
homeDto.getAddress(), homeDto.getOrderBy().toString(), homeDto.getLng(), homeDto.getLat());
}
if (CollectionUtils.isEmpty(shopGroupInfoVos)) {
return new PageInfo();
return new PageInfo(shopGroupInfoVos);
}
List<Integer> productIds = shopGroupInfoVos.stream().map(ShopGroupInfoVo::getProId).collect(Collectors.toList());
List<String> stringList = productIds.stream()