mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
89 lines
2.7 KiB
Java
89 lines
2.7 KiB
Java
package com.jsowell.pile.mapper;
|
|
|
|
import java.util.List;
|
|
|
|
import com.jsowell.pile.domain.ThirdPartyStationRelation;
|
|
import com.jsowell.pile.vo.base.ThirdPartyStationRelationVO;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
/**
|
|
* 站点、第三方推送平台配置对应Mapper接口
|
|
*
|
|
* @author jsowell
|
|
* @date 2023-06-06
|
|
*/
|
|
@Component
|
|
public interface ThirdPartyStationRelationMapper {
|
|
/**
|
|
* 查询站点、第三方推送平台配置对应
|
|
*
|
|
* @param id 站点、第三方推送平台配置对应主键
|
|
* @return 站点、第三方推送平台配置对应
|
|
*/
|
|
public ThirdPartyStationRelation selectThirdPartyStationRelationById(Long id);
|
|
|
|
/**
|
|
* 查询站点、第三方推送平台配置对应列表
|
|
*
|
|
* @param thirdPartyStationRelation 站点、第三方推送平台配置对应
|
|
* @return 站点、第三方推送平台配置对应集合
|
|
*/
|
|
public List<ThirdPartyStationRelation> selectThirdPartyStationRelationList(ThirdPartyStationRelation thirdPartyStationRelation);
|
|
|
|
/**
|
|
* 查询站点、第三方推送平台配置
|
|
* @param thirdPartyStationRelation
|
|
* @return
|
|
*/
|
|
ThirdPartyStationRelationVO selectRelationInfo(ThirdPartyStationRelation thirdPartyStationRelation);
|
|
|
|
/**
|
|
* 新增站点、第三方推送平台配置对应
|
|
*
|
|
* @param thirdPartyStationRelation 站点、第三方推送平台配置对应
|
|
* @return 结果
|
|
*/
|
|
public int insertThirdPartyStationRelation(ThirdPartyStationRelation thirdPartyStationRelation);
|
|
|
|
/**
|
|
* 修改站点、第三方推送平台配置对应
|
|
*
|
|
* @param thirdPartyStationRelation 站点、第三方推送平台配置对应
|
|
* @return 结果
|
|
*/
|
|
public int updateThirdPartyStationRelation(ThirdPartyStationRelation thirdPartyStationRelation);
|
|
|
|
/**
|
|
* 删除站点、第三方推送平台配置对应
|
|
*
|
|
* @param id 站点、第三方推送平台配置对应主键
|
|
* @return 结果
|
|
*/
|
|
public int deleteThirdPartyStationRelationById(Long id);
|
|
|
|
/**
|
|
* 批量删除站点、第三方推送平台配置对应
|
|
*
|
|
* @param ids 需要删除的数据主键集合
|
|
* @return 结果
|
|
*/
|
|
public int deleteThirdPartyStationRelationByIds(Long[] ids);
|
|
|
|
|
|
/**
|
|
* 通过站点id查询该站点对接了哪些第三方平台
|
|
* @param stationId
|
|
* @return
|
|
*/
|
|
List<ThirdPartyStationRelationVO> getRelationInfoList(@Param("stationId") String stationId);
|
|
|
|
/**
|
|
* 修改删除标识为1
|
|
* @param stationId
|
|
* @param type
|
|
* @return
|
|
*/
|
|
int updateRelationDelFlag(@Param("stationId") String stationId, @Param("types") List<String> types);
|
|
}
|