package com.sundot.airport.equipment.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sundot.airport.equipment.domain.EquipmentInspectionRecord;

/**
 * 设备定检记录Mapper接口
 *
 * @author ruoyi
 * @date 2026-05-12
 */
public interface EquipmentInspectionRecordMapper extends BaseMapper<EquipmentInspectionRecord> {
    /**
     * 查询设备定检记录
     *
     * @param id 设备定检记录主键
     * @return 设备定检记录
     */
    public EquipmentInspectionRecord selectEquipmentInspectionRecordById(Long id);

    /**
     * 查询设备定检记录列表
     *
     * @param equipmentInspectionRecord 设备定检记录
     * @return 设备定检记录集合
     */
    public List<EquipmentInspectionRecord> selectEquipmentInspectionRecordList(EquipmentInspectionRecord equipmentInspectionRecord);

    /**
     * 新增设备定检记录
     *
     * @param equipmentInspectionRecord 设备定检记录
     * @return 结果
     */
    public int insertEquipmentInspectionRecord(EquipmentInspectionRecord equipmentInspectionRecord);

    /**
     * 修改设备定检记录
     *
     * @param equipmentInspectionRecord 设备定检记录
     * @return 结果
     */
    public int updateEquipmentInspectionRecord(EquipmentInspectionRecord equipmentInspectionRecord);

    /**
     * 删除设备定检记录
     *
     * @param id 设备定检记录主键
     * @return 结果
     */
    public int deleteEquipmentInspectionRecordById(Long id);

    /**
     * 批量删除设备定检记录
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEquipmentInspectionRecordByIds(Long[] ids);
}
