From d4012b356bed46bbc01137cb54e834f094548be2 Mon Sep 17 00:00:00 2001 From: dev01 Date: Wed, 7 Dec 2022 11:10:04 +0800 Subject: [PATCH] =?UTF-8?q?[FrontendWebApi][Device]=20GetBuild=20=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=20urn=5F3D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FrontendWebApi/ApiControllers/DeviceManageController.cs | 2 +- FrontendWebApi/Models/Device.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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