package com.gxwebsoft.clinic.service;

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

import java.util.List;

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

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

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

    /**
     * 根据id查询
     *
     * @param id 
     * @return ClinicList
     */
    ClinicList getByIdRel(Integer id);

    ClinicList getByUserId(Integer userId);
}
