From dd3fb89fc2f7487e751d33ece46a25dde5e5b31c Mon Sep 17 00:00:00 2001 From: lu <123456> Date: 星期三, 03 九月 2025 18:28:36 +0800 Subject: [PATCH] 打印 --- DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs | 26 +++++++++++++++++++++++--- 1 files changed, 23 insertions(+), 3 deletions(-) diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs index 9302d84..b369d8a 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> @@ -2511,6 +2525,12 @@ 鍙楁墭鍏ュ簱 } + public enum OrderType + { + 鍏跺畠鍏ュ簱, + 鐗╂枡璋冩嫧 + } + } \ No newline at end of file -- Gitblit v1.9.3