修改東別區域儲存

This commit is contained in:
dev02 2022-12-01 10:03:22 +08:00
parent 51cf3df27b
commit b91fe03355
3 changed files with 3 additions and 1 deletions

View File

@ -105,12 +105,13 @@ namespace Backend.Controllers
//抓取當前的Priority
var current_priority = await backendRepository.GetCurrentPriority("building");
var map_3d_guid = Guid.NewGuid();
var area_tag = await backendRepository.GetOneAsync<string>("select system_value from variable where system_type = 'area' and deleted = 0");
if (post.urn_3D != null)
{
Dictionary<string, object> building = new Dictionary<string, object>();
building = new Dictionary<string, object>()
{
{ "@area_tag", area_tag},
{ "@building_tag", post.building_tag},
{ "@full_name", post.Full_name},
{ "@ip_address", post.Ip_address},
@ -129,6 +130,7 @@ namespace Backend.Controllers
Dictionary<string, object> building = new Dictionary<string, object>();
building = new Dictionary<string, object>()
{
{ "@area_tag", area_tag},
{ "@building_tag", post.building_tag},
{ "@full_name", post.Full_name},
{ "@ip_address", post.Ip_address},