package com.playlet.system.mapper;

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

/**
 * 用户推广短剧Mapper接口
 *
 * @author ruoyi
 * @date 2024-04-15
 */
public interface PlayletUserItemMapper extends BaseMapper<PlayletUserItem>
{
    /**
     * 查询用户推广短剧
     *
     * @param id 用户推广短剧主键
     * @return 用户推广短剧
     */
    public PlayletUserItem selectPlayletUserItemById(Long id);

    /**
     * 查询用户推广短剧列表
     *
     * @param playletUserItem 用户推广短剧
     * @return 用户推广短剧集合
     */
    public List<PlayletUserItem> selectPlayletUserItemList(PlayletUserItem playletUserItem);

    /**
     * 新增用户推广短剧
     *
     * @param playletUserItem 用户推广短剧
     * @return 结果
     */
    public int insertPlayletUserItem(PlayletUserItem playletUserItem);

    /**
     * 修改用户推广短剧
     *
     * @param playletUserItem 用户推广短剧
     * @return 结果
     */
    public int updatePlayletUserItem(PlayletUserItem playletUserItem);

    /**
     * 删除用户推广短剧
     *
     * @param id 用户推广短剧主键
     * @return 结果
     */
    public int deletePlayletUserItemById(Long id);

    /**
     * 批量删除用户推广短剧
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePlayletUserItemByIds(String[] ids);
}
