diff --git a/FrontendWebApi/ApiControllers/DeviceManageController.cs b/FrontendWebApi/ApiControllers/DeviceManageController.cs index 4e25e15..dd0f597 100644 --- a/FrontendWebApi/ApiControllers/DeviceManageController.cs +++ b/FrontendWebApi/ApiControllers/DeviceManageController.cs @@ -128,7 +128,7 @@ namespace FrontendWebApi.ApiControllers try { - var sqlString = $@"select building_tag, full_name from building where deleted = 0 order by priority"; + var sqlString = $@"select building_tag, full_name, urn_3D from building where deleted = 0 order by priority"; var bl = await backendRepository.GetAllAsync(sqlString); apiResult.Code = "0000"; diff --git a/FrontendWebApi/Models/Device.cs b/FrontendWebApi/Models/Device.cs index fb3e2f4..7f0389e 100644 --- a/FrontendWebApi/Models/Device.cs +++ b/FrontendWebApi/Models/Device.cs @@ -17,6 +17,7 @@ namespace FrontendWebApi.Models { public string full_name { get; set; } public string building_tag { get; set; } + public string urn_3D { get; set; } } public class FloorList