|
@ -164,8 +164,6 @@ async function count (ctx) { |
|
|
alarms.StructureId IN (${anxinStrucIds.join(",")}) |
|
|
alarms.StructureId IN (${anxinStrucIds.join(",")}) |
|
|
AND |
|
|
AND |
|
|
StartTime BETWEEN '${moment().startOf('day').format('YYYY-MM-DD HH:mm:ss')}' AND '${moment().endOf('day').format('YYYY-MM-DD HH:mm:ss')}' |
|
|
StartTime BETWEEN '${moment().startOf('day').format('YYYY-MM-DD HH:mm:ss')}' AND '${moment().endOf('day').format('YYYY-MM-DD HH:mm:ss')}' |
|
|
AND |
|
|
|
|
|
State < 3 |
|
|
|
|
|
GROUP BY AlarmGroup |
|
|
GROUP BY AlarmGroup |
|
|
`).toPromise()
|
|
|
`).toPromise()
|
|
|
//今日新增数据告警
|
|
|
//今日新增数据告警
|
|
|