package com.op.wms.service;

import java.util.List;
import com.op.wms.domain.BaseEquipmentProduct;

/**
 * 设备绑定产品Service接口
 * 
 * @author Open Platform
 * @date 2023-07-20
 */
public interface IBaseEquipmentProductService {
	/**
	 * 查询设备绑定产品
	 * 
	 * @param equipmentId 设备绑定产品主键
	 * @return 设备绑定产品
	 */
	public BaseEquipmentProduct selectBaseEquipmentProductByEquipmentId(Long equipmentId);

	/**
	 * 查询设备绑定产品列表
	 * 
	 * @param baseEquipmentProduct 设备绑定产品
	 * @return 设备绑定产品集合
	 */
	public List<BaseEquipmentProduct> selectBaseEquipmentProductList(BaseEquipmentProduct baseEquipmentProduct);

	/**
	 * 新增设备绑定产品
	 * 
	 * @param baseEquipmentProduct 设备绑定产品
	 * @return 结果
	 */
	public int insertBaseEquipmentProduct(BaseEquipmentProduct baseEquipmentProduct);

	/**
	 * 修改设备绑定产品
	 * 
	 * @param baseEquipmentProduct 设备绑定产品
	 * @return 结果
	 */
	public int updateBaseEquipmentProduct(BaseEquipmentProduct baseEquipmentProduct);

	/**
	 * 批量删除设备绑定产品
	 * 
	 * @param equipmentIds 需要删除的设备绑定产品主键集合
	 * @return 结果
	 */
	public int deleteBaseEquipmentProductByEquipmentIds(Long[] equipmentIds);

	/**
	 * 删除设备绑定产品信息
	 * 
	 * @param equipmentId 设备绑定产品主键
	 * @return 结果
	 */
	public int deleteBaseEquipmentProductByEquipmentId(Long equipmentId);
}
