package com.ruoyi.os.mapper;

import java.util.List;

import com.ruoyi.os.domain.HealthcareOsConventionalDrug;
import org.apache.ibatis.annotations.Mapper;

/**
 * 常规药品Mapper接口
 *
 * @author 何顺
 * @date 2024-10-19
 */
@Mapper
public interface HealthcareOsConventionalDrugMapper
{
    /**
     * 查询常规药品
     *
     * @param id 常规药品主键
     * @return 常规药品
     */
    public HealthcareOsConventionalDrug selectHealthcareOsConventionalDrugById(Long id);

    /**
     * 查询常规药品列表
     *
     * @param healthcareOsConventionalDrug 常规药品
     * @return 常规药品集合
     */
    public List<HealthcareOsConventionalDrug> selectHealthcareOsConventionalDrugList(HealthcareOsConventionalDrug healthcareOsConventionalDrug);

    /**
     * 新增常规药品
     *
     * @param healthcareOsConventionalDrug 常规药品
     * @return 结果
     */
    public int insertHealthcareOsConventionalDrug(HealthcareOsConventionalDrug healthcareOsConventionalDrug);

    /**
     * 修改常规药品
     *
     * @param healthcareOsConventionalDrug 常规药品
     * @return 结果
     */
    public int updateHealthcareOsConventionalDrug(HealthcareOsConventionalDrug healthcareOsConventionalDrug);

    /**
     * 删除常规药品
     *
     * @param id 常规药品主键
     * @return 结果
     */
    public int deleteHealthcareOsConventionalDrugById(Long id);

    /**
     * 批量删除常规药品
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHealthcareOsConventionalDrugByIds(Long[] ids);
}
