|
|
|
@ -456,7 +456,7 @@ public class FichaDataProvider extends MetaProvider implements SearchExecuter {
|
|
|
|
new String[]{ "id" },
|
|
|
|
new String[]{ "id" },
|
|
|
|
new Field( "trabalhador_id" ).isEqual( trabalhadorID ).and(
|
|
|
|
new Field( "trabalhador_id" ).isEqual( trabalhadorID ).and(
|
|
|
|
new Field( "data" ).isGreater( new Date() ) ).and(
|
|
|
|
new Field( "data" ).isGreater( new Date() ) ).and(
|
|
|
|
new Field( "tipo" ).isEqual( new Integer( siprp.data.MarcacaoTrabalhadorData.TIPO_EXAMES ) ) ) );
|
|
|
|
new Field( "tipo" ).isEqual( new Integer( siprp.data.MarcacaoTrabalhadorData.TIPO_CONSULTA ) ) ) );
|
|
|
|
Virtual2DArray array = executer.executeQuery( select );
|
|
|
|
Virtual2DArray array = executer.executeQuery( select );
|
|
|
|
if( array.columnLength() == 0 )
|
|
|
|
if( array.columnLength() == 0 )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|