@ -61,7 +61,7 @@ async function queryAlarm(ctx, alarmQueryOptionStr, type) {
alarms.State AS State,
StartTime,
AlarmGroup
${alarmQueryOptionStr} and alarms.AlarmGroup in [${type}] and alarms.State > 3) group by days)
${alarmQueryOptionStr} and alarms.AlarmGroup in [${type}] and alarms.State > 2) group by days)
) group by days ORDER BY days
`).toPromise();
@ -171,7 +171,7 @@ module.exports = function (app, opts) {
alarms.StructureId AS StructureId,
StartTime, EndTime
${alarmQueryOptionStr}) where State>3 and ${paramStr}`
${alarmQueryOptionStr}) where State>2 and ${paramStr}`
}
async function getDataAlarms(anxinStruc) {