|  |  | @ -61,7 +61,7 @@ public class doGetListaTrabalhadoresPendentes | 
			
		
	
		
		
			
				
					
					|  |  |  | 										+ " WHERE estabelecimento_id = '"+estabelecimentoId+"'" |  |  |  | 										+ " WHERE estabelecimento_id = '"+estabelecimentoId+"'" | 
			
		
	
		
		
			
				
					
					|  |  |  | 										+ " AND ( ultima_consulta IS NULL OR realizada = 'n' OR" |  |  |  | 										+ " AND ( ultima_consulta IS NULL OR realizada = 'n' OR" | 
			
		
	
		
		
			
				
					
					|  |  |  | 										+ " ( proxima_consulta IS NOT NULL AND proxima_consulta - current_date <= 14 )" |  |  |  | 										+ " ( proxima_consulta IS NOT NULL AND proxima_consulta - current_date <= 14 )" | 
			
		
	
		
		
			
				
					
					|  |  |  | 										+ " OR ( proximo_exame IS NOT NULL AND ( realizado = 'n' OR proximo_exame - current_date <= 14 ) ) )" |  |  |  | 										+ " OR ( proximo_exame IS NOT NULL AND proximo_exame - current_date <= 14 ) )" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 										+ " ORDER BY nome" ); |  |  |  | 										+ " ORDER BY nome" ); | 
			
		
	
		
		
			
				
					
					|  |  |  |                         stmt = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY); |  |  |  |                         stmt = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY); | 
			
		
	
		
		
			
				
					
					|  |  |  |                         rs = new ResultSet2DArray( stmt.executeQuery( dbQuery.toString()) ); |  |  |  |                         rs = new ResultSet2DArray( stmt.executeQuery( dbQuery.toString()) ); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |