git-svn-id: https://svn.coded.pt/svn/SIPRP@1843 bb69d46d-e84e-40c8-a05a-06db0d633741

lxbfYeaa
Frederico Palma 12 years ago
parent 14ae8328e0
commit 5923257dc0

@ -113,7 +113,7 @@ public class AnalisesDataProvider extends GenericDataProvider
// c.setLast_analise_nr( new Integer( rs.getInt( "last_analise_nr" ) ) ); // c.setLast_analise_nr( new Integer( rs.getInt( "last_analise_nr" ) ) );
// } // }
// return c; // return c;
return toControleBean( controles.get( 0 ) ); return controles.size() > 0 ? toControleBean( controles.get( 0 ) ) : null;
} }
public Controle createAnoNumeracao( Integer ano ) throws Exception public Controle createAnoNumeracao( Integer ano ) throws Exception

Loading…
Cancel
Save