From ccc519c681dacd75cd4079a1f3740c6f891430bd Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期三, 26 二月 2025 08:33:31 +0800
Subject: [PATCH] 1.MES->ERP调拨出库

---
 Controllers/Warehouse/MesDbckController.cs |  138 +++++++++++++++++++++++-----------------------
 1 files changed, 69 insertions(+), 69 deletions(-)

diff --git a/Controllers/Warehouse/MesDbckController.cs b/Controllers/Warehouse/MesDbckController.cs
index 50e65e9..8556a00 100644
--- a/Controllers/Warehouse/MesDbckController.cs
+++ b/Controllers/Warehouse/MesDbckController.cs
@@ -88,75 +88,75 @@
         }
     }
 
-    /// <summary>
-    ///     娣诲姞
-    /// </summary>
-    /// <returns></returns>
-    [HttpPost("Insert")]
-    public ResponseResult Add([FromBody] MesDbck data)
-    {
-        try
-        {
-            dynamic resultInfos = new ExpandoObject();
-            resultInfos.tbBillList = m.Insert(data);
-            return new ResponseResult
-            {
-                status = 0,
-                message = "OK",
-                data = resultInfos
-            };
-        }
-        catch (Exception ex)
-        {
-            return ResponseResult.ResponseError(ex);
-        }
-    }
+    ///// <summary>
+    /////     娣诲姞
+    ///// </summary>
+    ///// <returns></returns>
+    //[HttpPost("Insert")]
+    //public ResponseResult Add([FromBody] MesDbck data)
+    //{
+    //    try
+    //    {
+    //        dynamic resultInfos = new ExpandoObject();
+    //        resultInfos.tbBillList = m.Insert(data);
+    //        return new ResponseResult
+    //        {
+    //            status = 0,
+    //            message = "OK",
+    //            data = resultInfos
+    //        };
+    //    }
+    //    catch (Exception ex)
+    //    {
+    //        return ResponseResult.ResponseError(ex);
+    //    }
+    //}
 
-    /// <summary>
-    ///     娣诲姞杩斿洖鑷
-    /// </summary>
-    /// <returns></returns>
-    [HttpPost("InsertReturnIdentity")]
-    public ResponseResult InsertReturnIdentity([FromBody] MesDbck data)
-    {
-        try
-        {
-            dynamic resultInfos = new ExpandoObject();
-            resultInfos.tbBillList = m.InsertReturnIdentity(data);
-            return new ResponseResult
-            {
-                status = 0,
-                message = "OK",
-                data = resultInfos
-            };
-        }
-        catch (Exception ex)
-        {
-            return ResponseResult.ResponseError(ex);
-        }
-    }
+    ///// <summary>
+    /////     娣诲姞杩斿洖鑷
+    ///// </summary>
+    ///// <returns></returns>
+    //[HttpPost("InsertReturnIdentity")]
+    //public ResponseResult InsertReturnIdentity([FromBody] MesDbck data)
+    //{
+    //    try
+    //    {
+    //        dynamic resultInfos = new ExpandoObject();
+    //        resultInfos.tbBillList = m.InsertReturnIdentity(data);
+    //        return new ResponseResult
+    //        {
+    //            status = 0,
+    //            message = "OK",
+    //            data = resultInfos
+    //        };
+    //    }
+    //    catch (Exception ex)
+    //    {
+    //        return ResponseResult.ResponseError(ex);
+    //    }
+    //}
 
-    /// <summary>
-    ///     淇敼
-    /// </summary>
-    /// <returns></returns>
-    [HttpPost("Update")]
-    public ResponseResult Update([FromBody] MesDbck data)
-    {
-        try
-        {
-            dynamic resultInfos = new ExpandoObject();
-            resultInfos.tbBillList = m.Update(data);
-            return new ResponseResult
-            {
-                status = 0,
-                message = "OK",
-                data = resultInfos
-            };
-        }
-        catch (Exception ex)
-        {
-            return ResponseResult.ResponseError(ex);
-        }
-    }
+    ///// <summary>
+    /////     淇敼
+    ///// </summary>
+    ///// <returns></returns>
+    //[HttpPost("Update")]
+    //public ResponseResult Update([FromBody] MesDbck data)
+    //{
+    //    try
+    //    {
+    //        dynamic resultInfos = new ExpandoObject();
+    //        resultInfos.tbBillList = m.Update(data);
+    //        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