package com.gxwebsoft.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.shop.entity.MerchantWithdraw;
import com.gxwebsoft.shop.param.MerchantWithdrawParam;

import java.util.List;

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

    /**
     * 分页关联查询
     *
     * @param param 查询参数
     * @return PageResult<MerchantWithdraw>
     */
    PageResult<MerchantWithdraw> pageRel(MerchantWithdrawParam param);

    /**
     * 关联查询全部
     *
     * @param param 查询参数
     * @return List<MerchantWithdraw>
     */
    List<MerchantWithdraw> listRel(MerchantWithdrawParam param);

    /**
     * 根据id查询
     *
     * @param id 主键ID
     * @return MerchantWithdraw
     */
    MerchantWithdraw getByIdRel(Integer id);

}
