mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
优化查询站点信息接口
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user