修改前台api

This commit is contained in:
dev02 2023-05-04 18:15:07 +08:00
parent 665f9a69f8
commit 20f301fdfa
2 changed files with 6 additions and 6 deletions

View File

@ -382,9 +382,9 @@ namespace FrontendWebApi.ApiControllers
device_building_tag,
device_system_tag
FROM building_menu
WHERE building_guid = @building_guid
AND main_system_guid = @main_system_guid
AND sub_system_guid = @sub_system_guid
WHERE building_tag = @building_tag
AND main_system_tag = @main_system_tag
AND sub_system_tag = @sub_system_tag
";
var tagName = await backendRepository.GetOneAsync<BuildingSystemTagName>(sql, post);

View File

@ -123,9 +123,9 @@ namespace FrontendWebApi.Models
public class PostTagName
{
public string building_guid { get; set; }
public string main_system_guid { get; set; }
public string sub_system_guid { get; set; }
public string building_tag { get; set; }
public string main_system_tag { get; set; }
public string sub_system_tag { get; set; }
}
public class BuildingSystemTagName