From 4a36a12d40453f7686e5f2664f19601b9f6b9ae2 Mon Sep 17 00:00:00 2001 From: Fancy <Fancy.fx@outlook.com> Date: 星期四, 22 八月 2024 14:39:52 +0800 Subject: [PATCH] order status --- pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPr/PrProductionNodeMapper.java | 12 +++++++++++- 1 files changed, 11 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..92d49e0 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; @@ -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); } -- Gitblit v1.8.0