package com.gxwebsoft.clinic.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.clinic.entity.ClinicDoctorUser;
import com.gxwebsoft.clinic.param.ClinicDoctorUserParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

}
