From df44ef7acaf24ff63662bf8a9b7e8fdd1a065366 Mon Sep 17 00:00:00 2001 From: yangle <admin@YINMOU> Date: 星期三, 18 十月 2023 13:21:45 +0800 Subject: [PATCH] 1 --- 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