package com.playlet.system.mapper;

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

/**
 * @Date: 2024-03-24 15:28
 * @Author: 但星霖
 * @Version: v1.0
 * @Description: 短剧用户提现账户Mapper接口
 */
public interface PlayletUserAccountMapper extends BaseMapper<PlayletUserAccount> {
    /**
     * 查询短剧用户提现账户
     *
     * @param id 短剧用户提现账户主键
     * @return 短剧用户提现账户
     */
    public PlayletUserAccount selectPlayletUserAccountById(Long id);

    /**
     * 查询短剧用户提现账户列表
     *
     * @param playletUserAccount 短剧用户提现账户
     * @return 短剧用户提现账户集合
     */
    public List<PlayletUserAccount> selectPlayletUserAccountList(PlayletUserAccount playletUserAccount);

    /**
     * 新增短剧用户提现账户
     *
     * @param playletUserAccount 短剧用户提现账户
     * @return 结果
     */
    public int insertPlayletUserAccount(PlayletUserAccount playletUserAccount);

    /**
     * 修改短剧用户提现账户
     *
     * @param playletUserAccount 短剧用户提现账户
     * @return 结果
     */
    public int updatePlayletUserAccount(PlayletUserAccount playletUserAccount);

    /**
     * 删除短剧用户提现账户
     *
     * @param id 短剧用户提现账户主键
     * @return 结果
     */
    public int deletePlayletUserAccountById(Long id);

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