package com.gxwebsoft.clinic.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.clinic.entity.ClinicMedicineInout;
import com.gxwebsoft.clinic.param.ClinicMedicineInoutParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

    /**
     * 分页查询
     *
     * @param page  分页对象
     * @param param 查询参数
     * @return List<ClinicMedicineInout>
     */
    List<ClinicMedicineInout> selectPageRel(@Param("page") IPage<ClinicMedicineInout> page,
                             @Param("param") ClinicMedicineInoutParam param);

    /**
     * 查询全部
     *
     * @param param 查询参数
     * @return List<User>
     */
    List<ClinicMedicineInout> selectListRel(@Param("param") ClinicMedicineInoutParam param);

}
