@ -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 `}