package com.gxwebsoft.clinic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.clinic.entity.ClinicDoctorUser;
import com.gxwebsoft.clinic.param.ClinicDoctorUserParam;

import java.util.List;

/**
 * 分销商用户记录表Service
 *
 * @author 科技小王子
 * @since 2025-10-19 09:27:04
 */
public interface ClinicDoctorUserService extends IService<ClinicDoctorUser> {

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

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

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

}
