package com.gxwebsoft.shop.service;

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

import java.util.List;

/**
 * 分销商用户记录表Service
 *
 * @author 科技小王子
 * @since 2024-07-28 19:21:15
 */
public interface DealerUserService extends IService<DealerUser> {

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

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

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

}
