From 03fcb2f55afe8b4067688da0f666e418dea0d95f Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期三, 20 九月 2023 17:23:56 +0800
Subject: [PATCH] 功能优化
---
Pub_Class/CustomerCls/ClsPub.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Pub_Class/CustomerCls/ClsPub.cs b/Pub_Class/CustomerCls/ClsPub.cs
index 3c2dd5c..a6d9f87 100644
--- a/Pub_Class/CustomerCls/ClsPub.cs
+++ b/Pub_Class/CustomerCls/ClsPub.cs
@@ -946,7 +946,7 @@
}
else
{
- if (ClsPub.isStrNull(DsUser.Tables[0].Rows[0]["AuthorityID"]).Length > ModID
+ if (ClsPub.isStrNull(DsUser.Tables[0].Rows[0]["AuthorityID"]).Length >= ModID
&& DsUser.Tables[0].Rows[0]["AuthorityID"].ToString().Trim().Substring((int)ModID - 1, 1) == "1")
{
HavRight = true;
@@ -963,7 +963,7 @@
}
else
{
- HavRight = false;
+ //HavRight = false;
for (int i = 0; i < DsJS.Tables[0].Rows.Count; i++)
{
if (ClsPub.isStrNull(DsJS.Tables[0].Rows[i]["AuthorityID"]).Length > ModID)
--
Gitblit v1.9.1