From 1dc456829623823fd9b4f2e6f3bed780f034710e Mon Sep 17 00:00:00 2001
From: cdk <2441919651@qq.com>
Date: 星期三, 23 七月 2025 18:11:42 +0800
Subject: [PATCH] 增加考勤记录的接口,从oa传过来的数据

---
 Controllers/Warehouse/MesXsckController.cs |  132 -------------------------------------------
 1 files changed, 1 insertions(+), 131 deletions(-)

diff --git a/Controllers/Warehouse/MesXsckController.cs b/Controllers/Warehouse/MesXsckController.cs
index 4368ba0..bd252cf 100644
--- a/Controllers/Warehouse/MesXsckController.cs
+++ b/Controllers/Warehouse/MesXsckController.cs
@@ -217,7 +217,7 @@
         }
     }
 
-    #region 鐢熶骇琛ユ枡
+    #region 閿�鍞嚭搴�
 
     /// <summary>
     ///     鑾峰彇鐢熶骇琛ユ枡鍗曞彿鍒楄〃
@@ -328,134 +328,4 @@
 
     #endregion
 
-    #region 鐢熶骇瓒呴
-
-    /// <summary>
-    ///     鑾峰彇鐢熶骇瓒呴鍗曞彿鍒楄〃
-    /// </summary>
-    /// <returns>瓒呴鍗曞彿鍒楄〃</returns>
-    /// <response code="200">鎴愬姛鑾峰彇瓒呴鍗曞彿鍒楄〃</response>
-    /// <response code="400">鑾峰彇澶辫触</response>
-    [HttpPost("GetSccList")]
-    public ResponseResult GetSccList(WarehouseQuery query)
-    {
-        try
-        {
-            dynamic resultInfos = new ExpandoObject();
-            resultInfos.tbBillList = _manager.GetSccList(query);
-            return new ResponseResult
-            {
-                status = 0,
-                message = "OK",
-                data = resultInfos
-            };
-        }
-        catch (Exception ex)
-        {
-            return ResponseResult.ResponseError(ex);
-        }
-    }
-
-    /// <summary>
-    ///     鑾峰彇鐢熶骇瓒呴鍗曟槑缁�
-    /// </summary>
-    /// <param name="query">鏌ヨ鍙傛暟锛屽繀椤诲寘鍚玝illNo</param>
-    /// <returns>瓒呴鍗曟槑缁嗗垪琛�</returns>
-    /// <remarks>
-    ///     璇锋眰绀轰緥:
-    ///     POST /api/MesItemBl/GetMesItemBlDetailBySccBillNo
-    ///     {
-    ///     "billNo": "SC202401010001"
-    ///     }
-    /// </remarks>
-    /// <response code="200">鎴愬姛鑾峰彇瓒呴鍗曟槑缁�</response>
-    /// <response code="400">鑾峰彇澶辫触锛岃繑鍥炲叿浣撻敊璇俊鎭�</response>
-    [HttpPost("GetMesItemBlDetailBySccBillNo")]
-    public ResponseResult GetMesItemBlDetailBySccBillNo(
-        [FromBody] WarehouseQuery query)
-    {
-        try
-        {
-            dynamic resultInfos = new ExpandoObject();
-            resultInfos.tbBillList =
-                _manager.GetMesItemBlDetailBySccBillNo(query);
-            return new ResponseResult
-            {
-                status = 0,
-                message = "OK",
-                data = resultInfos
-            };
-        }
-        catch (Exception ex)
-        {
-            return ResponseResult.ResponseError(ex);
-        }
-    }
-
-    /// <summary>
-    ///     鐢熶骇瓒呴鎵弿鏉$爜1
-    /// </summary>
-    /// <param name="query">鏌ヨ鍙傛暟</param>
-    /// <returns>鎵弿缁撴灉鍜屽緟澶勭悊鍒楄〃</returns>
-    /// <remarks>
-    ///     璇锋眰绀轰緥:
-    ///     POST /api/MesItemBl/ScanBarcodeForOverPicking
-    ///     {
-    ///     "billNo": "WO202401010001",
-    ///     "barcode": "1234567890",
-    ///     "userName": "admin",
-    ///     "blNo": "SC202401010001"
-    ///     }
-    /// </remarks>
-    /// <response code="200">鎵弿鎴愬姛</response>
-    /// <response code="400">鎵弿澶辫触锛岃繑鍥炲叿浣撻敊璇俊鎭�</response>
-    [HttpPost("ScanBarcodeForOverPicking")]
-    public ResponseResult ScanBarcodeForOverPicking(
-        [FromBody] WarehouseQuery query)
-    {
-        try
-        {
-            dynamic resultInfos = new ExpandoObject();
-            var (success, pendingList) =
-                _manager.ScanBarcodeForOverPicking(query);
-            resultInfos.success = success;
-            resultInfos.pendingList = pendingList;
-            return new ResponseResult
-            {
-                status = 0,
-                message = "OK",
-                data = resultInfos
-            };
-        }
-        catch (Exception ex)
-        {
-            return ResponseResult.ResponseError(ex);
-        }
-    }
-
-
-    [HttpPost("PrintBarcodeForOverPicking")]
-    public ResponseResult PrintForOverPicking(WarehouseQuery query)
-    {
-        try
-        {
-            dynamic resultInfos = new ExpandoObject();
-            var (success, pendingList) =
-                _manager.PrintBarcodeForOverPicking(query);
-            resultInfos.success = success;
-            resultInfos.pendingList = pendingList;
-            return new ResponseResult
-            {
-                status = 0,
-                message = "OK",
-                data = resultInfos
-            };
-        }
-        catch (Exception ex)
-        {
-            return ResponseResult.ResponseError(ex);
-        }
-    }
-
-    #endregion
 }
\ No newline at end of file

--
Gitblit v1.9.3