package com.aucma.base.mapper;

import java.util.List;
import com.aucma.base.domain.StationDefectRelation;

/**
 * 质检工位/缺陷维护Mapper接口
 * 
 * @author Yinq
 * @date 2023-11-27
 */
public interface StationDefectRelationMapper 
{
    /**
     * 查询质检工位/缺陷维护
     * 
     * @param objId 质检工位/缺陷维护主键
     * @return 质检工位/缺陷维护
     */
    public StationDefectRelation selectStationDefectRelationByObjId(Long objId);

    /**
     * 查询质检工位/缺陷维护列表
     * 
     * @param stationDefectRelation 质检工位/缺陷维护
     * @return 质检工位/缺陷维护集合
     */
    public List<StationDefectRelation> selectStationDefectRelationList(StationDefectRelation stationDefectRelation);

    /**
     * 新增质检工位/缺陷维护
     * 
     * @param stationDefectRelation 质检工位/缺陷维护
     * @return 结果
     */
    public int insertStationDefectRelation(StationDefectRelation stationDefectRelation);

    /**
     * 修改质检工位/缺陷维护
     * 
     * @param stationDefectRelation 质检工位/缺陷维护
     * @return 结果
     */
    public int updateStationDefectRelation(StationDefectRelation stationDefectRelation);

    /**
     * 删除质检工位/缺陷维护
     * 
     * @param objId 质检工位/缺陷维护主键
     * @return 结果
     */
    public int deleteStationDefectRelationByObjId(Long objId);

    /**
     * 批量删除质检工位/缺陷维护
     * 
     * @param objIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteStationDefectRelationByObjIds(Long[] objIds);
}
