Fancy
2024-08-22 4a36a12d40453f7686e5f2664f19601b9f6b9ae2
pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPr/PrProductionNodeMapper.java
@@ -2,6 +2,7 @@
import com.dy.pmsGlobal.pojoPr.PrProductionNode;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@@ -24,7 +25,16 @@
    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);
}