啊鑫
2024-10-26 331e49f5a9718cd15baa412a3ca9bb0b70a469c7
DevApp/Gs.DevApp/DevFrm/QC/Frm_MesSysLookups.cs
@@ -7,19 +7,19 @@
using DevExpress.XtraEditors;
using DevExpress.XtraEditors.Controls;
using DevExpress.XtraGrid.Views.Grid;
using Gs.DevApp.DevFrm.QC.Models;
using Gs.DevApp.Entity;
using Gs.DevApp.ToolBox;
using Gs.DevApp.UserControl;
using MES.Service.Modes;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Gs.DevApp.DevFrm
namespace Gs.DevApp.DevFrm.QC
{
    public partial class Frm_MesSysLookups : XtraForm
    {
        private List<FilterEntity> _filterList = new List<FilterEntity>();
        private readonly string _webServiceName = "MesSysLookupTypesManager/";
        private List<FilterEntity> _filterList = new List<FilterEntity>();
        public Frm_MesSysLookups()
        {
@@ -213,6 +213,9 @@
                return;
            }
            gvMx1.CloseEditor();
            gvMx1.UpdateCurrentRow();
            var lst = new List<MesSysLookups>();
            for (var i = 0; i < gvMx1.DataRowCount; i++)
            {
@@ -272,6 +275,8 @@
                _sbSqlWhere.Append(" and " + itm.fileId + itm.fileOper + "'" +
                                   itm.fileValue + "'");
            _sbSqlWhere.Append("and LOOKUP_TYPE_CODE = 'QATOOLS'");
            var pgq = new PageQueryModel(curPage, pageSize,
                "create_date", "asc", "", _sbSqlWhere.ToString());
            var json = JsonConvert.SerializeObject(pgq);