package com.casic.missiles.service.business;

import com.baomidou.mybatisplus.extension.service.IService;
import com.casic.missiles.model.business.BusinessSiteExecutiveEquipmentRelation;

import java.util.List;

/**
 * <p>
 * 外场检测-测量设备关联表 服务类
 * </p>
 *
 * @author wangpeng
 * @since 2023-03-23
 */
public interface IBusinessSiteExecutiveEquipmentRelationService extends IService<BusinessSiteExecutiveEquipmentRelation> {

    boolean saveBatch(Long siteExecutiveLogId, List<BusinessSiteExecutiveEquipmentRelation> siteExecutiveEquipmentRelationList);

    Boolean deleteBySiteExecutiveLogId(Long siteExecutiveLogId);

    Boolean deleteBySiteExecutiveLogIds(List<Long> siteExecutiveLogIds);

    List<BusinessSiteExecutiveEquipmentRelation> getEquipmentsByExecutiveLogId(Long siteExecutiveLogId);

}
