From 9dce5facf5c6aa29928880a0fa2fbfc7366a6dad Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期二, 08 十二月 2020 15:00:57 +0800
Subject: [PATCH] 2020-12-08 1.修改回动态切换域名,用户相关接口使用用户域名,住宅相关接口用住宅的域名。

---
 HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPageBLL.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPageBLL.cs
index 2739392..375c8a3 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPageBLL.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPageBLL.cs
@@ -55,11 +55,11 @@
                 btn.IsSelected = !btn.IsSelected;
                 if (btn.IsSelected)
                 {
-                    function.roomIdList.Add(room.sid);
+                    function.roomIds.Add(room.uid);
                 }
                 else
                 {
-                    function.roomIdList.Remove(room.sid);
+                    function.roomIds.Remove(room.uid);
                 }
                 if (changeList.Contains(function))
                 {
@@ -73,11 +73,11 @@
                 btn.IsSelected = !btn.IsSelected;
                 if (btn.IsSelected)
                 {
-                    function.roomIdList.Add(room.sid);
+                    function.roomIds.Add(room.uid);
                 }
                 else
                 {
-                    function.roomIdList.Remove(room.sid);
+                    function.roomIds.Remove(room.uid);
                 }
                 if (changeList.Contains(function))
                 {
@@ -119,7 +119,7 @@
                 }
                 btn.IsSelected = true;
                 showedFunctionRoomId = btn.Tag.ToString() == "0" ? null : btn.Tag.ToString();
-                LoadFunctionListRow(allocatedList.FindAll((obj) => obj.roomIdList.Contains(showedFunctionRoomId)));
+                LoadFunctionListRow(allocatedList.FindAll((obj) => obj.roomIds.Contains(showedFunctionRoomId)));
                 btnChoosedRoom.Text = chooseRoomName;
                 dialog.Close();
             };

--
Gitblit v1.8.0