package com.gxwebsoft.clinic.mapper;

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

import java.util.List;

/**
 * 诊所列表Mapper
 *
 * @author LX
 * @since 2025-12-09 17:29:44
 */
public interface ClinicListMapper extends BaseMapper<ClinicList> {

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

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

}
