From 94d0b18fa47a92a1cb4d1fef4520d35ef2c2c322 Mon Sep 17 00:00:00 2001
From: wbc <2597324127@qq.com>
Date: 星期二, 16 十二月 2025 21:56:49 +0800
Subject: [PATCH] 产能排产相关后端更新
---
WebApi/Gs.Toolbox/UtilityHelper.cs | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/WebApi/Gs.Toolbox/UtilityHelper.cs b/WebApi/Gs.Toolbox/UtilityHelper.cs
index 91603dd..0b53232 100644
--- a/WebApi/Gs.Toolbox/UtilityHelper.cs
+++ b/WebApi/Gs.Toolbox/UtilityHelper.cs
@@ -8,8 +8,9 @@
public static class UtilityHelper
{
+
/// <summary>
- /// 璇诲彇鐧诲綍鐢ㄦ埛淇℃伅锛氳繑鍥炵敤鎴稢ode锛岀敤鎴稧uid锛岀粍缁嘔D
+ /// 璇诲彇鐧诲綍鐢ㄦ埛淇℃伅锛氳繑鍥炵敤鎴稢ode锛岀敤鎴稧uid锛岀粍缁嘔D
/// </summary>
/// <param name="_http"></param>
/// <returns></returns>
@@ -21,26 +22,22 @@
string _token = _http.HttpContext.Request.Headers["token"];
var _userGuid = _token;
var _sb = new StringBuilder();
- _sb.Append(
- "select ACCOUNT as t1,'' as t3 from SYS_USER where guid='" +
- _userGuid + "' ");
+ _sb.Append("select ACCOUNT as t1,'' as t3 from SYS_USER where guid='" + _userGuid + "' ");
var dset = new DataSet();
dset = DbHelperSQL.Query(_sb.ToString());
if (dset != null && dset.Tables[0].Rows.Count > 0)
{
- var _row = dset.Tables[0].Rows[0];
+ DataRow _row = dset.Tables[0].Rows[0];
var _userCode = _row["t1"].ToString();
var _orgFids = _row["t3"].ToString();
return (_userCode, _userGuid, _orgFids);
}
-
return (null, null, null);
}
catch (Exception ex)
{
LogHelper.Debug("GetUserGuidAndOrgGuid:", ex.Message);
}
-
return (null, null, null);
}
@@ -124,7 +121,7 @@
"','" + _table + "','" + _logTxt + "' ");
return sb;
}
-
+
/// <summary>
/// 鍒ゆ柇鏄笉鏄痝uid
/// </summary>
--
Gitblit v1.9.3