修改building system tag name API

This commit is contained in:
dev02 2023-05-05 17:04:28 +08:00
parent 4a2bfe9895
commit 06cc65ff56
2 changed files with 2 additions and 2 deletions

View File

@ -383,7 +383,7 @@ namespace FrontendWebApi.ApiControllers
string sql = $@" string sql = $@"
SELECT SELECT
device_building_tag, device_building_tag,
device_system_tag sub_system_tag
FROM building_menu FROM building_menu
WHERE building_tag = @building_tag WHERE building_tag = @building_tag
AND main_system_tag = @main_system_tag AND main_system_tag = @main_system_tag

View File

@ -131,7 +131,7 @@ namespace FrontendWebApi.Models
public class BuildingSystemTagName public class BuildingSystemTagName
{ {
public string device_building_tag { get; set; } 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 public class DeviceFloor : Device