package com.ruoyi.inventory.mapper;

import com.ruoyi.inventory.domain.HealthcareInventoryDrugoutType;

import java.util.List;

/**
 * 仓库调拨记录Mapper接口
 *
 * @author ruoyi
 * @date 2024-10-08
 */
public interface HealthcareInventoryDrugoutTypeMapper
{
    /**
     * 查询仓库调拨记录
     *
     * @param outTypeId 仓库调拨记录主键
     * @return 仓库调拨记录
     */
    public HealthcareInventoryDrugoutType selectHealthcareInventoryDrugoutTypeByOutTypeId(Long outTypeId);

    /**
     * 查询仓库调拨记录列表
     *
     * @param healthcareInventoryDrugoutType 仓库调拨记录
     * @return 仓库调拨记录集合
     */
    public List<HealthcareInventoryDrugoutType> selectHealthcareInventoryDrugoutTypeList(HealthcareInventoryDrugoutType healthcareInventoryDrugoutType);

    /**
     * 新增仓库调拨记录
     *
     * @param healthcareInventoryDrugoutType 仓库调拨记录
     * @return 结果
     */
    public int insertHealthcareInventoryDrugoutType(HealthcareInventoryDrugoutType healthcareInventoryDrugoutType);

    /**
     * 修改仓库调拨记录
     *
     * @param healthcareInventoryDrugoutType 仓库调拨记录
     * @return 结果
     */
    public int updateHealthcareInventoryDrugoutType(HealthcareInventoryDrugoutType healthcareInventoryDrugoutType);

    /**
     * 删除仓库调拨记录
     *
     * @param outTypeId 仓库调拨记录主键
     * @return 结果
     */
    public int deleteHealthcareInventoryDrugoutTypeByOutTypeId(Long outTypeId);

    /**
     * 批量删除仓库调拨记录
     *
     * @param outTypeIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHealthcareInventoryDrugoutTypeByOutTypeIds(Long[] outTypeIds);

    HealthcareInventoryDrugoutType selectHealthcareInventoryDrugoutTypeByDrugOutId(Long drugOutId);
}
