| 
						
						
							
								
							
						
						
					 | 
					@ -42,7 +42,7 @@ async function list (ctx) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					         findOption.where.alarmType = { $contains: [alarmType] } | 
					 | 
					 | 
					         findOption.where.alarmType = { $contains: [alarmType] } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      } | 
					 | 
					 | 
					      } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      if (state) { | 
					 | 
					 | 
					      if (state) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					         if (state == 'enable') { | 
					 | 
					 | 
					         if (state == 'enable' || state == 'notYet' || state == 'takeEffect') { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					            findOption.where.disable = false | 
					 | 
					 | 
					            findOption.where.disable = false | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					         } else if (state == 'disable') { | 
					 | 
					 | 
					         } else if (state == 'disable') { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            findOption.where.disable = true | 
					 | 
					 | 
					            findOption.where.disable = true | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |