mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-26 22:15:06 +08:00
200 lines
5.1 KiB
Java
200 lines
5.1 KiB
Java
package com.jsowell.pile.service;
|
||
|
||
import com.jsowell.common.core.page.PageResponse;
|
||
import com.jsowell.pile.domain.PileStationInfo;
|
||
import com.jsowell.pile.dto.*;
|
||
import com.jsowell.pile.dto.amap.GetStationInfoDTO;
|
||
import com.jsowell.pile.dto.business.StationBusinessAnalyzeInfoDTO;
|
||
import com.jsowell.pile.dto.business.StationStatisticsInfoDTO;
|
||
import com.jsowell.pile.dto.lutongyunting.BindParkingPlatformDTO;
|
||
import com.jsowell.pile.dto.ningxiajiaotou.NXJTQueryStationInfoDTO;
|
||
import com.jsowell.pile.vo.uniapp.business.StationBusinessAnalyzeInfoVO;
|
||
import com.jsowell.pile.vo.base.ThirdPartyStationInfoVO;
|
||
import com.jsowell.pile.vo.ningxiajiaotou.NXJTStationInfoVO;
|
||
import com.jsowell.pile.vo.uniapp.business.StationStatisticsInfosVO;
|
||
import com.jsowell.pile.vo.web.PileStationVO;
|
||
|
||
import java.util.List;
|
||
|
||
/**
|
||
* 充电站信息Service接口
|
||
*
|
||
* @author jsowell
|
||
* @date 2022-08-30
|
||
*/
|
||
public interface PileStationInfoService {
|
||
/**
|
||
* 查询充电站信息
|
||
*
|
||
* @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);
|
||
|
||
/**
|
||
* 通过运营商id查询站点信息(带权限校验)
|
||
*
|
||
* @param merchantId 运营商id
|
||
* @return 站点信息列表
|
||
*/
|
||
public List<PileStationInfo> selectStationListByMerchantIdWithAuth(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);
|
||
|
||
/**
|
||
* 通过充电桩枪口编号查询充电站信息
|
||
* @param pileConnectorCode 充电桩枪口编号
|
||
* @return 充电站信息
|
||
*/
|
||
PileStationVO getStationInfoByPileConnectorCode(String pileConnectorCode);
|
||
|
||
/**
|
||
* 通过充电桩sn查询充电站信息
|
||
* @param pileSn 充电桩sn
|
||
* @return 充电站信息
|
||
*/
|
||
PileStationVO getStationInfoByPileSn(String pileSn);
|
||
|
||
List<ThirdPartyStationInfoVO> getStationInfosByThirdParty(QueryStationInfoDTO dto);
|
||
|
||
List<ThirdPartyStationInfoVO> selectStationInfosByThirdParty(QueryStationInfoDTO dto);
|
||
|
||
List<PileStationInfo> getStationInfosByAmap(GetStationInfoDTO dto);
|
||
|
||
List<String> queryByStationDeptIds(List<String> stationIds);
|
||
|
||
String selectAdapayMemberId(String stationId);
|
||
|
||
int updateAmapFlag(String stationId, String amapFlag);
|
||
|
||
/**
|
||
* 通过站点部门id查询站点id
|
||
* @param deptId
|
||
* @return
|
||
*/
|
||
List<String> getIdsByDeptId(String deptId);
|
||
|
||
/**
|
||
* 绑定停车系统平台
|
||
* @param dto
|
||
*/
|
||
int bindParkingPlatform(BindParkingPlatformDTO dto);
|
||
|
||
/**
|
||
* 查询充电站下拉列表
|
||
*/
|
||
List<PileStationVO> getStationSelectList(QueryStationDTO dto);
|
||
|
||
/**
|
||
* 宁夏交投查询站点信息
|
||
* @param dto
|
||
* @return
|
||
*/
|
||
List<NXJTStationInfoVO> NXJTQueryStationsInfo(NXJTQueryStationInfoDTO dto);
|
||
|
||
PileStationInfo queryInfoByDeptId(String valueOf);
|
||
|
||
|
||
|
||
|
||
//↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ 后管小程序 ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
|
||
|
||
public List<PileStationInfo> getStationInfosByMerchantIds(List<String> merchantIds);
|
||
|
||
/**
|
||
* 获取站点统计信息
|
||
* @param dto
|
||
*/
|
||
List<StationStatisticsInfosVO> getStationStatisticsInfos(StationStatisticsInfoDTO dto);
|
||
|
||
/**
|
||
* 获取站点运营分析信息(7天、30天)
|
||
* @param dto
|
||
*/
|
||
StationBusinessAnalyzeInfoVO getStationBusinessAnalyzeInfo(StationBusinessAnalyzeInfoDTO dto);
|
||
|
||
/**
|
||
* 获取站点运营分析信息(12个月)
|
||
* @param dto
|
||
*/
|
||
StationBusinessAnalyzeInfoVO getStationMonthlyBusinessAnalyzeInfo(StationBusinessAnalyzeInfoDTO dto);
|
||
|
||
/**
|
||
* 查询订单数量趋势信息
|
||
* @param dto
|
||
* @return
|
||
*/
|
||
StationBusinessAnalyzeInfoVO getStationOrderQuantityInfo(StationBusinessAnalyzeInfoDTO dto);
|
||
|
||
/**
|
||
* 查询站点枪利用率趋势信息
|
||
* @param dto
|
||
* @return
|
||
*/
|
||
StationBusinessAnalyzeInfoVO getStationConnectorUsedInfo(StationBusinessAnalyzeInfoDTO dto);
|
||
}
|