From 5cabba0016c61d51204c7e28bf0613b1cd335327 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期三, 25 三月 2026 15:05:34 +0800
Subject: [PATCH] 工序不合格处理为隔离后,后续工序不继续报工
---
src/main/java/com/ruoyi/production/mapper/ProductionProductMainMapper.java | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/ruoyi/production/mapper/ProductionProductMainMapper.java b/src/main/java/com/ruoyi/production/mapper/ProductionProductMainMapper.java
index 2ccf787..f4be202 100644
--- a/src/main/java/com/ruoyi/production/mapper/ProductionProductMainMapper.java
+++ b/src/main/java/com/ruoyi/production/mapper/ProductionProductMainMapper.java
@@ -35,4 +35,12 @@
ArrayList<Long> listMain(List<Long> idList);
List<ProductionProductMainDto> getByProductWorkOrderId(Long productWorkOrderId);
+
+ /**
+ * 妫�鏌ヤ箣鍓嶇殑宸ュ簭鏄惁鏈夎闅旂鐨勪笉鍚堟牸璁板綍
+ * @param productRouteId 褰撳墠宸ュ簭鐨勮矾鐢盜D
+ * @param currentDragSort 褰撳墠宸ュ簭鐨勬帓搴�
+ * @return 鏄惁鏈夐殧绂荤殑涓嶅悎鏍艰褰�
+ */
+ boolean checkPreviousProcessReported(@Param("productRouteId") Long productRouteId, @Param("currentDragSort") Integer currentDragSort);
}
--
Gitblit v1.9.3