package com.gxwebsoft.clinic.service;

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

import java.util.List;

/**
 * 药品库存Service
 *
 * @author 科技小王子
 * @since 2025-10-22 02:06:32
 */
public interface ClinicMedicineStockService extends IService<ClinicMedicineStock> {

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

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

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

}
