Browse Source

告警推送++

dev
CODE 1 year ago
parent
commit
c469ce3e5b
  1. 2
      api/app/lib/schedule/alarms_push.js

2
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

Loading…
Cancel
Save