package com.limap.core.basic.service;

import java.math.BigDecimal;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.limap.common.core.domain.AjaxResult;
import com.limap.core.basic.domain.BasicUserWithdraw;
import com.limap.core.basic.vo.BasicUserWithdrawVo;

/**
 * 提现记录Service接口
 *
 * @author jjb
 * @date 2025-04-11
 */
public interface IBasicUserWithdrawService extends IService<BasicUserWithdraw> {
    /**
     * 查询提现记录列表
     *
     * @param basicUserWithdraw 提现记录
     * @return 提现记录集合
     */
    public List<BasicUserWithdraw> selectBasicUserWithdrawList(BasicUserWithdraw basicUserWithdraw);

    /**
     * 用户提现
     * @param basicUserWithdraw
     * @return
     */
    public AjaxResult addUserWithdraw(BasicUserWithdrawVo basicUserWithdraw);

    /**
     * 更新体现金额
     * @param id
     * @return
     */
    public void updatePayment(Long id, BigDecimal amount);
}
