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.BLL/BllPdaServer/PdaCrServer.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Wms/WMS.BLL/BllPdaServer/PdaCrServer.cs b/Wms/WMS.BLL/BllPdaServer/PdaCrServer.cs
index 7a2b022..47e0c36 100644
--- a/Wms/WMS.BLL/BllPdaServer/PdaCrServer.cs
+++ b/Wms/WMS.BLL/BllPdaServer/PdaCrServer.cs
@@ -422,7 +422,7 @@
         /// <param name="palletNo">鎵樼洏鍙�</param> 
         /// <param name="boxNo">绠辩爜</param> 
         /// <returns></returns>
-        public async Task<List<StockDetailWithQtyDto>> GetStockQueryList(string locatNo, string palletNo, string boxNo)
+        public List<StockDetailWithQtyDto> GetStockQueryList(string locatNo, string palletNo, string boxNo)
         {
             string dataSql = "", whereStr = "";
 
@@ -447,12 +447,12 @@
 	group by a.SkuName,a.SkuNo,a.LotNo,b.LocatNo,a.PalletNo
 	order by a.SkuNo,a.LotNo";
             }
-            DataTable dataDt = await Db.Ado.GetDataTableAsync(dataSql);
+            DataTable dataDt = Db.Ado.GetDataTable(dataSql);
 
             var result = dataDt.Rows.Cast<DataRow>().Select(e => new StockDetailWithQtyDto
             {
                 LocatNo = e["LocatNo"] + "",
-                PackagNo = e["PalletNo"] + "",
+                PalletNo = e["PalletNo"] + "",
                 SkuNo = e["SkuNo"] + "",
                 SkuName = e["SkuName"] + "",
                 LotNo = e["LotNo"] + "",

--
Gitblit v1.8.0