Commit 1db128e4 authored by 周健威's avatar 周健威

添加地区、卫星传感器列表等

parent 73ec3fa0
......@@ -36,11 +36,11 @@ public class RscpImagePriceController extends BaseController<RscpImagePriceBiz,
String key = "";
List<String> satelliteTypes = list.parallelStream().map(RscpImagePrice::getImageSatelliteType).collect(Collectors.toList());
for(String satelliteType : satelliteTypes) {
List<RscpImagePrice> imagePrices = list.parallelStream().filter(rscpImagePrice -> satelliteType.equals(rscpImagePrice.getImageSatelliteType())).collect(Collectors.toList());
List<RscpImagePrice> imagePriceList = list.parallelStream().filter(rscpImagePrice -> satelliteType.equals(rscpImagePrice.getImageSatelliteType())).collect(Collectors.toList());
imagePriceVOS.add(new ImagePriceVO(){{
setImageSatelliteType(satelliteType);
setSatelliteName(imagePrices.get(0).getSatelliteName());
setImagePrices(imagePrices);
setSatelliteName(imagePriceList.get(0).getSatelliteName());
setImagePrices(imagePriceList);
}});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment