package com.gxwebsoft.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.shop.entity.MerchantWithdraw;
import com.gxwebsoft.shop.param.MerchantWithdrawParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商户提现记录Mapper
 *
 * @author 科技小王子
 * @since 2022-12-02 00:41:09
 */
public interface MerchantWithdrawMapper extends BaseMapper<MerchantWithdraw> {

    /**
     * 分页查询
     *
     * @param page  分页对象
     * @param param 查询参数
     * @return List<MerchantWithdraw>
     */
    List<MerchantWithdraw> selectPageRel(@Param("page") IPage<MerchantWithdraw> page,
                             @Param("param") MerchantWithdrawParam param);

    /**
     * 查询全部
     *
     * @param param 查询参数
     * @return List<User>
     */
    List<MerchantWithdraw> selectListRel(@Param("param") MerchantWithdrawParam param);

}
