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

0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
Tiago Simão 15 years ago
parent a3356d1071
commit 6cf67ac1c9

@ -18,8 +18,8 @@
<update check="timeout" policy="always" />
<resources>
<j2se version="1.6.0+" initial-heap-size="256m" max-heap-size="512m" />
<property name="server.port" value="5436" />
<property name="server.address" value="www.evolute.pt" />
<property name="server.port" value="5432" />
<property name="server.address" value="10.158.2.2" />
<jar href="siprpsoft.jar" />
<extension name="PDFRenderer" href="PDFRenderer.jnlp" />
<jar href="lib/TableLayout.jar" />

@ -18,8 +18,8 @@
<update check="timeout" policy="always" />
<resources>
<j2se version="1.6.0+" initial-heap-size="256m" max-heap-size="512m" />
<property name="server.port" value="5436" />
<property name="server.address" value="www.evolute.pt" />
<property name="server.port" value="5432" />
<property name="server.address" value="10.158.2.2" />
<jar href="siprpsoft.jar" />
<extension name="PDFRenderer" href="PDFRenderer.jnlp" />
<jar href="lib/TableLayout.jar" />

Binary file not shown.

@ -1,6 +1,6 @@
#siprpsoft versioning file
#Tue Jul 20 10:33:05 WEST 2010
#Tue Jul 20 19:53:26 WEST 2010
major=12
name=siprpsoft
minor=1
build=1
build=4

@ -278,11 +278,18 @@ public class PlanoActuacaoDataProvider
List< HsLegislacaoData > result = null;
try
{
Expression where = new Field( HsLegislacaoData.DELETED_DATE_FULL ).isEqual( null );
where = where.and( new Field( HsLegislacaoEmpresaData.EMPRESA_ID_FULL ).isEqual( empresa.getId() ) );
List<ForeignKey> fks = new LinkedList<ForeignKey>();
fks.add( new ForeignKey( HsLegislacaoData.class, HsLegislacaoData.ID_FULL, HsLegislacaoEmpresaData.class, HsLegislacaoEmpresaData.LEGISLACAO_ID_FULL ) );
result = ENTITY_PROVIDER.listLoad( HsLegislacaoData.class, fks, where, new String[] { HsLegislacaoData.DESCRIPTION_FULL } );
if( empresa != null )
{
Expression where = new Field( HsLegislacaoData.DELETED_DATE_FULL ).isEqual( null );
where = where.and( new Field( HsLegislacaoEmpresaData.EMPRESA_ID_FULL ).isEqual( empresa.getId() ) );
List<ForeignKey> fks = new LinkedList<ForeignKey>();
fks.add( new ForeignKey( HsLegislacaoData.class, HsLegislacaoData.ID_FULL, HsLegislacaoEmpresaData.class, HsLegislacaoEmpresaData.LEGISLACAO_ID_FULL ) );
result = ENTITY_PROVIDER.listLoad( HsLegislacaoData.class, fks, where, new String[] { HsLegislacaoData.DESCRIPTION_FULL } );
}
else
{
result = ENTITY_PROVIDER.listLoad( HsLegislacaoData.class, new Object[]{ null }, new String[] { HsLegislacaoData.DELETED_DATE_FULL }, new String[]{ HsLegislacaoData.DESCRIPTION_FULL } );
}
}
catch ( Exception e )
{

Loading…
Cancel
Save