|  | @@ -67,10 +67,10 @@
 | 
	
		
			
				|  |  |              <if test="dto.alarmCategory != null and dto.alarmCategory!=''" >
 | 
	
		
			
				|  |  |                  and sat.alarm_category = #{dto.alarmCategory}
 | 
	
		
			
				|  |  |              </if>
 | 
	
		
			
				|  |  | -            <if test="dto.startTime != null">
 | 
	
		
			
				|  |  | +            <if test="dto.startTime != null and dto.startTime != ''">
 | 
	
		
			
				|  |  |                  and sad.alarm_start_time >=#{dto.startTime}
 | 
	
		
			
				|  |  |              </if>
 | 
	
		
			
				|  |  | -            <if test="dto.endTime != null">
 | 
	
		
			
				|  |  | +            <if test="dto.endTime != null and dto.endTime != ''">
 | 
	
		
			
				|  |  |                  and sad.alarm_end_time <= #{dto.endTime}
 | 
	
		
			
				|  |  |              </if>
 | 
	
		
			
				|  |  |              <if test="dto.state != null">
 |