package com.zd.chemical.service;

import java.util.List;
import com.zd.chemical.domain.HxpChemicalJoinCabinet;
import com.zd.chemical.domain.vo.AioChemicalVo;
import com.zd.chemical.domain.vo.HxpChemicalJoinCabinetListVo;
import com.zd.chemical.domain.vo.HxpChemicalJoinCabinetSearch;
import com.zd.chemical.domain.vo.HxpChemicalJoinCabinetVo;

/**
 * 化学品和机柜关联Service接口
 *
 * @author liubo
 * @date 2022-06-16
 */
public interface IHxpChemicalJoinCabinetService
{
    /**
     * 查询化学品和机柜关联
     *
     * @param id 化学品和机柜关联主键
     * @return 化学品和机柜关联
     */
    public HxpChemicalJoinCabinet selectHxpChemicalJoinCabinetById(Long id);

    /**
     * 查询化学品和机柜关联
     *
     * @param id 化学品和机柜关联主键
     * @return 化学品和机柜关联
     */
    public HxpChemicalJoinCabinetVo selByChemical(Long id);

    /**
     * 查询化学品和机柜关联列表
     *
     * @param hxpChemicalJoinCabinetSearch 化学品和机柜关联
     * @return 化学品和机柜关联集合
     */
    public List<HxpChemicalJoinCabinetListVo> selectHxpChemicalJoinCabinetList(HxpChemicalJoinCabinetSearch hxpChemicalJoinCabinetSearch);

    /**
     * 新增化学品和机柜关联
     *
     * @param hxpChemicalJoinCabinetVo 化学品和机柜关联
     * @return 结果
     */
    public int insertHxpChemicalJoinCabinet(HxpChemicalJoinCabinetVo hxpChemicalJoinCabinetVo);

    /**
     * 修改化学品和机柜关联
     *
     * @param hxpChemicalJoinCabinet 化学品和机柜关联
     * @return 结果
     */
    public int updateHxpChemicalJoinCabinet(HxpChemicalJoinCabinet hxpChemicalJoinCabinet);

    /**
     * 批量删除化学品和机柜关联
     *
     * @param ids 需要删除的化学品和机柜关联主键集合
     * @return 结果
     */
    public int deleteHxpChemicalJoinCabinetByIds(Long[] ids);

    /**
     * 删除化学品和机柜关联信息
     *
     * @param id 化学品和机柜关联主键
     * @return 结果
     */
    public int deleteHxpChemicalJoinCabinetById(Long id);

    List<AioChemicalVo> selectChemicalVoList(AioChemicalVo aioChemicalVo);

    /**
     * 批量删除化学品和机柜关联
     *
     * @param ids 需要删除的化学品和机柜关联主键集合
     * @return 结果
     */
    public int delByChemical(Long[] ids);
}
