From 0ba8664bf18434143036a534729d5ce889b3ec5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?zhaobing=E2=80=99?= Date: Mon, 16 Oct 2023 11:14:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E4=BF=AE=E6=94=B9=E8=A1=A8=E5=85=B3?= =?UTF-8?q?=E8=81=94=E6=9D=A1=E4=BB=B6?= 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 0421161..4924a6c 100644 --- a/api/app/lib/schedule/alarms_push.js +++ b/api/app/lib/schedule/alarms_push.js @@ -546,7 +546,7 @@ module.exports = function (app, opts) { SELECT * FROM alarms LEFT JOIN sensors AS anxinStation - ON toString(anxinStation.SensorId)= alarms.SourceId + ON anxinStation.ID= alarms.SourceId AND alarms.SourceTypeId = 2 WHERE ${`State NOT IN (3, 4) AND `}