package com.ruoyi.oa.service;

import java.util.List;
import com.ruoyi.oa.domain.CmcMaterialBuy;

/**
 * cmc耗材购买Service接口
 * 
 * @author cmc
 * @date 2024-07-31
 */
public interface ICmcMaterialBuyService 
{
    /**
     * 查询cmc耗材购买
     * 
     * @param buyId cmc耗材购买主键
     * @return cmc耗材购买
     */
    public CmcMaterialBuy selectCmcMaterialBuyByBuyId(Integer buyId);

    /**
     * 查询cmc耗材购买列表
     * 
     * @param cmcMaterialBuy cmc耗材购买
     * @return cmc耗材购买集合
     */
    public List<CmcMaterialBuy> selectCmcMaterialBuyList(CmcMaterialBuy cmcMaterialBuy);

    /**
     * 新增cmc耗材购买
     * 
     * @param cmcMaterialBuy cmc耗材购买
     * @return 结果
     */
    public int insertCmcMaterialBuy(CmcMaterialBuy cmcMaterialBuy);

    /**
     * 修改cmc耗材购买
     * 
     * @param cmcMaterialBuy cmc耗材购买
     * @return 结果
     */
    public int updateCmcMaterialBuy(CmcMaterialBuy cmcMaterialBuy);

    /**
     * 批量删除cmc耗材购买
     * 
     * @param buyIds 需要删除的cmc耗材购买主键集合
     * @return 结果
     */
    public int deleteCmcMaterialBuyByBuyIds(Integer[] buyIds);

    /**
     * 删除cmc耗材购买信息
     * 
     * @param buyId cmc耗材购买主键
     * @return 结果
     */
    public int deleteCmcMaterialBuyByBuyId(Integer buyId);
}
