| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -89,11 +89,8 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            <if test='null != serviceMatter and "" != serviceMatter'> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                AND sr.SERVICE_MATTER = #{serviceMatter} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            </if> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            <if test=" null != startTime and startTime != '' "> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                AND a.ACTIVITY_TIME <![CDATA[ >= ]]> #{startTime} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            </if> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            <if test="null != endTime and endTime != '' "> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                AND a.ACTIVITY_TIME <![CDATA[ <= ]]> #{endTime} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            <if test=" null != startTime and startTime != '' and null != endTime and endTime != ''"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                AND a.ACTIVITY_TIME BETWEEN #{startTime} AND #{endTime} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            </if> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            GROUP BY a.id | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        ORDER BY a.ACTIVITY_TIME DESC | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |