|
|
|
@ -436,7 +436,7 @@ public class FichaDataProvider extends MetaProvider implements SearchExecuter {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Select select = new Select( new String[]{ "avisos" }, new String[]{ "id", "data_evento" },
|
|
|
|
Select select = new Select( new String[]{ "avisos" }, new String[]{ "id", "data_evento" },
|
|
|
|
new Field( "tipo" ).isEqual( tipo ).and(
|
|
|
|
new Field( "tipo" ).isEqual( tipo ).and(
|
|
|
|
new Field( "data_evento" ).isLessOrEqual( date )),
|
|
|
|
new Field( "data_aviso" ).isLessOrEqual( date )),
|
|
|
|
new String[]{ "data_evento" }, null );
|
|
|
|
new String[]{ "data_evento" }, null );
|
|
|
|
Virtual2DArray array = executer.executeQuery( select );
|
|
|
|
Virtual2DArray array = executer.executeQuery( select );
|
|
|
|
Integer ids[] = new Integer[ array.columnLength() ];
|
|
|
|
Integer ids[] = new Integer[ array.columnLength() ];
|
|
|
|
|