From 122e9c22a1845ec01eba0b79a72e1793e6cd2487 Mon Sep 17 00:00:00 2001
From: wangyi <2946747746@qq.com>
Date: 星期二, 31 三月 2026 20:23:30 +0800
Subject: [PATCH] 出运单子表数据修改

---
 WebAPI/Controllers/物流管理/出运单/WLYayBillController.cs |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git "a/WebAPI/Controllers/\347\211\251\346\265\201\347\256\241\347\220\206/\345\207\272\350\277\220\345\215\225/WLYayBillController.cs" "b/WebAPI/Controllers/\347\211\251\346\265\201\347\256\241\347\220\206/\345\207\272\350\277\220\345\215\225/WLYayBillController.cs"
index f94a684..5b55ff4 100644
--- "a/WebAPI/Controllers/\347\211\251\346\265\201\347\256\241\347\220\206/\345\207\272\350\277\220\345\215\225/WLYayBillController.cs"
+++ "b/WebAPI/Controllers/\347\211\251\346\265\201\347\256\241\347\220\206/\345\207\272\350\277\220\345\215\225/WLYayBillController.cs"
@@ -821,7 +821,7 @@
         #region 鍑鸿繍鍗� 鑾峰彇瀛愯〃鏁版嵁
         [Route("WLYayBillController/GetList")]
         [HttpGet]
-        public object GetList(string hmainid, string user)
+        public object GetList(string hmainid_hsubid, string user)
         {
             try
             {
@@ -836,7 +836,10 @@
                 }
 
 
-                DataSet ds = oCN.RunProcReturn("select * from h_v_Gy_MaterialPackingRelation where hmainid=" + hmainid, "WL_YayBillMain");
+                string sql = $"select * from h_v_Gy_MaterialPackingRelation where hmainid_hsubid in (" + hmainid_hsubid + ")";
+
+                // 鎵ц鏌ヨ
+                DataSet ds = oCN.RunProcReturn(sql, "WL_YayBillMain");
 
 
                 //娣诲姞鍒楀悕

--
Gitblit v1.9.1