|  |  | @ -110,8 +110,11 @@ public class PlanosActuacao { | 
			
		
	
		
		
			
				
					
					|  |  |  |         System.out.println("initRelatorios for estabelecimento id: " + estabelecimentoId ); |  |  |  |         System.out.println("initRelatorios for estabelecimento id: " + estabelecimentoId ); | 
			
		
	
		
		
			
				
					
					|  |  |  |     	if( estabelecimentoId == null ) |  |  |  |     	if( estabelecimentoId == null ) | 
			
		
	
		
		
			
				
					
					|  |  |  |     	{ |  |  |  |     	{ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     		System.out.println("A adicionar planos de estabelecimentos novos"); | 
			
		
	
		
		
			
				
					
					|  |  |  |             List<Integer> estabelecimentos = cpdp.getEstabelecimentosWithPlanos(); |  |  |  |             List<Integer> estabelecimentos = cpdp.getEstabelecimentosWithPlanos(); | 
			
		
	
		
		
			
				
					
					|  |  |  |             putPlanosOnline(pa.getRelatoriosNotIn(estabelecimentos)); |  |  |  |             putPlanosOnline(pa.getRelatoriosNotIn(estabelecimentos)); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             estabelecimentos = cpdp.getEstabelecimentosWithPlanos(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             System.out.println("A adicionar planos a estabelecimentos anteriores"); | 
			
		
	
		
		
			
				
					
					|  |  |  |     		for( Integer estabelecimentoID : estabelecimentos ) |  |  |  |     		for( Integer estabelecimentoID : estabelecimentos ) | 
			
		
	
		
		
			
				
					
					|  |  |  |     		{ |  |  |  |     		{ | 
			
		
	
		
		
			
				
					
					|  |  |  |                 try |  |  |  |                 try | 
			
		
	
	
		
		
			
				
					|  |  | 
 |