mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-13 03:39:55 +08:00
update 高德
This commit is contained in:
@@ -128,6 +128,8 @@ public class AMapServiceImpl implements AMapService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<AMapStationInfo> getStationInfosV2(GetStationInfoDTO dto) {
|
public List<AMapStationInfo> getStationInfosV2(GetStationInfoDTO dto) {
|
||||||
|
StopWatch sw = new StopWatch();
|
||||||
|
sw.start("查询站点信息");
|
||||||
List<AMapStationInfo> resultList = Lists.newArrayList();
|
List<AMapStationInfo> resultList = Lists.newArrayList();
|
||||||
// 设置分页参数
|
// 设置分页参数
|
||||||
int pageNo = dto.getCurrentPage() == null ? 1 : dto.getCurrentPage();
|
int pageNo = dto.getCurrentPage() == null ? 1 : dto.getCurrentPage();
|
||||||
@@ -187,6 +189,8 @@ public class AMapServiceImpl implements AMapService {
|
|||||||
|
|
||||||
resultList.add(aMapInfo);
|
resultList.add(aMapInfo);
|
||||||
}
|
}
|
||||||
|
sw.stop();
|
||||||
|
log.info("接口耗时:{}, 详情:{}", sw.getTotalTimeMillis(), sw.prettyPrint());
|
||||||
return resultList;
|
return resultList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user