From 902616600471687eb233adb683b0fc1e36bfe04f Mon Sep 17 00:00:00 2001 From: dev02 Date: Mon, 22 May 2023 15:24:16 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=BE=8C=E7=AB=AF]=20=E4=BF=AE=E6=94=B9getAla?= =?UTF-8?q?rmRecordFilterPanel=20api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FrontendWebApi/ApiControllers/AlarmRecordController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FrontendWebApi/ApiControllers/AlarmRecordController.cs b/FrontendWebApi/ApiControllers/AlarmRecordController.cs index 033a8ca..5daf8be 100644 --- a/FrontendWebApi/ApiControllers/AlarmRecordController.cs +++ b/FrontendWebApi/ApiControllers/AlarmRecordController.cs @@ -50,14 +50,14 @@ namespace FrontendWebApi.ApiControllers b.building_tag, b.full_name AS building_name, v1.system_value, - v1.system_key AS main_system_name + v1.system_key FROM building_menu bm INNER JOIN ( SELECT ap.building_tag, ap.ShowView FROM role_auth ra JOIN auth_page ap ON ra.AuthCode = ap.AuthCode - JOIN userinfo u ON u.role_guid = ra.role_guid WHERE u.account = 'Bajascript' + JOIN userinfo u ON u.role_guid = ra.role_guid WHERE u.account = @Account AND ap.building_tag IS NOT NULL ) ap ON bm.building_tag = ap.building_tag LEFT JOIN building b ON bm.building_tag = b.building_tag