From 6a89dc5916749e18dc77b15c7c27ccd2ada38e6b Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期一, 30 六月 2025 17:20:27 +0800
Subject: [PATCH] bug

---
 DevApp/Gs.DevApp/UserControl/UcDictionaryComBox.cs |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/DevApp/Gs.DevApp/UserControl/UcDictionaryComBox.cs b/DevApp/Gs.DevApp/UserControl/UcDictionaryComBox.cs
index 485355e..fccb0c2 100644
--- a/DevApp/Gs.DevApp/UserControl/UcDictionaryComBox.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcDictionaryComBox.cs
@@ -69,12 +69,11 @@
         {
             txt_qt003.Properties.Items.Clear();
             string _where = " and 1=1 and " + strWhere;
-            var pgq = new PageQueryModel(1, 999999, "a.defect_name", "asc", "", _where);
+            var pgq = new PageQueryModel(1, 999999, "a.defect_code", "asc", "", _where);
             var json = JsonConvert.SerializeObject(pgq);
             try
             {
-                var strReturn =
-                    UtilityHelper.HttpPost("", "MesDefectCodeManager/GetListPage", json);
+                var strReturn = UtilityHelper.HttpPost("", "MesDefectCodeManager/GetListPage", json);
                 var dd = UtilityHelper.ReturnToTablePage(strReturn);
                 var dt = dd.rtnData.list;
                 foreach (DataRow row in dt.Rows) {

--
Gitblit v1.9.3