package com.playlet.system.service;

import java.util.List;
import com.playlet.system.domain.PlayletPublicUser;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 公众号用户Service接口
 *
 * @author ruoyi
 * @date 2024-06-14
 */
public interface IPlayletPublicUserService extends IService<PlayletPublicUser>
{
    /**
     * 查询公众号用户
     *
     * @param id 公众号用户主键
     * @return 公众号用户
     */
    public PlayletPublicUser selectPlayletPublicUserById(Long id);

    /**
     * 查询公众号用户列表
     *
     * @param playletPublicUser 公众号用户
     * @return 公众号用户集合
     */
    public List<PlayletPublicUser> selectPlayletPublicUserList(PlayletPublicUser playletPublicUser);

    /**
     * 新增公众号用户
     *
     * @param playletPublicUser 公众号用户
     * @return 结果
     */
    public int insertPlayletPublicUser(PlayletPublicUser playletPublicUser);

    /**
     * 修改公众号用户
     *
     * @param playletPublicUser 公众号用户
     * @return 结果
     */
    public int updatePlayletPublicUser(PlayletPublicUser playletPublicUser);

    /**
     * 批量删除公众号用户
     *
     * @param ids 需要删除的公众号用户主键集合
     * @return 结果
     */
    public int deletePlayletPublicUserByIds(String ids);

    /**
     * 删除公众号用户信息
     *
     * @param id 公众号用户主键
     * @return 结果
     */
    public int deletePlayletPublicUserById(Long id);
}
