From 4d99e718536ac77dff26dde8da7a59cdc9b52de8 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期三, 20 五月 2026 10:13:57 +0800
Subject: [PATCH] fix:1.生产报工优化

---
 src/main/java/com/ruoyi/production/mapper/ProductionProductMainMapper.java |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/src/main/java/com/ruoyi/production/mapper/ProductionProductMainMapper.java b/src/main/java/com/ruoyi/production/mapper/ProductionProductMainMapper.java
index f4be202..b1c41ac 100644
--- a/src/main/java/com/ruoyi/production/mapper/ProductionProductMainMapper.java
+++ b/src/main/java/com/ruoyi/production/mapper/ProductionProductMainMapper.java
@@ -19,14 +19,12 @@
     IPage<ProductionProductMainDto> listPageProductionProductMainDto(Page page, @Param("c") ProductionProductMainDto productionProductMainDto);
 
     /**
-     * 鏍规嵁宸ュ崟ID鎵归噺鍒犻櫎鐢熶骇涓昏〃鏁版嵁
+     * 鏍规嵁宸ュ崟 ID 鎵归噺鍒犻櫎鎶ュ伐涓昏〃鏁版嵁銆�
      */
     int deleteByWorkOrderIds(@Param("workOrderIds") List<Long> workOrderIds);
 
     /**
-     * 鏍规嵁鎶ュ伐id鏌ヨ鐢熶骇璁㈠崟
-     * @param productMainId
-     * @return
+     * 鏍规嵁鎶ュ伐 ID 鏌ヨ鐢熶骇璁㈠崟銆�
      */
     ProductOrder getOrderByMainId(@Param("productMainId") Long productMainId);
 
@@ -37,10 +35,7 @@
     List<ProductionProductMainDto> getByProductWorkOrderId(Long productWorkOrderId);
 
     /**
-     * 妫�鏌ヤ箣鍓嶇殑宸ュ簭鏄惁鏈夎闅旂鐨勪笉鍚堟牸璁板綍
-     * @param productRouteId 褰撳墠宸ュ簭鐨勮矾鐢盜D
-     * @param currentDragSort 褰撳墠宸ュ簭鐨勬帓搴�
-     * @return 鏄惁鏈夐殧绂荤殑涓嶅悎鏍艰褰�
+     * 鏍¢獙鍚屼竴鐢熶骇璁㈠崟涓嬬殑涓婁竴閬撳伐搴忔槸鍚﹀凡缁忔姤宸ャ��
      */
-    boolean checkPreviousProcessReported(@Param("productRouteId") Long productRouteId, @Param("currentDragSort") Integer currentDragSort);
+    boolean checkPreviousProcessReported(@Param("workOrderId") Long workOrderId, @Param("currentDragSort") Integer currentDragSort);
 }

--
Gitblit v1.9.3