package org.qinan.safetyeval.domain.change.gateway;

import org.qinan.safetyeval.domain.change.model.QualFilingEquipmentChangeE;

import java.util.List;

/**
 * 备案申请装备-变更网关
 *
 * @Author: WGG
 * @Date: 2022/3/22 16:49
 */
public interface QualFilingEquipmentChangeGateway {

    /**
     * 新增备案申请装备-变更
     *
     * @param qualFilingEquipmentChangeE 备案申请装备-变更
     * @return 结果
     */
    Boolean add(QualFilingEquipmentChangeE qualFilingEquipmentChangeE);

    /**
     * 修改备案申请装备-变更
     *
     * @param qualFilingEquipmentChangeE 备案申请装备-变更
     * @return 结果
     */
    Boolean update(QualFilingEquipmentChangeE qualFilingEquipmentChangeE);

    /**
     * 删除备案申请装备-变更
     *
     * @param id
     * @return 结果
     */
    Boolean deletedQualFilingEquipmentChangeById(Long id);

    /**
     * 删除备案申请装备-变更
     *
     * @param ids
     * @return 结果
     */
    Boolean deletedQualFilingEquipmentChangeByIds(Long[] ids);

    /**
     * 根据filingId查询备案申请装备-变更列表
     */
    List<QualFilingEquipmentChangeE> listByFilingId(Long filingId);
}
