package com.gxwebsoft.clinic.mapper;

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

import java.util.List;

/**
 * 医生入驻申请Mapper
 *
 * @author 科技小王子
 * @since 2025-10-19 09:27:04
 */
public interface ClinicDoctorApplyMapper extends BaseMapper<ClinicDoctorApply> {

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

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

}
