From a6df048e352abf7fefc94aa3df34d0b80aa26db4 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期五, 28 十一月 2025 16:29:30 +0800
Subject: [PATCH] 更新为标准版

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

diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
index 0d37aea..3150cad 100644
--- a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
+++ b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
@@ -1410,15 +1410,7 @@
             if (string.IsNullOrEmpty(s)) return null;
             return decimal.Parse(s);
         }
-
-
-        public static int ToBit(string str)
-        {
-            if (str.ToUpper() == "true".ToUpper())
-                return 1;
-            return 0;
-        }
-
+         
 
         public static bool ToCheck(string str)
         {
@@ -1542,35 +1534,6 @@
 
             return (_strGuid, _strName);
         }
-
-        /// <summary>
-        ///     璇诲彇GridView鍙屽嚮鐨勪富閿�
-        /// </summary>
-        /// <param name="gridView1"></param>
-        /// <param name="e"></param>
-        /// <param name="colName"></param>
-        /// <returns></returns>
-        public static string GetCurrentDoubleRow(GridView gridView1
-            , MouseEventArgs e
-            , string colName)
-        {
-            var info = gridView1.CalcHitInfo(e.Location);
-            if (info.InRow)
-            {
-                var view = info.View;
-                if (view != null)
-                {
-                    var row = view.GetDataRow(info.RowHandle);
-                    if (row != null)
-                    {
-                        var rowGuid = row[colName].ToString();
-                        return rowGuid;
-                    }
-                }
-            }
-            return "";
-        }
-
 
         /// <summary>
         ///     璇诲彇GridView鍙屽嚮鐨勪富閿�
@@ -2279,6 +2242,8 @@
                 ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
             }
         }
+       
+        
         #endregion
 
 
@@ -2583,29 +2548,6 @@
                 return "";
             }
         }
-        public static string GetFirstOrg(UserControl.UcLookOrgAll txt_erpSczz)
-        {
-            string userGuid = LoginInfoModel.CurrentUser.LoginUserGuid;
-            var pgq = new PageQueryModel(1, 999999, "FID", "asc", userGuid, " and IS_STATUS=1");
-            var json = JsonConvert.SerializeObject(pgq);
-            try
-            {
-                var strReturn = UtilityHelper.HttpPost("", "Organization/GetListPage", json);
-                var _obj = UtilityHelper.ReturnToDynamic(strReturn);
-                string _extendText = _obj.rtnData.extendText;
-                string[] _dftOrg = _extendText.Split(',');
-                if (_dftOrg.Length > 0)
-                {
-                    txt_erpSczz.SetIdOrCode(_dftOrg[0].Trim());
-                    return _dftOrg[0].Trim();
-                }
-                return "";
-            }
-            catch (Exception ex)
-            {
-                return "";
-            }
-        }
     }
 
     /// <summary>
@@ -2704,7 +2646,5 @@
         鐗╂枡璋冩嫧,
         鍏跺畠鍑哄簱
     }
-
-
 
 }
\ No newline at end of file

--
Gitblit v1.9.3