From 53d6e60b4a9fa5b820d9aae336a2a48605345461 Mon Sep 17 00:00:00 2001 From: yangle <admin@YINMOU> Date: 星期一, 22 一月 2024 16:52:29 +0800 Subject: [PATCH] 单品过站优化 排单墙查询列表 --- WebAPI/Controllers/CJGL/Cj_SingleStationController.cs | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/WebAPI/Controllers/CJGL/Cj_SingleStationController.cs b/WebAPI/Controllers/CJGL/Cj_SingleStationController.cs index 90b0de6..70a5f6d 100644 --- a/WebAPI/Controllers/CJGL/Cj_SingleStationController.cs +++ b/WebAPI/Controllers/CJGL/Cj_SingleStationController.cs @@ -562,6 +562,13 @@ sMainStr = "[" + sMainStr + "]"; List<StationBill> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<StationBill>>(sMainStr); + + ds = oCN.RunProcReturn("select HCenterID from Sc_ProcessExchangeBillSub WITH(NOLOCK) where HInterID=" + list[0].HProcExchInterID + " and HEntryID=" + list[0].HProcExchEntryID, "Sc_ProcessExchangeBillSub"); + if (ds.Tables[0].Rows.Count > 0) + { + list[0].HCenterID = long.Parse(ds.Tables[0].Rows[0]["HCenterID"].ToString()); + } + long HMainInterID = 0; string BillType = "3791"; string HBillSubType = "3791"; -- Gitblit v1.9.1