package com.gxwebsoft.clinic.service;

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

import java.util.List;

/**
 * 处方明细表
Service
 *
 * @author 科技小王子
 * @since 2025-10-22 02:01:13
 */
public interface ClinicPrescriptionItemService extends IService<ClinicPrescriptionItem> {

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

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

    /**
     * 根据id查询
     *
     * @param id 自增ID
     * @return ClinicPrescriptionItem
     */
    ClinicPrescriptionItem getByIdRel(Integer id);

}
