修改東別區域儲存
This commit is contained in:
parent
51cf3df27b
commit
b91fe03355
@ -105,12 +105,13 @@ namespace Backend.Controllers
|
|||||||
//抓取當前的Priority
|
//抓取當前的Priority
|
||||||
var current_priority = await backendRepository.GetCurrentPriority("building");
|
var current_priority = await backendRepository.GetCurrentPriority("building");
|
||||||
var map_3d_guid = Guid.NewGuid();
|
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)
|
if (post.urn_3D != null)
|
||||||
{
|
{
|
||||||
Dictionary<string, object> building = new Dictionary<string, object>();
|
Dictionary<string, object> building = new Dictionary<string, object>();
|
||||||
building = new Dictionary<string, object>()
|
building = new Dictionary<string, object>()
|
||||||
{
|
{
|
||||||
|
{ "@area_tag", area_tag},
|
||||||
{ "@building_tag", post.building_tag},
|
{ "@building_tag", post.building_tag},
|
||||||
{ "@full_name", post.Full_name},
|
{ "@full_name", post.Full_name},
|
||||||
{ "@ip_address", post.Ip_address},
|
{ "@ip_address", post.Ip_address},
|
||||||
@ -129,6 +130,7 @@ namespace Backend.Controllers
|
|||||||
Dictionary<string, object> building = new Dictionary<string, object>();
|
Dictionary<string, object> building = new Dictionary<string, object>();
|
||||||
building = new Dictionary<string, object>()
|
building = new Dictionary<string, object>()
|
||||||
{
|
{
|
||||||
|
{ "@area_tag", area_tag},
|
||||||
{ "@building_tag", post.building_tag},
|
{ "@building_tag", post.building_tag},
|
||||||
{ "@full_name", post.Full_name},
|
{ "@full_name", post.Full_name},
|
||||||
{ "@ip_address", post.Ip_address},
|
{ "@ip_address", post.Ip_address},
|
||||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user