package com.flossom.common.core.mapper;

import com.flossom.common.core.domain.entity.SiteInfoChannel;

import java.util.List;

/**
 * 站点与渠道关联Mapper接口
 *
 * @author flossom
 * @date 2023-12-21
 */
public interface SiteInfoChannelMapper
{
    /**
     * 查询站点与渠道关联
     *
     * @param id 站点与渠道关联主键
     * @return 站点与渠道关联
     */
    public SiteInfoChannel selectSiteInfoChannelById(Long id);

    /**
     * 查询站点与渠道关联列表
     *
     * @param siteInfoChannel 站点与渠道关联
     * @return 站点与渠道关联集合
     */
    public List<SiteInfoChannel> selectSiteInfoChannelList(SiteInfoChannel siteInfoChannel);

    /**
     * 新增站点与渠道关联
     *
     * @param siteInfoChannel 站点与渠道关联
     * @return 结果
     */
    public int insertSiteInfoChannel(SiteInfoChannel siteInfoChannel);

    /**
     * 修改站点与渠道关联
     *
     * @param siteInfoChannel 站点与渠道关联
     * @return 结果
     */
    public int updateSiteInfoChannel(SiteInfoChannel siteInfoChannel);

    /**
     * 删除站点与渠道关联
     *
     * @param id 站点与渠道关联主键
     * @return 结果
     */
    public int deleteSiteInfoChannelById(Long id);

    /**
     * 批量删除站点与渠道关联
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSiteInfoChannelByIds(Long[] ids);
}
