package com.gxwebsoft.clinic.service;

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

import java.util.List;

/**
 * 挂号Service
 *
 * @author 科技小王子
 * @since 2025-10-19 09:27:04
 */
public interface ClinicAppointmentService extends IService<ClinicAppointment> {

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

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

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

}
