From af4101b1d8461331bc3163b738fc75d4bf67c85c Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期二, 28 七月 2020 17:47:44 +0800
Subject: [PATCH] 2020-07-28-1

---
 HDL_ON/UI/UI2/FuntionControlView/ChooseRoomPageBLL.cs |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/ChooseRoomPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/ChooseRoomPageBLL.cs
index 9a0e861..ca43599 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/ChooseRoomPageBLL.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/ChooseRoomPageBLL.cs
@@ -3,6 +3,9 @@
 
 namespace HDL_ON.UI
 {
+    /// <summary>
+    /// 鍔熻兘鍒嗛厤鎴块棿BLL
+    /// </summary>
     public partial class ChooseRoomPage
     {
         /// <summary>
@@ -55,6 +58,7 @@
                         function.roomIdList.Remove(room.sid);
                     }
                 }
+                Entity.DB_ResidenceData.InitRoomFunction();
                 Entity.DB_ResidenceData.residenceData.SaveResidenceData();
             };
         }
@@ -74,6 +78,7 @@
                 function.roomIdList.Remove(room.sid);
                 room.functions.Remove(function);
             }
+            //if(function.cu)
             Entity.DB_ResidenceData.residenceData.SaveResidenceData();
             if (function.roomIdList.Count == Entity.DB_ResidenceData.residenceData.rooms.Count)
             {

--
Gitblit v1.8.0