From 3c5a57e55861a305b53089c91ef12c9edfbdafd0 Mon Sep 17 00:00:00 2001
From: admin <qiutairan163@163.com>
Date: 星期二, 18 十一月 2025 11:46:40 +0800
Subject: [PATCH] 托盘中含有的执行中的单据GetRunSoNoticeList增加SONo降序排序
---
Wms/Wms/Controllers/PdaCrController.cs | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/Wms/Wms/Controllers/PdaCrController.cs b/Wms/Wms/Controllers/PdaCrController.cs
index 27b045e..0bdaacb 100644
--- a/Wms/Wms/Controllers/PdaCrController.cs
+++ b/Wms/Wms/Controllers/PdaCrController.cs
@@ -124,9 +124,17 @@
/// <returns></returns>
[HttpGet]
[ServiceFilter(typeof(ApiResponseActionFilter))]
- public List<StockDetailWithQtyDto> GetStockQueryList(string locatNo, string palletNo, string boxno)
+ public IActionResult GetStockQueryList(string locatNo, string palletNo, string boxno)
{
- return _pdaCrSvc.GetStockQueryList(locatNo, palletNo, boxno);
+ try
+ {
+ var list = _pdaCrSvc.GetStockQueryList(locatNo, palletNo, boxno);
+ return Ok(new { data = list, code = 0, msg = "鎴愬姛" });
+ }
+ catch (Exception e)
+ {
+ return Ok(new { data = "", code = 1, msg = $"寮傚父锛歿e.Message}" });
+ }
}
#endregion
--
Gitblit v1.8.0