mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-11 18:59:51 +08:00
update
This commit is contained in:
@@ -100,9 +100,7 @@ public class AMapServiceImpl implements AMapService {
|
|||||||
List<AMapStationInfo> collect = stationInfos.parallelStream().map(x -> {
|
List<AMapStationInfo> collect = stationInfos.parallelStream().map(x -> {
|
||||||
try {
|
try {
|
||||||
return assembleAMapData(x);
|
return assembleAMapData(x);
|
||||||
} catch (ExecutionException e) {
|
} catch (ExecutionException | InterruptedException e) {
|
||||||
throw new RuntimeException(e);
|
|
||||||
} catch (InterruptedException e) {
|
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
}).collect(Collectors.toList());
|
}).collect(Collectors.toList());
|
||||||
|
|||||||
Reference in New Issue
Block a user