From 0a74392a5eba77891c9310413f19c099a4580d82 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期一, 04 十一月 2024 08:15:06 +0800 Subject: [PATCH] iqc --- DevApp/Gs.DevApp/UserControl/SelectCgMx.cs | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs b/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs index 24f7db5..ce7be0b 100644 --- a/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs +++ b/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs @@ -15,14 +15,17 @@ new List<FilterEntity>(); private readonly string _webServiceName = "MesRohInDataManager/"; - + private string suppCode = ""; + private string strWhere = ""; /// <summary> /// 渚涘簲鍟嗙紪鍙� /// </summary> /// <param name="supp_no"></param> - public SelectCgMx(string supp_no) + public SelectCgMx(string _suppCode, string _strWhere) { InitializeComponent(); + this.suppCode = _suppCode; + this.strWhere = _strWhere; pageBar1.PagerEvent += PageBar1_PagerEvent; getPageList(1, UtilityHelper.GetPageSize()); gridView1.IndicatorWidth = 50; @@ -72,6 +75,7 @@ private void getPageList(int curPage, int pageSize) { var _sbSqlWhere = new StringBuilder(); + _sbSqlWhere.Append(" "); foreach (var itm in _filterList) _sbSqlWhere.Append(" and " + itm.fileId + itm.fileOper + "'" + itm.fileValue + "'"); -- Gitblit v1.9.3