From 3e073e3d25f894fa43b800b6ee3c44a847203ddf Mon Sep 17 00:00:00 2001
From: llj <132905093+newwwwwwtree@users.noreply.github.com>
Date: 星期五, 16 一月 2026 15:33:07 +0800
Subject: [PATCH] 1
---
WebAPI/Controllers/BLL/Xt_UserController.cs | 34 +++++++++++++++++-----------------
1 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/WebAPI/Controllers/BLL/Xt_UserController.cs b/WebAPI/Controllers/BLL/Xt_UserController.cs
index 5ff4933..82a27dc 100644
--- a/WebAPI/Controllers/BLL/Xt_UserController.cs
+++ b/WebAPI/Controllers/BLL/Xt_UserController.cs
@@ -109,24 +109,24 @@
return objJsonResult;
}
- //鑾峰彇褰撳墠鐢ㄦ埛韬唤鍒楄〃
- string sql = "select HLev from System_UserGroupInfo u " +
- " left join System_UserGroup r " +
- "on u.GroupId = r.GroupID where u.UserId = '" + HCzybm + "'";
+ ////鑾峰彇褰撳墠鐢ㄦ埛韬唤鍒楄〃
+ //string sql = "select HLev from System_UserGroupInfo u " +
+ // " left join System_UserGroup r " +
+ // "on u.GroupId = r.GroupID where u.UserId = '" + HCzybm + "'";
- //鐢ㄦ埛韬唤鍒ゆ柇
- DataSet hLev = oCN.RunProcReturn(sql, "System_UserGroupInfo");
- foreach(DataRow dr in hLev.Tables[0].Rows)
- {
- if (!dr["HLev"].Equals(RoleConstant.EMPLOYEE))
- {
- objJsonResult.code = CodeConstant.FAIL;
- objJsonResult.count = CountConstant.FAIL;
- objJsonResult.Message = "绠$悊鍛樿韩浠戒笉鍏佽鍒犻櫎锛�";
- objJsonResult.data = null;
- return objJsonResult;
- }
- }
+ ////鐢ㄦ埛韬唤鍒ゆ柇
+ //DataSet hLev = oCN.RunProcReturn(sql, "System_UserGroupInfo");
+ //foreach(DataRow dr in hLev.Tables[0].Rows)
+ //{
+ // if (!dr["HLev"].Equals(RoleConstant.EMPLOYEE))
+ // {
+ // objJsonResult.code = CodeConstant.FAIL;
+ // objJsonResult.count = CountConstant.FAIL;
+ // objJsonResult.Message = "绠$悊鍛樿韩浠戒笉鍏佽鍒犻櫎锛�";
+ // objJsonResult.data = null;
+ // return objJsonResult;
+ // }
+ //}
oCN.BeginTran();
//鍒犻櫎鐢ㄦ埛淇℃伅
--
Gitblit v1.9.1