From 0d4b379e31db83e2400052659044eeda2353f4fb Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Sat, 8 Oct 2022 16:59:11 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=93=E6=9E=84=E7=89=A9=E7=BB=8F=E7=BA=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/app/lib/controllers/alarm/data.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/app/lib/controllers/alarm/data.js b/api/app/lib/controllers/alarm/data.js index 8e4ad8c..bf2c435 100644 --- a/api/app/lib/controllers/alarm/data.js +++ b/api/app/lib/controllers/alarm/data.js @@ -101,6 +101,8 @@ async function list (ctx) { AlarmAdviceProblem, AlarmGroup, AlarmGroupUnit, AlarmAdviceProblem, alarms.StructureId AS StructureId, ${anxinyun}.t_structure.name AS StructureName, + ${anxinyun}.t_structure.longitude AS StructureLongitude, + ${anxinyun}.t_structure.latitude AS StructureLatitude, ${anxinyun}.t_alarm_code.name AS AlarmCodeName, AlarmContent ${alarmQueryOptionStr}