| 
					
				 | 
			
			
				@@ -74,10 +74,10 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				and device_num_ = #{deviceNum} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<if test="bindStartTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				and bind_time_ >= #{bindStartTime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				and date(bind_time_) >= #{bindStartTime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<if test="bindEndTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				and bind_time_ <= #{bindEndTime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				and date(bind_time_) <= #{bindEndTime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		</where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		ORDER BY id_ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -95,10 +95,10 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				and device_num_ = #{deviceNum} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<if test="bindStartTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				and bind_time_ >= #{bindStartTime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				and date(bind_time_) >= #{bindStartTime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<if test="bindEndTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				and bind_time_ <= #{bindEndTime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				and date(bind_time_) <= #{bindEndTime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		</where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	</select> 
			 |