From 9bc81b5d30e53e8e819bdc0a36de148f5ef0e69f Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期五, 06 十二月 2024 14:09:38 +0800 Subject: [PATCH] 调整分辨率 --- DevApp/Gs.DevApp/UserControl/UcLookSupplier.cs | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/UcLookSupplier.cs b/DevApp/Gs.DevApp/UserControl/UcLookSupplier.cs index 9c8552b..cc836f9 100644 --- a/DevApp/Gs.DevApp/UserControl/UcLookSupplier.cs +++ b/DevApp/Gs.DevApp/UserControl/UcLookSupplier.cs @@ -34,12 +34,15 @@ public void getSuppler(string orgId) { + string _keyWhere = ""; + if (!string.IsNullOrEmpty(orgId)) + _keyWhere = " and a.FSubsidiary ='" + orgId + "'"; var _obj = new { currentPage = 1, everyPageSize = 999999, sortName = "", - keyWhere = " and a.FSubsidiary ='" + orgId + "'", + keyWhere = _keyWhere, }; var json = JsonConvert.SerializeObject(_obj); try @@ -95,6 +98,6 @@ // lookSearchSupplier.EditValue = ((Code.ToString().Trim())); lookSearchSupplier.EditValue = Int64.Parse((Code.ToString().Trim())); } - + } } \ No newline at end of file -- Gitblit v1.9.3