From a8de9228a1ecd5dabfc09bf80d92494a418e56f3 Mon Sep 17 00:00:00 2001 From: 王 垚 <1402714037@qq.com> Date: 星期日, 02 一月 2022 03:36:15 +0800 Subject: [PATCH] 切换正式 --- WebAPI/Controllers/PODemandPlanController.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WebAPI/Controllers/PODemandPlanController.cs b/WebAPI/Controllers/PODemandPlanController.cs index ad24e71..b8e45cb 100644 --- a/WebAPI/Controllers/PODemandPlanController.cs +++ b/WebAPI/Controllers/PODemandPlanController.cs @@ -41,12 +41,12 @@ //鍏朵粬杩囨护 if (msg.Trim() == "") { - msg = " Where hsupid in (select HItemID from h_v_IF_Supplier where hnumber=^^" + HSupNo.Trim() + "^^) " + sqlWhere; + msg = " Where hsupid in (select HSupID from h_v_Gy_UserSupplierList where 鐢ㄦ埛=^^" + HSupNo.Trim() + "^^) " + sqlWhere; // msg = " Where hsupid in (select hsupid from Gy_UserSupplierRelation where HUserID=^^" + System.Web.HttpContext.Current.Session["HUserName"].ToString() + "^^)"; } else { - msg = msg + " and hsupid in (select HItemID from h_v_IF_Supplier where hnumber=^^" + HSupNo.Trim() + "^^) " + sqlWhere; + msg = msg + " and hsupid in (select HSupID from h_v_Gy_UserSupplierList where 鐢ㄦ埛=^^" + HSupNo.Trim() + "^^) " + sqlWhere; // msg = msg + " Where hsupid in (select hsupid from Gy_UserSupplierRelation where HUserID=^^" + System.Web.HttpContext.Current.Session["HUserName"].ToString() + "^^)"; } //杞崲鐗规畩瀛楃 -- Gitblit v1.9.1