package com.ruoyi.oa.mapper;

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

/**
 * cmc设备报废Mapper接口
 * 
 * @author cmc
 * @date 2024-05-21
 */
public interface CmcDeviceScrapMapper 
{
    /**
     * 查询cmc设备报废
     * 
     * @param deviceScrapId cmc设备报废主键
     * @return cmc设备报废
     */
    public CmcDeviceScrap selectCmcDeviceScrapByDeviceScrapId(Integer deviceScrapId);

    /**
     * 查询cmc设备报废列表
     * 
     * @param cmcDeviceScrap cmc设备报废
     * @return cmc设备报废集合
     */
    public List<CmcDeviceScrap> selectCmcDeviceScrapList(CmcDeviceScrap cmcDeviceScrap);

    /**
     * 新增cmc设备报废
     * 
     * @param cmcDeviceScrap cmc设备报废
     * @return 结果
     */
    public int insertCmcDeviceScrap(CmcDeviceScrap cmcDeviceScrap);

    /**
     * 修改cmc设备报废
     * 
     * @param cmcDeviceScrap cmc设备报废
     * @return 结果
     */
    public int updateCmcDeviceScrap(CmcDeviceScrap cmcDeviceScrap);

    /**
     * 删除cmc设备报废
     * 
     * @param deviceScrapId cmc设备报废主键
     * @return 结果
     */
    public int deleteCmcDeviceScrapByDeviceScrapId(Integer deviceScrapId);

    /**
     * 批量删除cmc设备报废
     * 
     * @param deviceScrapIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCmcDeviceScrapByDeviceScrapIds(Integer[] deviceScrapIds);
}
