From abdfbf6dabca15594ed57a1560bcfffecb0ac854 Mon Sep 17 00:00:00 2001 From: Fancy <Fancy.fx@outlook.com> Date: 星期一, 29 七月 2024 16:28:42 +0800 Subject: [PATCH] add number for product_log --- 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