package com.playlet.system.mapper;

import java.util.List;
import com.playlet.system.domain.PublicDetailShare;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 文章分享记录Mapper接口
 *
 * @author ruoyi
 * @date 2024-06-20
 */
public interface PublicDetailShareMapper extends BaseMapper<PublicDetailShare>
{
    /**
     * 查询文章分享记录
     *
     * @param id 文章分享记录主键
     * @return 文章分享记录
     */
    public PublicDetailShare selectPublicDetailShareById(Long id);

    /**
     * 查询文章分享记录列表
     *
     * @param publicDetailShare 文章分享记录
     * @return 文章分享记录集合
     */
    public List<PublicDetailShare> selectPublicDetailShareList(PublicDetailShare publicDetailShare);

    /**
     * 新增文章分享记录
     *
     * @param publicDetailShare 文章分享记录
     * @return 结果
     */
    public int insertPublicDetailShare(PublicDetailShare publicDetailShare);

    /**
     * 修改文章分享记录
     *
     * @param publicDetailShare 文章分享记录
     * @return 结果
     */
    public int updatePublicDetailShare(PublicDetailShare publicDetailShare);

    /**
     * 删除文章分享记录
     *
     * @param id 文章分享记录主键
     * @return 结果
     */
    public int deletePublicDetailShareById(Long id);

    /**
     * 批量删除文章分享记录
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePublicDetailShareByIds(String[] ids);
}
