package com.playlet.web.service.app;

import com.github.pagehelper.PageInfo;
import com.playlet.system.domain.PlayletUserWithdrawDepositRecord;

import java.util.List;

/**
 * @Date: 2024-03-30 00:10
 * @Author: 但星霖
 * @Version: v1.0
 * @Description: 用户交易记录App Service接口
 */
public interface IPlayletUserWithdrawDepositRecordAppService {

    /**
     * 查询用户交易记录
     *
     * @param id 用户交易记录主键
     * @return 用户交易记录
     */
    public PlayletUserWithdrawDepositRecord selectPlayletUserWithdrawDepositRecordById(Long id);

    /**
     * 查询用户交易记录列表
     *
     * @param playletUserWithdrawDepositRecord 用户交易记录
     * @return 用户交易记录集合
     */
    public List<PlayletUserWithdrawDepositRecord> selectPlayletUserWithdrawDepositRecordList(PlayletUserWithdrawDepositRecord playletUserWithdrawDepositRecord);

    /**
     * 新增用户交易记录
     *
     * @param playletUserWithdrawDepositRecord 用户交易记录
     * @return 结果
     */
    public int insertPlayletUserWithdrawDepositRecord(PlayletUserWithdrawDepositRecord playletUserWithdrawDepositRecord);

    /**
     * 修改用户交易记录
     *
     * @param playletUserWithdrawDepositRecord 用户交易记录
     * @return 结果
     */
    public int updatePlayletUserWithdrawDepositRecord(PlayletUserWithdrawDepositRecord playletUserWithdrawDepositRecord);

    /**
     * 批量删除用户交易记录
     *
     * @param ids 需要删除的用户交易记录主键集合
     * @return 结果
     */
    public int deletePlayletUserWithdrawDepositRecordByIds(String ids);

    /**
     * 删除用户交易记录信息
     *
     * @param id 用户交易记录主键
     * @return 结果
     */
    public int deletePlayletUserWithdrawDepositRecordById(Long id);

    PageInfo<PlayletUserWithdrawDepositRecord> getWithdrawDepositList(PlayletUserWithdrawDepositRecord playletUserWithdrawDepositRecord, Integer pageSize, Integer pageNum);
}
