package com.dy.pmsGlobal.daoPr; import com.dy.pmsGlobal.pojoPr.PrProductionNode; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; /** * @author 小明 * @description 针对表【pr_production_node(生产节点表)】的数据库操作Mapper * @createDate 2024-05-25 09:22:03 * @Entity com.dy.pmsGlobal.pojoPr.PrProductionNode */ @Mapper public interface PrProductionNodeMapper { int deleteByPrimaryKey(Long id); int insertSelective(PrProductionNode record); int insertMany(List nodes); PrProductionNode selectByPrimaryKey(Long id); int updateByPrimaryKeySelective(PrProductionNode record); List selectByProcess(@Param("processId") Long processId); void deleteByProcessId(Long id); int deleteByNodeId(List ids); /** * 节点是结束节点或之后的节点 * @param currNode * @return */ boolean isEndNode(Long currNode); }