From e8a72ebe25e054107b76bde858ae970e24c94cf0 Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期五, 18 十月 2024 16:23:47 +0800
Subject: [PATCH] command

---
 pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPr/PrProductionNodeMapper.java |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPr/PrProductionNodeMapper.java b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPr/PrProductionNodeMapper.java
index 71176a2..3f45824 100644
--- a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPr/PrProductionNodeMapper.java
+++ b/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;
 
@@ -22,9 +23,20 @@
 
     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);
 }

--
Gitblit v1.8.0