From 89776d6f53dff45b1ac0ee20438f5aa8dab2d0e5 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期一, 16 六月 2025 17:13:31 +0800 Subject: [PATCH] bug --- DevApp/Gs.DevApp/UserControl/UcLookDaa.cs | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/UcLookDaa.cs b/DevApp/Gs.DevApp/UserControl/UcLookDaa.cs index de27c74..fd54ab9 100644 --- a/DevApp/Gs.DevApp/UserControl/UcLookDaa.cs +++ b/DevApp/Gs.DevApp/UserControl/UcLookDaa.cs @@ -34,12 +34,14 @@ /// 璇诲彇宸ュ崟 /// </summary> /// <param name="orgId"></param> - public void getSuppler(string orgId, string _dftVale = "") + public void getSuppler(string orgId, string _dftVale = "",string strWhere="") { lookSearchSupplier.EditValue = null; string _keyWhere = ""; if (!string.IsNullOrEmpty(orgId)) _keyWhere = " and a.erp_sczz ='" + orgId + "'"; + if (!string.IsNullOrEmpty(strWhere)) + _keyWhere += strWhere; var pgq = new PageQueryModel(1, 999999, "a.daa001", "asc", "", " and 1=1" + _keyWhere); var json = JsonConvert.SerializeObject(pgq); -- Gitblit v1.9.3