From 767f92e1e3efb4170295279bc0a788fd4caeb56d Mon Sep 17 00:00:00 2001
From: lu <123456>
Date: 星期五, 05 九月 2025 11:18:46 +0800
Subject: [PATCH] bug

---
 DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs |   29 +++++++++++++++++++++++++----
 1 files changed, 25 insertions(+), 4 deletions(-)

diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
index 9302d84..23cca95 100644
--- a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
+++ b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
@@ -1710,7 +1710,7 @@
         }
         public delegate void DelegateGetModel(string guid);
         public delegate void DelegateGetList(int currentPage);
-       
+
         /// <summary>
         /// 
         /// </summary>
@@ -1829,7 +1829,8 @@
                         view.ActiveEditor.MouseUp += ActiveEditor_MouseUp;
                 };
             }
-            if (action2 != null) {
+            if (action2 != null)
+            {
                 gridView1.FocusedRowChanged += (s, e) =>
                 {
                     int _handle = gridView1.FocusedRowHandle;
@@ -1928,7 +1929,7 @@
                 };
             }
         }
-      
+
         private static void ActiveEditor_MouseUp(object sender, MouseEventArgs e)
         {
             BaseEdit edit = sender as BaseEdit;
@@ -1944,7 +1945,7 @@
                     column.Width = 500;
             }
         }
-
+        
         /// <summary>
         /// 璁剧疆閫夐」鍗�
         /// </summary>
@@ -2117,7 +2118,20 @@
             }
         }
 
+
+        /// <summary>
+        /// 鏁版嵁杩囨护
+        /// </summary>
+        /// <returns></returns>
+        public static string GetOrgWhere()
+        {
+            System.Text.StringBuilder sb = new System.Text.StringBuilder();
+            sb.Append(" (select aboutGuid as fid from  SYS_USER_BIND where userGuid='" + LoginInfoModel.CurrentUser.LoginUserGuid + "' and ftype='缁勭粐')");
+            return sb.ToString();
+        }
         #endregion
+
+
         /// <summary>
         /// 鍒ゆ柇鏄笉鏄竴涓湁鏁堢殑鏁板��
         /// </summary>
@@ -2511,6 +2525,13 @@
         鍙楁墭鍏ュ簱
     }
 
+    public enum OrderType
+    {
+        鍏跺畠鍏ュ簱,
+        鐗╂枡璋冩嫧,
+        鍏跺畠鍑哄簱
+    }
+
 
 
 }
\ No newline at end of file

--
Gitblit v1.9.3