package com.ruoyi.project.reliability.service;

import java.util.List;
import com.ruoyi.project.reliability.domain.TDeviceNagetiveFactor;

/**
 * 不良因素清单Service接口
 * 
 * @author ruoyi
 * @date 2022-07-07
 */
public interface ITDeviceNagetiveFactorService 
{
    /**
     * 查询不良因素清单
     * 
     * @param id 不良因素清单ID
     * @return 不良因素清单
     */
    public TDeviceNagetiveFactor selectTDeviceNagetiveFactorById(Long id);

    /**
     * 查询不良因素清单列表
     * 
     * @param tDeviceNagetiveFactor 不良因素清单
     * @return 不良因素清单集合
     */
    public List<TDeviceNagetiveFactor> selectTDeviceNagetiveFactorList(TDeviceNagetiveFactor tDeviceNagetiveFactor);

    /**
     * 新增不良因素清单
     * 
     * @param tDeviceNagetiveFactor 不良因素清单
     * @return 结果
     */
    public int insertTDeviceNagetiveFactor(TDeviceNagetiveFactor tDeviceNagetiveFactor);

    /**
     * 修改不良因素清单
     * 
     * @param tDeviceNagetiveFactor 不良因素清单
     * @return 结果
     */
    public int updateTDeviceNagetiveFactor(TDeviceNagetiveFactor tDeviceNagetiveFactor);

    /**
     * 批量删除不良因素清单
     * 
     * @param ids 需要删除的不良因素清单ID
     * @return 结果
     */
    public int deleteTDeviceNagetiveFactorByIds(Long[] ids);

    /**
     * 删除不良因素清单信息
     * 
     * @param id 不良因素清单ID
     * @return 结果
     */
    public int deleteTDeviceNagetiveFactorById(Long id);
}
