package com.gxwebsoft.shop.service;

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

import java.util.List;

/**
 * 分销商申请记录表Service
 *
 * @author 科技小王子
 * @since 2024-07-28 11:57:41
 */
public interface DealerApplyService extends IService<DealerApply> {

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

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

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

}
