|
@ -559,7 +559,7 @@ module.exports = function (app, opts) { |
|
|
AND alarms.SourceTypeId = 2 |
|
|
AND alarms.SourceTypeId = 2 |
|
|
WHERE |
|
|
WHERE |
|
|
${`State NOT IN (3, 4) AND `} |
|
|
${`State NOT IN (3, 4) AND `} |
|
|
StructureId IN (${searchStrucIds.join(',')}) |
|
|
PlatformStructureId IN (${searchStrucIds.join(',')}) |
|
|
${dataAlarmOption.length ? ' AND ' + dataAlarmOption.join(' AND ') : ''} |
|
|
${dataAlarmOption.length ? ' AND ' + dataAlarmOption.join(' AND ') : ''} |
|
|
AND Project IS NOT null |
|
|
AND Project IS NOT null |
|
|
ORDER BY StartTime DESC |
|
|
ORDER BY StartTime DESC |
|
|