From 97aa542d1a1cdcb46b2942026d28b7e5dca6c6c0 Mon Sep 17 00:00:00 2001
From: yzh <snbbt@21cn.com>
Date: 星期一, 20 六月 2022 21:10:23 +0800
Subject: [PATCH] 首页:通道状态

---
 web/web/GwStatis.aspx.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/web/web/GwStatis.aspx.cs b/web/web/GwStatis.aspx.cs
index 0fbfedb..fc2737a 100644
--- a/web/web/GwStatis.aspx.cs
+++ b/web/web/GwStatis.aspx.cs
@@ -18,7 +18,7 @@
     private List<GwAp> ApList;
 
     private int _userId = -1;
-    private int _userType = -1;
+    private string _userType = "";
     private string _account = "";
     string permissionsSQL = null;
 
@@ -148,7 +148,7 @@
             foreach (GwClient gwClient in this.ClientList)
             {
                 if (this.AppContext.HasRight("502"))
-                    stringBuilder.AppendFormat("<option value=\"{0}\" {2}>{0}-{1}</option>", (object)gwClient.ClientID, (object)gwClient.ClientName, gwClient.ClientID == this.SelectedClientID ? (object)"selected" : (object)"");
+                    stringBuilder.AppendFormat("<option value=\"{0}\" {2}>{0}-{1}</option>", (object)gwClient.ClientID, (object)gwClient.Company, gwClient.ClientID == this.SelectedClientID ? (object)"selected" : (object)"");
             }
         }
         return stringBuilder.ToString();

--
Gitblit v1.9.1