package com.playlet.system.mapper;

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

/**
 * 短剧公告Mapper接口
 *
 * @author ruoyi
 * @date 2024-03-10
 */
public interface PlayletMessageMapper extends BaseMapper<PlayletMessage>
{
    /**
     * 查询短剧公告
     *
     * @param id 短剧公告主键
     * @return 短剧公告
     */
    public PlayletMessage selectPlayletMessageById(Long id);

    /**
     * 查询短剧公告列表
     *
     * @param playletMessage 短剧公告
     * @return 短剧公告集合
     */
    public List<PlayletMessage> selectPlayletMessageList(PlayletMessage playletMessage);

    /**
     * 新增短剧公告
     *
     * @param playletMessage 短剧公告
     * @return 结果
     */
    public int insertPlayletMessage(PlayletMessage playletMessage);

    /**
     * 修改短剧公告
     *
     * @param playletMessage 短剧公告
     * @return 结果
     */
    public int updatePlayletMessage(PlayletMessage playletMessage);

    /**
     * 删除短剧公告
     *
     * @param id 短剧公告主键
     * @return 结果
     */
    public int deletePlayletMessageById(Long id);

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