|
|
@ -486,7 +486,9 @@ module.exports = function (app, opts) { |
|
|
|
if (c.alarmSubType) { |
|
|
|
appAlarmWhereOption.type = { $in: c.alarmSubType['app_exception'] || [] } |
|
|
|
} |
|
|
|
appAlarms = c.alarmSubType && c.alarmSubType['app_exception'].length ? |
|
|
|
appAlarms = c.alarmSubType && |
|
|
|
c.alarmSubType['app_exception'] && |
|
|
|
c.alarmSubType['app_exception'].length ? |
|
|
|
await models.AppAlarm.findAll({ |
|
|
|
where: appAlarmWhereOption, |
|
|
|
order: [['createTime', 'DESC']], |
|
|
|