修改前台api
This commit is contained in:
parent
665f9a69f8
commit
20f301fdfa
@ -382,9 +382,9 @@ namespace FrontendWebApi.ApiControllers
|
|||||||
device_building_tag,
|
device_building_tag,
|
||||||
device_system_tag
|
device_system_tag
|
||||||
FROM building_menu
|
FROM building_menu
|
||||||
WHERE building_guid = @building_guid
|
WHERE building_tag = @building_tag
|
||||||
AND main_system_guid = @main_system_guid
|
AND main_system_tag = @main_system_tag
|
||||||
AND sub_system_guid = @sub_system_guid
|
AND sub_system_tag = @sub_system_tag
|
||||||
";
|
";
|
||||||
|
|
||||||
var tagName = await backendRepository.GetOneAsync<BuildingSystemTagName>(sql, post);
|
var tagName = await backendRepository.GetOneAsync<BuildingSystemTagName>(sql, post);
|
||||||
|
@ -123,9 +123,9 @@ namespace FrontendWebApi.Models
|
|||||||
|
|
||||||
public class PostTagName
|
public class PostTagName
|
||||||
{
|
{
|
||||||
public string building_guid { get; set; }
|
public string building_tag { get; set; }
|
||||||
public string main_system_guid { get; set; }
|
public string main_system_tag { get; set; }
|
||||||
public string sub_system_guid { get; set; }
|
public string sub_system_tag { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class BuildingSystemTagName
|
public class BuildingSystemTagName
|
||||||
|
Loading…
Reference in New Issue
Block a user