Merge branch 'master' of https://gitea.mjm-staging.developers-homelab.net/BIMS/BIMS
This commit is contained in:
commit
1a16539e02
@ -166,7 +166,7 @@ namespace Backend.Controllers
|
||||
|
||||
var sql = $@"SELECT
|
||||
d.*,
|
||||
d.device_last_name AS Device_full_name,
|
||||
d.full_name AS Device_full_name,
|
||||
b.full_name AS Building_full_name,
|
||||
mv.system_key AS Main_system_full_name,
|
||||
sv.system_key AS Sub_system_full_name,
|
||||
@ -361,10 +361,6 @@ namespace Backend.Controllers
|
||||
Dictionary<string, object> deviceDic = new Dictionary<string, object>()
|
||||
{
|
||||
{ "@device_guid", guid},
|
||||
{ "@building_tag", post.Building_tag},
|
||||
{ "@main_system_tag", post.Main_system_tag},
|
||||
{ "@sub_system_tag", post.Sub_system_tag},
|
||||
{ "@floor_guid", post.Floor_tag},
|
||||
{ "@full_name", device_name_tag + device_serial_tag},
|
||||
{ "@device_building_tag", device_building_tag},
|
||||
{ "@device_system_tag", device_system_tag},
|
||||
|
@ -2734,7 +2734,6 @@
|
||||
|
||||
|
||||
var formData = new FormData();
|
||||
formData.append("Building_tag", selectedBuilding_tag);
|
||||
formData.append("Main_system_tag", selectedMain_system_tag);
|
||||
formData.append("Sub_system_tag", selectedSub_system_tag);
|
||||
formData.append("Floor_tag", selectedFloor_tag);
|
||||
|
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 2.0 MiB |
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 2.0 MiB |
@ -35,7 +35,7 @@ namespace Repository.BackendRepository.Implement
|
||||
string sql = UpdateGenerateString(properties, "device", "device_guid='" + device_guid + "'");
|
||||
|
||||
await conn.ExecuteAsync(sql, device_dict, trans);
|
||||
await backgroundService.AddTask("", "", "device", "update", device_dict);
|
||||
//await backgroundService.AddTask("", "", "device", "update", device_dict);
|
||||
|
||||
if (device_disaster_dicts.Count() > 0)
|
||||
{
|
||||
@ -58,7 +58,7 @@ namespace Repository.BackendRepository.Implement
|
||||
string sql_add_disaster = InsertGenerateString(add_disaster_properties, "device_disaster");
|
||||
|
||||
await conn.ExecuteAsync(sql_add_disaster, device_disaster_dicts, trans);
|
||||
await backgroundService.AddTask("", "", "device_disaster", "purge_specify_insert", device_disaster_dicts);
|
||||
//await backgroundService.AddTask("", "", "device_disaster", "purge_specify_insert", device_disaster_dicts);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user