|  |  | 
 |  |  |  | 
 |  |  | import com.dy.pmsGlobal.pojoPr.PrProductionNode; | 
 |  |  | import org.apache.ibatis.annotations.Mapper; | 
 |  |  | import org.apache.ibatis.annotations.Param; | 
 |  |  |  | 
 |  |  | import java.util.List; | 
 |  |  |  | 
 |  |  | 
 |  |  |  | 
 |  |  |     PrProductionNode selectByPrimaryKey(Long id); | 
 |  |  |  | 
 |  |  |     PrProductionNode selectNodeBySort(@Param("processId") Long processId , @Param("sort") Integer sort); | 
 |  |  |  | 
 |  |  |     int updateByPrimaryKeySelective(PrProductionNode record); | 
 |  |  |  | 
 |  |  |     List<PrProductionNode> selectByProcess(Long processId); | 
 |  |  |     List<PrProductionNode> selectByProcess(@Param("processId") Long processId); | 
 |  |  |  | 
 |  |  |     void deleteByProcessId(Long id); | 
 |  |  |  | 
 |  |  |     int deleteByNodeId(List<Long> ids); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 节点是结束节点或之后的节点 | 
 |  |  |      * @param currNode | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     boolean isEndNode(Long currNode); | 
 |  |  | } |