From d2bacdf7e724c22263c94e73b947846720ca6032 Mon Sep 17 00:00:00 2001
From: lg <123456>
Date: 星期四, 20 十一月 2025 14:12:20 +0800
Subject: [PATCH] 删除了很多用不到的图片,方法和窗体文件
---
DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs | 64 -------------------------------
1 files changed, 1 insertions(+), 63 deletions(-)
diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
index 77340fe..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鍙屽嚮鐨勪富閿�
@@ -2585,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>
@@ -2706,7 +2646,5 @@
鐗╂枡璋冩嫧,
鍏跺畠鍑哄簱
}
-
-
}
\ No newline at end of file
--
Gitblit v1.9.3