From 8f708105d92feb858fbd70040a657dcaeb3646f5 Mon Sep 17 00:00:00 2001 From: dev01 Date: Thu, 25 May 2023 18:41:52 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=89=8D=E5=8F=B0]=20=E5=BE=8C=E7=AB=AF=20?= =?UTF-8?q?=E6=9B=B4=E6=94=B9=E8=A8=AD=E5=82=99=E5=90=8D=E7=A8=B1=E5=AD=98?= =?UTF-8?q?=E5=85=A5=20LOG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Backend/ApiControllers/DeviceApiController.cs | 8 ++++---- Backend/Models/Device.cs | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Backend/ApiControllers/DeviceApiController.cs b/Backend/ApiControllers/DeviceApiController.cs index 724d76d..c72b574 100644 --- a/Backend/ApiControllers/DeviceApiController.cs +++ b/Backend/ApiControllers/DeviceApiController.cs @@ -61,10 +61,10 @@ namespace Backend.ApiControllers { { "@user_guid", myUser.userinfo_guid }, { "@operation_type", 1 }, //1:名稱修改 - { "@building_guid", GetOne.building_tag }, - { "@main_system_guid", GetOne.device_system_tag }, - { "@sub_system_guid", GetOne.device_name_tag }, - { "@floor_guid", GetOne.floor_tag }, + { "@building_tag", GetOne.device_building_tag }, + { "@main_system_tag", GetOne.device_system_tag }, + { "@sub_system_tag", GetOne.device_name_tag }, + { "@floor_tag", GetOne.device_floor_tag }, { "@device_guid", GetOne.Device_guid }, { "@action_name", "修改名稱" }, { "@parameter", JsonConvert.SerializeObject(change) }, diff --git a/Backend/Models/Device.cs b/Backend/Models/Device.cs index ece58ee..898d9ca 100644 --- a/Backend/Models/Device.cs +++ b/Backend/Models/Device.cs @@ -54,13 +54,13 @@ namespace Backend.Models public string Device_guid { get; set; } public byte Deleted { get; set; } public byte Status { get; set; } - public string building_tag { get; set; } + public string device_building_tag { get; set; } public string Building_full_name { get; set; } public string Main_system_guid { get; set; } public string Main_system_full_name { get; set; } public string Sub_system_guid { get; set; } public string Sub_system_full_name { get; set; } - public string floor_tag { get; set; } + public string device_floor_tag { get; set; } public string Floor_full_name { get; set; } public string Device_coordinate { get; set; } public string Device_full_name { get; set; }