From 17807fc41e2146f1194ba118bc650bf83eaf5e32 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期四, 09 十月 2025 11:13:08 +0800
Subject: [PATCH] 添加刀具查询

---
 Controllers/MesOrderStaController.cs |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/Controllers/MesOrderStaController.cs b/Controllers/MesOrderStaController.cs
index d7075a2..829031d 100644
--- a/Controllers/MesOrderStaController.cs
+++ b/Controllers/MesOrderStaController.cs
@@ -388,4 +388,29 @@
             return ResponseResult.ResponseError(ex);
         }
     }
+
+    /// <summary>
+    /// 鍒�鍏锋煡璇紙鏀寔缂栧彿鎴栧悕绉版ā绯婃煡璇級
+    /// </summary>
+    /// <param name="searchKey">鏌ヨ鍏抽敭瀛�</param>
+    /// <returns>鍒�鍏峰垪琛�</returns>
+    [HttpPost("QueryTools")]
+    public ResponseResult QueryTools([FromBody] string searchKey)
+    {
+        try
+        {
+            dynamic resultInfos = new ExpandoObject();
+            resultInfos.tbBillList = m.QueryTools(searchKey);
+            return new ResponseResult
+            {
+                status = 0,
+                message = "OK",
+                data = resultInfos
+            };
+        }
+        catch (Exception ex)
+        {
+            return ResponseResult.ResponseError(ex);
+        }
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.3