mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
update 高德
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
package com.jsowell.thirdparty.amap.service;
|
||||
|
||||
import com.jsowell.pile.dto.amap.GetStationInfoDTO;
|
||||
import com.jsowell.thirdparty.amap.domain.AMapEquipmentInfo;
|
||||
import com.jsowell.thirdparty.amap.domain.AMapStationInfo;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.ExecutionException;
|
||||
|
||||
/**
|
||||
@@ -37,4 +39,6 @@ public interface AMapService {
|
||||
String pushChargingOrderInfo(String orderCode);
|
||||
|
||||
List<AMapStationInfo> getStationInfosV2(GetStationInfoDTO dto);
|
||||
|
||||
Map<String, List<AMapEquipmentInfo>> getPileListByStationIdList(List<String> stationIdList);
|
||||
}
|
||||
|
||||
@@ -452,7 +452,8 @@ public class AMapServiceImpl implements AMapService {
|
||||
* @param stationIdList
|
||||
* @return
|
||||
*/
|
||||
private Map<String, List<AMapEquipmentInfo>> getPileListByStationIdList(List<String> stationIdList) {
|
||||
@Override
|
||||
public Map<String, List<AMapEquipmentInfo>> getPileListByStationIdList(List<String> stationIdList) {
|
||||
Map<String, List<AMapEquipmentInfo>> resultMap = Maps.newHashMap();
|
||||
List<PileInfoVO> pileInfoVOS = pileBasicInfoService.queryPileDetailList(stationIdList);
|
||||
if (CollectionUtils.isEmpty(pileInfoVOS)) {
|
||||
@@ -501,8 +502,8 @@ public class AMapServiceImpl implements AMapService {
|
||||
connectorInfos.add(connectorInfo);
|
||||
}
|
||||
info.setConnectorInfos(connectorInfos);
|
||||
pileList.add(info);
|
||||
}
|
||||
pileList.add(info);
|
||||
resultMap.put(stationId, pileList);
|
||||
}
|
||||
return resultMap;
|
||||
|
||||
Reference in New Issue
Block a user