package com.zd.laboratory.mapper;

import java.util.List;
import com.zd.laboratory.domain.LabQpSubjectRelation;

/**
 * 气瓶和实验室关联Mapper接口
 * 
 * @author zd
 * @date 2022-05-17
 */
public interface LabQpSubjectRelationMapper 
{
    /**
     * 查询气瓶和实验室关联
     * 
     * @param id 气瓶和实验室关联主键
     * @return 气瓶和实验室关联
     */
    public LabQpSubjectRelation selectLabQpSubjectRelationById(Long id);

    /**
     * 查询气瓶和实验室关联列表
     * 
     * @param labQpSubjectRelation 气瓶和实验室关联
     * @return 气瓶和实验室关联集合
     */
    public List<LabQpSubjectRelation> selectLabQpSubjectRelationList(LabQpSubjectRelation labQpSubjectRelation);

    /**
     * 新增气瓶和实验室关联
     * 
     * @param labQpSubjectRelation 气瓶和实验室关联
     * @return 结果
     */
    public int insertLabQpSubjectRelation(LabQpSubjectRelation labQpSubjectRelation);

    /**
     * 修改气瓶和实验室关联
     * 
     * @param labQpSubjectRelation 气瓶和实验室关联
     * @return 结果
     */
    public int updateLabQpSubjectRelation(LabQpSubjectRelation labQpSubjectRelation);

    /**
     * 删除气瓶和实验室关联
     * 
     * @param id 气瓶和实验室关联主键
     * @return 结果
     */
    public int deleteLabQpSubjectRelationById(Long id);

    /**
     * 批量删除气瓶和实验室关联
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLabQpSubjectRelationByIds(Long[] ids);
}
