package com.ruoyi.inspection.service;

import java.util.List;

import com.ruoyi.inspection.domain.InspectionAbnormal;

/**
 * 巡检异常Service接口
 *
 * @author LSD
 * @date 2025-10-24
 */
public interface IInspectionAbnormalService {
    /**
     * 查询巡检异常
     *
     * @param id 巡检异常主键
     * @return 巡检异常
     */
    public InspectionAbnormal selectInspectionAbnormalById(Long id);

    /**
     * 查询巡检异常列表
     *
     * @param inspectionAbnormal 巡检异常
     * @return 巡检异常集合
     */
    public List<InspectionAbnormal> selectInspectionAbnormalList(InspectionAbnormal inspectionAbnormal);

    /**
     * 新增巡检异常
     *
     * @param inspectionAbnormal 巡检异常
     * @return 结果
     */
    public int insertInspectionAbnormal(InspectionAbnormal inspectionAbnormal);

    /**
     * 修改巡检异常
     *
     * @param inspectionAbnormal 巡检异常
     * @return 结果
     */
    public int updateInspectionAbnormal(InspectionAbnormal inspectionAbnormal);

    /**
     * 批量删除巡检异常
     *
     * @param ids 需要删除的巡检异常主键集合
     * @return 结果
     */
    public int deleteInspectionAbnormalByIds(Long[] ids);

    /**
     * 删除巡检异常信息
     *
     * @param id 巡检异常主键
     * @return 结果
     */
    public int deleteInspectionAbnormalById(Long id);
}
