package com.playlet.system.mapper;

import java.util.List;

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

/**
 * @Date: 2024-03-30 08:34
 * @Author: 但星霖
 * @Version: v1.0
 * @Description: 提现审批Mapper接口
 */
public interface PlayletWithdrawApprovalMapper extends BaseMapper<PlayletWithdrawApproval> {
    /**
     * 查询提现审批
     *
     * @param id 提现审批主键
     * @return 提现审批
     */
    PlayletWithdrawApproval selectPlayletWithdrawApprovalById(Long id);

    /**
     * 查询提现审批列表
     *
     * @param playletWithdrawApproval 提现审批
     * @return 提现审批集合
     */
    List<PlayletWithdrawApproval> selectPlayletWithdrawApprovalList(PlayletWithdrawApproval playletWithdrawApproval);

    /**
     * 新增提现审批
     *
     * @param playletWithdrawApproval 提现审批
     * @return 结果
     */
    int insertPlayletWithdrawApproval(PlayletWithdrawApproval playletWithdrawApproval);

    /**
     * 修改提现审批
     *
     * @param playletWithdrawApproval 提现审批
     * @return 结果
     */
    int updatePlayletWithdrawApproval(PlayletWithdrawApproval playletWithdrawApproval);

    /**
     * 删除提现审批
     *
     * @param id 提现审批主键
     * @return 结果
     */
    int deletePlayletWithdrawApprovalById(Long id);

    /**
     * 批量删除提现审批
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    int deletePlayletWithdrawApprovalByIds(String[] ids);
}