[FrontendWebApi][Device] GetBuild 增加 urn_3D

This commit is contained in:
dev01 2022-12-07 11:10:04 +08:00
parent 85ce778003
commit d4012b356b
2 changed files with 2 additions and 1 deletions

View File

@ -128,7 +128,7 @@ namespace FrontendWebApi.ApiControllers
try 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<BuildList>(sqlString); var bl = await backendRepository.GetAllAsync<BuildList>(sqlString);
apiResult.Code = "0000"; apiResult.Code = "0000";

View File

@ -17,6 +17,7 @@ namespace FrontendWebApi.Models
{ {
public string full_name { get; set; } public string full_name { get; set; }
public string building_tag { get; set; } public string building_tag { get; set; }
public string urn_3D { get; set; }
} }
public class FloorList public class FloorList