新增 高德查询充电站信息接口

This commit is contained in:
Lemon
2023-06-14 17:21:51 +08:00
parent a3513e3cc0
commit c2c238fb81
9 changed files with 241 additions and 4 deletions

View File

@@ -0,0 +1,21 @@
package com.jsowell.pile.dto.amap;
import lombok.Data;
/**
* 高德地图查询充电站信息DTO
*
* @author Lemon
* @Date 2023/6/14 13:50
*/
@Data
public class GetStationInfoDTO {
// type=page表示分页查询
private String type;
// 当前请求页数从1开始
private Integer currentPage;
// 每页记录数最大20
private Integer pageSize;
}

View File

@@ -91,7 +91,7 @@ public interface IPileStationInfoService {
PileStationVO getStationInfoByPileSn(String pileSn);
List<PileStationInfo> getStationInfoForLianLian();
List<PileStationInfo> getStationInfosByThirdParty();
List<String> queryByStationDeptIds(List<String> stationIds);

View File

@@ -158,7 +158,7 @@ public class PileStationInfoServiceImpl implements IPileStationInfoService {
}
@Override
public List<PileStationInfo> getStationInfoForLianLian() {
public List<PileStationInfo> getStationInfosByThirdParty() {
// PageUtils.startPage(pageNum, pageSize);
return pileStationInfoMapper.getStationInfoForLianLian();
}