package com.microservices.pms.pipeline.mapper;

import com.microservices.pms.pipeline.domain.PmsCiPipelineGraphics;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 流水线图形化构建Mapper接口
 * 
 * @author wanjia
 * @date 2024-05-23
 */
@Mapper
public interface PmsCiPipelineGraphicsMapper 
{
    /**
     * 查询流水线图形化构建
     * 
     * @param id 流水线图形化构建主键
     * @return 流水线图形化构建
     */
    public PmsCiPipelineGraphics selectPmsCiPipelineGraphicsById(Long id);

    /**
     * 查询流水线图形化构建列表
     * 
     * @param pmsCiPipelineGraphics 流水线图形化构建
     * @return 流水线图形化构建集合
     */
    public List<PmsCiPipelineGraphics> selectPmsCiPipelineGraphicsList(PmsCiPipelineGraphics pmsCiPipelineGraphics);

    /**
     * 新增流水线图形化构建
     * 
     * @param pmsCiPipelineGraphics 流水线图形化构建
     * @return 结果
     */
    public int insertPmsCiPipelineGraphics(PmsCiPipelineGraphics pmsCiPipelineGraphics);

    /**
     * 修改流水线图形化构建
     * 
     * @param pmsCiPipelineGraphics 流水线图形化构建
     * @return 结果
     */
    public int updatePmsCiPipelineGraphics(PmsCiPipelineGraphics pmsCiPipelineGraphics);

    /**
     * 删除流水线图形化构建
     * 
     * @param id 流水线图形化构建主键
     * @return 结果
     */
    public int deletePmsCiPipelineGraphicsById(Long id);

    /**
     * 批量删除流水线图形化构建
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePmsCiPipelineGraphicsByIds(Long[] ids);

    PmsCiPipelineGraphics selectPmsCiPipelineGraphicsByPmsCiPipelineId(@Param("pmsCiPipelineId") Long pmsCiPipelineId);

    int deletePmsCiPipelineGraphicsByPmsCiPipelineIds(Long[] pmsCiPipelineIds);
}
