package com.casic.missiles.service.equipment;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.casic.missiles.dto.IdDTO;
import com.casic.missiles.dto.ReturnDTO;
import com.casic.missiles.model.equipment.EquipmentStandardApplyEquipment;
import com.casic.missiles.model.equipment.EquipmentStandardEquipmentUser;
import com.casic.missiles.model.equipment.EquipmentStandardSupportEquipment;

import java.util.List;

/**
 * <p>
 * 标准装置-标准配套设备表 服务类
 * </p>
 *
 * @author cuicheng
 * @since 2022-12-15
 */
public interface IEquipmentStandardSupportEquipmentService extends IService<EquipmentStandardSupportEquipment> {

    Page<EquipmentStandardSupportEquipment> listPage(Page<EquipmentStandardSupportEquipment> page, IdDTO request) throws Exception;

    ReturnDTO add(EquipmentStandardSupportEquipment meterStandardSupportEquipment) throws Exception;

    List<EquipmentStandardSupportEquipment> list(Long id) throws Exception;

    ReturnDTO batchDelete(List<Long> ids);

    int deleteByList(List<EquipmentStandardApplyEquipment> equipmentStandardApplyEquipments, String standardEquipmentId);
}
