From b401548e93334943320e2a4a6b11341cf8a5fecf Mon Sep 17 00:00:00 2001 From: lu <123456> Date: 星期日, 24 八月 2025 12:57:01 +0800 Subject: [PATCH] 数据过滤 --- DevApp/Gs.DevApp/DevFrm/WW/Frm_ProductionOrder.cs | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/WW/Frm_ProductionOrder.cs b/DevApp/Gs.DevApp/DevFrm/WW/Frm_ProductionOrder.cs index e62beb7..9acc51a 100644 --- a/DevApp/Gs.DevApp/DevFrm/WW/Frm_ProductionOrder.cs +++ b/DevApp/Gs.DevApp/DevFrm/WW/Frm_ProductionOrder.cs @@ -161,7 +161,11 @@ /// <param name="pageSize">姣忛〉鍑犳潯</param> private void getPageList(int curPage) { - gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); + gcMain1.DataSource = null; + System.Text.StringBuilder _sbSqlWhere = new System.Text.StringBuilder(); + _sbSqlWhere.Append(" and hzOrg.FID in"); + _sbSqlWhere.Append(ToolBox.UtilityHelper.GetOrgWhere()); + _sbSqlWhere.Append(UtilityHelper.GetSearchWhere(_filterList)); PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "order_no", "asc", "", _sbSqlWhere.ToString()); string json = JsonConvert.SerializeObject(pgq); try -- Gitblit v1.9.3