From 06cc65ff56547cb0aa2001c687eb0154f344090f Mon Sep 17 00:00:00 2001 From: dev02 Date: Fri, 5 May 2023 17:04:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9building=20system=20tag=20nam?= =?UTF-8?q?e=20API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FrontendWebApi/ApiControllers/BuildController.cs | 2 +- FrontendWebApi/Models/Build.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/FrontendWebApi/ApiControllers/BuildController.cs b/FrontendWebApi/ApiControllers/BuildController.cs index a558312..31289f0 100644 --- a/FrontendWebApi/ApiControllers/BuildController.cs +++ b/FrontendWebApi/ApiControllers/BuildController.cs @@ -383,7 +383,7 @@ namespace FrontendWebApi.ApiControllers string sql = $@" SELECT device_building_tag, - device_system_tag + sub_system_tag FROM building_menu WHERE building_tag = @building_tag AND main_system_tag = @main_system_tag diff --git a/FrontendWebApi/Models/Build.cs b/FrontendWebApi/Models/Build.cs index 1828f21..4bc8352 100644 --- a/FrontendWebApi/Models/Build.cs +++ b/FrontendWebApi/Models/Build.cs @@ -131,7 +131,7 @@ namespace FrontendWebApi.Models public class BuildingSystemTagName { public string device_building_tag { get; set; } - public string device_system_tag { get; set; } + public string sub_system_tag { get; set; } } public class DeviceFloor : Device