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