From cf85f9443dc91cc8ee4e3a9b79e903b6635b13ac Mon Sep 17 00:00:00 2001 From: YL <YL@LAPTOP-SE03PLUR> Date: 星期二, 09 十一月 2021 16:02:48 +0800 Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/SRM-WEBAPI --- WebAPI/Controllers/ReportController.cs | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/WebAPI/Controllers/ReportController.cs b/WebAPI/Controllers/ReportController.cs index dada4f0..fdfefd9 100644 --- a/WebAPI/Controllers/ReportController.cs +++ b/WebAPI/Controllers/ReportController.cs @@ -44,11 +44,11 @@ //鍏朵粬杩囨护 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; } 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; } //杞崲鐗规畩瀛楃 if (Common.SQLtoChange(msg, ref VsWhere, ref PcWhere) == false) @@ -112,11 +112,11 @@ //鍏朵粬杩囨护 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; } 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; } //杞崲鐗规畩瀛楃 if (Common.SQLtoChange(msg, ref VsWhere, ref PcWhere) == false) @@ -182,11 +182,11 @@ //鍏朵粬杩囨护 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; } 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; } //杞崲鐗规畩瀛楃 if (Common.SQLtoChange(msg, ref VsWhere, ref PcWhere) == false) -- Gitblit v1.9.1