优化查询站点信息接口

This commit is contained in:
2023-07-22 14:54:29 +08:00
parent 113184de20
commit 303f294c9d
4 changed files with 60 additions and 30 deletions

View File

@@ -354,9 +354,6 @@ public class AMapServiceImpl implements AMapService {
*/
@Override
public String pushChargingDeviceDynamics(String stationId) throws Exception {
Map<String, Integer> pileNumMap = pileConnectorInfoService.getPileTypeNum(Long.parseLong(stationId));
// 根据站点id查询枪口信息
List<AMapConnectorStatusInfo> connectorStatusInfoList = Lists.newArrayList();
AMapConnectorStatusInfo info;
@@ -369,6 +366,7 @@ public class AMapServiceImpl implements AMapService {
connectorStatusInfoList.add(info);
}
Map<String, Integer> pileNumMap = pileConnectorInfoService.getPileTypeNum(connectorList);
// 拼装业务参数
JSONObject json = new JSONObject();
json.put("stationID", stationId);