2023-03-04 16:29:55 +08:00
|
|
|
package com.jsowell.pile.service;
|
|
|
|
|
|
|
|
|
|
import com.jsowell.common.core.page.PageResponse;
|
|
|
|
|
import com.jsowell.pile.domain.PileStationInfo;
|
|
|
|
|
import com.jsowell.pile.dto.FastCreateStationDTO;
|
|
|
|
|
import com.jsowell.pile.dto.QueryStationDTO;
|
2023-11-12 08:13:41 +08:00
|
|
|
import com.jsowell.pile.dto.QueryStationInfoDTO;
|
2023-08-25 14:23:35 +08:00
|
|
|
import com.jsowell.pile.dto.lutongyunting.BindParkingPlatformDTO;
|
2023-11-13 16:13:02 +08:00
|
|
|
import com.jsowell.pile.dto.ningxiajiaotou.NXJTQueryStationInfoDTO;
|
2023-11-12 08:13:41 +08:00
|
|
|
import com.jsowell.pile.vo.base.ThirdPartyStationInfoVO;
|
2023-11-15 10:08:30 +08:00
|
|
|
import com.jsowell.pile.vo.ningxiajiaotou.NXJTStationInfoVO;
|
2023-03-04 16:29:55 +08:00
|
|
|
import com.jsowell.pile.vo.web.PileStationVO;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 充电站信息Service接口
|
|
|
|
|
*
|
|
|
|
|
* @author jsowell
|
|
|
|
|
* @date 2022-08-30
|
|
|
|
|
*/
|
2024-01-06 15:20:28 +08:00
|
|
|
public interface PileStationInfoService {
|
2023-03-04 16:29:55 +08:00
|
|
|
/**
|
|
|
|
|
* 查询充电站信息
|
|
|
|
|
*
|
|
|
|
|
* @param id 充电站信息主键
|
|
|
|
|
* @return 充电站信息
|
|
|
|
|
*/
|
|
|
|
|
public PileStationInfo selectPileStationInfoById(Long id);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询充电站信息列表
|
|
|
|
|
*
|
|
|
|
|
* @param pileStationInfo 充电站信息
|
|
|
|
|
* @return 充电站信息集合
|
|
|
|
|
*/
|
|
|
|
|
public List<PileStationInfo> selectPileStationInfoList(PileStationInfo pileStationInfo);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 通过运营商id查询站点信息
|
|
|
|
|
*
|
|
|
|
|
* @param merchantId 运营商id
|
|
|
|
|
* @return 站点信息列表
|
|
|
|
|
*/
|
|
|
|
|
public List<PileStationInfo> selectStationListByMerchantId(Long merchantId);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 新增充电站信息
|
|
|
|
|
*
|
|
|
|
|
* @param pileStationInfo 充电站信息
|
|
|
|
|
* @return 结果
|
|
|
|
|
*/
|
|
|
|
|
public int insertPileStationInfo(PileStationInfo pileStationInfo);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 快速建站
|
|
|
|
|
*
|
|
|
|
|
* @param dto
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public int fastCreateStation(FastCreateStationDTO dto);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 修改充电站信息
|
|
|
|
|
*
|
|
|
|
|
* @param pileStationInfo 充电站信息
|
|
|
|
|
* @return 结果
|
|
|
|
|
*/
|
|
|
|
|
public int updatePileStationInfo(PileStationInfo pileStationInfo);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 批量删除充电站信息
|
|
|
|
|
*
|
|
|
|
|
* @param ids 需要删除的充电站信息主键集合
|
|
|
|
|
* @return 结果
|
|
|
|
|
*/
|
|
|
|
|
public int deletePileStationInfoByIds(Long[] ids);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询充电站信息
|
|
|
|
|
*
|
|
|
|
|
* @param dto 前台参数
|
|
|
|
|
* @return 充电站信息集合
|
|
|
|
|
*/
|
|
|
|
|
List<PileStationVO> queryStationInfos(QueryStationDTO dto);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询充电站信息并通过经纬度距离排序
|
|
|
|
|
*
|
|
|
|
|
* @param queryStationDTO 前台参数
|
|
|
|
|
* @return 充电站对象集合
|
|
|
|
|
*/
|
|
|
|
|
PageResponse uniAppQueryStationInfoList(QueryStationDTO queryStationDTO);
|
|
|
|
|
|
|
|
|
|
PileStationVO getStationInfo(String stationId);
|
2023-04-06 15:30:55 +08:00
|
|
|
|
2024-01-23 15:12:07 +08:00
|
|
|
/**
|
|
|
|
|
* 通过充电桩枪口编号查询充电站信息
|
|
|
|
|
* @param pileConnectorCode 充电桩枪口编号
|
|
|
|
|
* @return 充电站信息
|
|
|
|
|
*/
|
|
|
|
|
PileStationVO getStationInfoByPileConnectorCode(String pileConnectorCode);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 通过充电桩sn查询充电站信息
|
|
|
|
|
* @param pileSn 充电桩sn
|
|
|
|
|
* @return 充电站信息
|
|
|
|
|
*/
|
|
|
|
|
PileStationVO getStationInfoByPileSn(String pileSn);
|
2023-04-08 14:20:19 +08:00
|
|
|
|
2023-11-12 08:13:41 +08:00
|
|
|
List<ThirdPartyStationInfoVO> getStationInfosByThirdParty(QueryStationInfoDTO dto);
|
2023-05-13 17:41:05 +08:00
|
|
|
|
2023-10-25 17:20:59 +08:00
|
|
|
List<PileStationInfo> getStationInfosByAmap();
|
|
|
|
|
|
2023-05-13 17:41:05 +08:00
|
|
|
List<String> queryByStationDeptIds(List<String> stationIds);
|
2023-06-09 14:44:32 +08:00
|
|
|
|
|
|
|
|
String selectAdapayMemberId(String stationId);
|
2023-08-03 19:32:07 +08:00
|
|
|
|
|
|
|
|
int updateAmapFlag(String stationId, String amapFlag);
|
2023-08-23 10:59:22 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 通过站点部门id查询站点id
|
|
|
|
|
* @param deptId
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
List<String> getIdsByDeptId(String deptId);
|
2023-08-25 14:23:35 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 绑定停车系统平台
|
|
|
|
|
* @param dto
|
|
|
|
|
*/
|
|
|
|
|
int bindParkingPlatform(BindParkingPlatformDTO dto);
|
2023-09-23 09:11:02 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询充电站下拉列表
|
|
|
|
|
*/
|
|
|
|
|
List<PileStationVO> getStationSelectList(QueryStationDTO dto);
|
2023-11-13 16:13:02 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 宁夏交投查询站点信息
|
|
|
|
|
* @param dto
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
2023-11-15 10:08:30 +08:00
|
|
|
List<NXJTStationInfoVO> NXJTQueryStationsInfo(NXJTQueryStationInfoDTO dto);
|
2023-11-21 11:31:42 +08:00
|
|
|
|
2023-11-10 15:14:54 +08:00
|
|
|
PileStationInfo queryInfoByDeptId(String valueOf);
|
2023-11-21 11:31:42 +08:00
|
|
|
|
2023-03-04 16:29:55 +08:00
|
|
|
}
|