From 536bc8fecd45139bba59d1bafcbe7d4f4e1f4d34 Mon Sep 17 00:00:00 2001
From: tzy <hxb@hdlchina.com.cn>
Date: 星期四, 01 七月 2021 11:06:44 +0800
Subject: [PATCH] 完成管理员权限迁移的功能

---
 HDL_ON/Entity/Room.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/Entity/Room.cs b/HDL_ON/Entity/Room.cs
index df6eb59..75db6e5 100644
--- a/HDL_ON/Entity/Room.cs
+++ b/HDL_ON/Entity/Room.cs
@@ -46,7 +46,7 @@
         public SpatialInfo(string spatialType)
         {
             roomType = "FLOOR";
-            parentId = DB_ResidenceData.Instance.CurrentRegion.RegionID;
+            parentId = DB_ResidenceData.Instance.CurrentRegion.id;
         }
 
         public string roomId = "";

--
Gitblit v1.8.0