优化搜索
This commit is contained in:
+3
@@ -81,6 +81,9 @@ class SeaweedPoiDetail {
|
|||||||
if (CollectionUtils.isEmpty(pois)) {
|
if (CollectionUtils.isEmpty(pois)) {
|
||||||
pois = GaoDeUtils.searchPoi(city, name, region, typecodes)
|
pois = GaoDeUtils.searchPoi(city, name, region, typecodes)
|
||||||
}
|
}
|
||||||
|
if (CollectionUtils.isEmpty(pois)) {
|
||||||
|
pois = GaoDeUtils.searchPoi(city, address, region, typecodes)
|
||||||
|
}
|
||||||
|
|
||||||
List<AmapPoiDetail> detailList = CommonDtoUtils.transformListV(AmapPoiDetail.class, pois);
|
List<AmapPoiDetail> detailList = CommonDtoUtils.transformListV(AmapPoiDetail.class, pois);
|
||||||
// for (AmapPoi amapPoi : pois) {
|
// for (AmapPoi amapPoi : pois) {
|
||||||
|
|||||||
Reference in New Issue
Block a user