Files
jsowell-charger-web/jsowell-pile/src/main/java/com/jsowell/pile/mapper/PileStationInfoMapper.java

126 lines
3.2 KiB
Java
Raw Normal View History

2023-03-04 16:29:55 +08:00
package com.jsowell.pile.mapper;
import com.jsowell.pile.domain.PileStationInfo;
import com.jsowell.pile.dto.QueryStationDTO;
2023-11-12 08:13:41 +08:00
import com.jsowell.pile.dto.QueryStationInfoDTO;
import com.jsowell.pile.dto.amap.GetStationInfoDTO;
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 org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* 充电站信息Mapper接口
*
* @author jsowell
* @date 2022-08-30
*/
@Repository
public interface PileStationInfoMapper {
/**
* 查询充电站信息
*
* @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 pileStationInfo 充电站信息
* @return 结果
*/
public int updatePileStationInfo(PileStationInfo pileStationInfo);
/**
* 批量删除充电站信息
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deletePileStationInfoByIds(Long[] ids);
/**
* 查询充电站信息
*
* @param dto 前台参数
* @return 充电站对象集合
*/
List<PileStationVO> queryStationInfos(@Param("stationDTO") QueryStationDTO dto);
2023-04-08 14:20:19 +08:00
/**
* 查询充电站信息(联联平台,分页使用)
* @return
*/
2024-08-13 14:39:53 +08:00
List<ThirdPartyStationInfoVO> getStationInfoForThirdParty(@Param("dto") QueryStationInfoDTO dto);
List<ThirdPartyStationInfoVO> selectStationInfoForThirdParty(@Param("dto") QueryStationInfoDTO dto);
2023-05-13 17:41:05 +08:00
List<PileStationInfo> getStationInfoForAmap(@Param("dto") GetStationInfoDTO dto);
2023-05-13 17:41:05 +08:00
List<String> queryByStationDeptIds(@Param("stationDeptIds") List<String> stationDeptIds);
2023-08-03 19:32:07 +08:00
int updateAmapFlag(@Param("stationId") String stationId, @Param("amapFlag") 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 stationId
*/
int updateParkingPlatform(@Param("parkingId") String parkingId, @Param("stationId") String stationId);
/**
* 获取站点下拉列表
* @param dto
* @return
*/
List<PileStationVO> getStationSelectList(@Param("dto") QueryStationDTO dto);
/**
* 宁夏交投查询充电站信息
* @param dto
* @return
*/
List<NXJTStationInfoVO> NXJTQueryStationsInfo(@Param("dto") NXJTQueryStationInfoDTO dto);
2023-11-10 15:14:54 +08:00
PileStationInfo queryInfoByDeptId(@Param("deptId") String deptId);
List<PileStationInfo> getStationInfosByMerchantIds(@Param("list") List<String> merchantIds);
2023-03-04 16:29:55 +08:00
}