From 25901fce975c288864cc2bcff7f4156463fbf2f8 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期一, 04 十一月 2024 18:35:17 +0800 Subject: [PATCH] iqc --- DevApp/Gs.DevApp/UserControl/SelectCgMx.cs | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs b/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs index 7c4b7a5..ce7be0b 100644 --- a/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs +++ b/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs @@ -15,10 +15,17 @@ new List<FilterEntity>(); private readonly string _webServiceName = "MesRohInDataManager/"; - - public SelectCgMx() + private string suppCode = ""; + private string strWhere = ""; + /// <summary> + /// 渚涘簲鍟嗙紪鍙� + /// </summary> + /// <param name="supp_no"></param> + public SelectCgMx(string _suppCode, string _strWhere) { InitializeComponent(); + this.suppCode = _suppCode; + this.strWhere = _strWhere; pageBar1.PagerEvent += PageBar1_PagerEvent; getPageList(1, UtilityHelper.GetPageSize()); gridView1.IndicatorWidth = 50; @@ -40,7 +47,6 @@ list.Add(_guid); } } - UpdateParent?.Invoke(this, new UpdateParentEventArgs { StringList = list }); Close(); @@ -69,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