From 9a722839b8068745b4ca418b01fa942d0b5f308e Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期五, 11 四月 2025 09:00:08 +0800
Subject: [PATCH] 1.生产补料优化 2.委外补料优化
---
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