From fe9223b1cfa5bac6438afebf4ab6604fd89f3ed2 Mon Sep 17 00:00:00 2001
From: tjx <t2856754968@163.com>
Date: 星期四, 27 十一月 2025 16:58:19 +0800
Subject: [PATCH] 111

---
 StandardPda/MESApplication/Controllers/Warehouse/XbRackingTaskSyxtLogController.cs |   25 ++++++++++++++++++++++++-
 1 files changed, 24 insertions(+), 1 deletions(-)

diff --git a/StandardPda/MESApplication/Controllers/Warehouse/XbRackingTaskSyxtLogController.cs b/StandardPda/MESApplication/Controllers/Warehouse/XbRackingTaskSyxtLogController.cs
index 3d97bad..097bdbb 100644
--- a/StandardPda/MESApplication/Controllers/Warehouse/XbRackingTaskSyxtLogController.cs
+++ b/StandardPda/MESApplication/Controllers/Warehouse/XbRackingTaskSyxtLogController.cs
@@ -224,6 +224,29 @@
     }
 
     /// <summary>
+    ///     鏍搁獙浠诲姟鍗曞彿鏄惁瀛樺湪
+    /// </summary>
+    /// <returns></returns>
+    [HttpPost("ValidateTaskExists")]
+    public ResponseResult ValidateTaskExists(TaskCompleteReportDto dto)
+    {
+        try
+        {
+            var exists = m.ValidateTaskExists(dto);
+            return new ResponseResult
+            {
+                status = 0,
+                message = exists ? "浠诲姟鍗曞彿瀛樺湪" : "浠诲姟鍗曞彿涓嶅瓨鍦�",
+                data = exists
+            };
+        }
+        catch (Exception ex)
+        {
+            return ResponseResult.ResponseError(ex);
+        }
+    }
+
+    /// <summary>
     ///     寮傚父浠诲姟涓婃姤
     /// </summary>
     /// <returns></returns>
@@ -273,4 +296,4 @@
             return ResponseResult.ResponseError(ex);
         }
     }
-}
+}
\ No newline at end of file

--
Gitblit v1.9.3