package com.casic.missiles.mapper.equipment;

import com.casic.missiles.model.equipment.EquipmentStandardApplyEquipment;
import com.casic.missiles.model.equipment.EquipmentStandardSupportEquipment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 标准装置-标准配套设备表 Mapper 接口
 * </p>
 *
 * @author cuicheng
 * @since 2022-12-15
 */
public interface EquipmentStandardSupportMapper extends BaseMapper<EquipmentStandardSupportEquipment> {

    List<EquipmentStandardSupportEquipment> selectBatchEquipmentIds(@Param("supportEquipmentIds") List<Long> supportEquipmentIds);

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