package com.ximai.mes.pro.mapper.productionSolution;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ximai.mes.pro.domain.productionSolution.ProProductionSolutionProcessQcindex;

import java.util.List;


/**
 * 生产版本工序检验项Mapper接口
 *
 * @author generator
 * @date 2024-01-28
 */
public interface ProProductionSolutionProcessQcindexMapper extends BaseMapper<ProProductionSolutionProcessQcindex> {
    /**
     * 查询生产版本工序检验项
     *
     * @param prototypeRequestProcessQcindexId 生产版本工序检验项主键
     * @return 生产版本工序检验项
     */
    ProProductionSolutionProcessQcindex selectProProductionSolutionProcessQcindexByPrototypeRequestProcessQcindexId(Long prototypeRequestProcessQcindexId);

    List<ProProductionSolutionProcessQcindex> selectProProductionSolutionProcessQcindexByPrototypeSolutionProcessId(Long productionSolutionId);

    /**
     * 查询生产版本工序检验项列表
     *
     * @param proProductionSolutionProcessQcindex 生产版本工序检验项
     * @return 生产版本工序检验项集合
     */
    List<ProProductionSolutionProcessQcindex> selectProProductionSolutionProcessQcindexList(ProProductionSolutionProcessQcindex proProductionSolutionProcessQcindex);

    /**
     * 新增生产版本工序检验项
     *
     * @param proProductionSolutionProcessQcindex 生产版本工序检验项
     * @return 结果
     */
    int insertProProductionSolutionProcessQcindex(ProProductionSolutionProcessQcindex proProductionSolutionProcessQcindex);

    /**
     * 修改生产版本工序检验项
     *
     * @param proProductionSolutionProcessQcindex 生产版本工序检验项
     * @return 结果
     */
    int updateProProductionSolutionProcessQcindex(ProProductionSolutionProcessQcindex proProductionSolutionProcessQcindex);

    /**
     * 删除生产版本工序检验项
     *
     * @param prototypeRequestProcessQcindexId 生产版本工序检验项主键
     * @return 结果
     */
    int deleteProProductionSolutionProcessQcindexByPrototypeSolutionProcessQcindexId(Long prototypeRequestProcessQcindexId);

    /**
     * 批量删除生产版本工序检验项
     *
     * @param prototypeRequestProcessQcindexIds 需要删除的数据主键集合
     * @return 结果
     */
    int deleteProProductionSolutionProcessQcindexByPrototypeSolutionProcessQcindexIds(Long[] prototypeRequestProcessQcindexIds);
}
