From c469ce3e5bcd5438aebaba5f7d1d32decd84ec1a Mon Sep 17 00:00:00 2001 From: CODE <1650192445@qq.com> Date: Wed, 18 Oct 2023 17:34:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=8A=E8=AD=A6=E6=8E=A8=E9=80=81++?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/app/lib/schedule/alarms_push.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/app/lib/schedule/alarms_push.js b/api/app/lib/schedule/alarms_push.js index d4a18d6..a186c7e 100644 --- a/api/app/lib/schedule/alarms_push.js +++ b/api/app/lib/schedule/alarms_push.js @@ -559,7 +559,7 @@ module.exports = function (app, opts) { AND alarms.SourceTypeId = 2 WHERE ${`State NOT IN (3, 4) AND `} - StructureId IN (${searchStrucIds.join(',')}) + PlatformStructureId IN (${searchStrucIds.join(',')}) ${dataAlarmOption.length ? ' AND ' + dataAlarmOption.join(' AND ') : ''} AND Project IS NOT null ORDER BY StartTime DESC