From 94b872a684fa6c065b22d1cf7088243a0900353b Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期三, 19 三月 2025 08:26:17 +0800
Subject: [PATCH] 异常

---
 DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs b/DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs
index b145535..3592c02 100644
--- a/DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs
+++ b/DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs
@@ -24,7 +24,7 @@
         {
             InitializeComponent();
             strType = _strType;
-            
+
         }
         protected override void OnCreateControl()
         {
@@ -39,7 +39,7 @@
             toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick;
             toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick;
             toolBarMenu1.btnPiZhunClick += ToolBarMenu1_btnPiZhunClick;
-          this.toolBarMenu1.getXmlConfig();
+            this.toolBarMenu1.getXmlConfig();
             Form parentForm = this.FindForm();
             Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1);
             Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, parentForm, "foneChecked", "", (value) =>
@@ -334,7 +334,7 @@
                             Memo = row["memo"].ToString(),
                             FupAllow = Gs.DevApp.ToolBox.UtilityHelper.GetDecimal(row["FupAllow"].ToString()),
                             FdownAllow = Gs.DevApp.ToolBox.UtilityHelper.GetDecimal(row["FdownAllow"].ToString()),
-                            FqaType = this.strType,
+
                         });
                     }
                 }
@@ -344,7 +344,7 @@
                     ItemId = long.Parse(_ItemId),
                     Memo = txt_memo.Text.Trim(),
                     ItemNo = txt_itemNo.Text.Trim(),
-                    Ftype = "1",
+                    Ftype = this.strType,
                     Fversion = Gs.DevApp.ToolBox.UtilityHelper.ToLong(txt_fversion.Text.Trim()),
                     list = lst
                 };
@@ -386,6 +386,7 @@
         {
             var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList);
             _sbSqlWhere += " and b.guid is not null";
+            _sbSqlWhere += " and a.FTYPE='" + this.strType + "'";
             var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount,
                 "org.FNumber asc ,b.item_no asc,a.FVERSION desc", "", "", _sbSqlWhere.ToString());
             var json = JsonConvert.SerializeObject(pgq);

--
Gitblit v1.9.3