From bebb7b48326afd83927edd877eef53f4002d9a3f Mon Sep 17 00:00:00 2001
From: lu <123456>
Date: 星期六, 23 八月 2025 09:09:14 +0800
Subject: [PATCH] 数据过滤

---
 DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs |   20 +++++++++++++++++---
 1 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
index 9302d84..4a74803 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;
@@ -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>

--
Gitblit v1.9.3