package com.gxwebsoft.clinic.service;

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

import java.util.List;

/**
 * 出入库Service
 *
 * @author 科技小王子
 * @since 2025-10-22 02:06:32
 */
public interface ClinicMedicineInoutService extends IService<ClinicMedicineInout> {

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

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

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

}
