package com.playlet.system.mapper;

import java.util.List;

import com.playlet.system.domain.PlayletUserInvoice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Date: 2024-03-24 15:44
 * @Author: 但星霖
 * @Version: v1.0
 * @Description: 用户开票信息Mapper接口
 */
public interface PlayletUserInvoiceMapper extends BaseMapper<PlayletUserInvoice> {
    /**
     * 查询用户开票信息
     *
     * @param id 用户开票信息主键
     * @return 用户开票信息
     */
    public PlayletUserInvoice selectPlayletUserInvoiceById(Long id);

    /**
     * 查询用户开票信息列表
     *
     * @param playletUserInvoice 用户开票信息
     * @return 用户开票信息集合
     */
    public List<PlayletUserInvoice> selectPlayletUserInvoiceList(PlayletUserInvoice playletUserInvoice);

    /**
     * 新增用户开票信息
     *
     * @param playletUserInvoice 用户开票信息
     * @return 结果
     */
    public int insertPlayletUserInvoice(PlayletUserInvoice playletUserInvoice);

    /**
     * 修改用户开票信息
     *
     * @param playletUserInvoice 用户开票信息
     * @return 结果
     */
    public int updatePlayletUserInvoice(PlayletUserInvoice playletUserInvoice);

    /**
     * 删除用户开票信息
     *
     * @param id 用户开票信息主键
     * @return 结果
     */
    public int deletePlayletUserInvoiceById(Long id);

    /**
     * 批量删除用户开票信息
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePlayletUserInvoiceByIds(String[] ids);
}