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

0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
Frederico Palma 11 years ago
parent 581093802b
commit fa1654e92c

@ -1359,7 +1359,7 @@ public class AnalisesDataProvider extends GenericDataProvider
if( nome != null )
{
firstWhereExp = firstWhereExp.and(
new Field( db.data.siprp_local.outer.TrabalhadoresData.NOME_FULL ).isLike( "%" + nome + "%" ).or(
new Field( db.data.siprp_local.outer.TrabalhadoresData.NOME_FULL ).isILike( "%" + nome + "%" ).or(
new Field( "lower(" + db.data.siprp_local.outer.TrabalhadoresData.NUMERO_MECANOGRAFICO_FULL + ")" )
.isLike( "%" + nrMecanografico.toLowerCase() + "%" ) ) );
}
@ -1375,7 +1375,7 @@ public class AnalisesDataProvider extends GenericDataProvider
if( nome != null )
{
firstWhereExp = firstWhereExp
.and( new Field( db.data.siprp_local.outer.TrabalhadoresData.NOME_FULL ).isLike( "%" + nome + "%" ) );
.and( new Field( db.data.siprp_local.outer.TrabalhadoresData.NOME_FULL ).isILike( "%" + nome + "%" ) );
}
}
@ -1420,7 +1420,7 @@ public class AnalisesDataProvider extends GenericDataProvider
if( nome != null )
{
secondWhereExp = secondWhereExp.and(
new Field( db.data.siprp_local.outer.TrabalhadoresData.NOME_FULL ).isLike( "%" + nome + "%" ).or(
new Field( db.data.siprp_local.outer.TrabalhadoresData.NOME_FULL ).isILike( "%" + nome + "%" ).or(
new Field( "lower(" + db.data.siprp_local.outer.TrabalhadoresData.NUMERO_MECANOGRAFICO_FULL + ")" )
.isLike( "%" + nrMecanografico.toLowerCase() + "%" ) ) );
}
@ -1436,7 +1436,7 @@ public class AnalisesDataProvider extends GenericDataProvider
if( nome != null )
{
secondWhereExp = secondWhereExp
.and( new Field( db.data.siprp_local.outer.TrabalhadoresData.NOME_FULL ).isLike( "%" + nome + "%" ) );
.and( new Field( db.data.siprp_local.outer.TrabalhadoresData.NOME_FULL ).isILike( "%" + nome + "%" ) );
}
}
@ -2641,7 +2641,7 @@ public class AnalisesDataProvider extends GenericDataProvider
{
nome = StringPlainer.convertString( nome.trim() );
nome = nome.replaceAll( " ", "%" );
where = where.and( new Field( "plain_utf8( " + AcidentadosData.NOME_FULL + " )" ).isLike( "%" + nome + "%" ) );
where = where.and( new Field( "plain_utf8( " + AcidentadosData.NOME_FULL + " )" ).isILike( "%" + nome + "%" ) );
}
if( visitaDate != null )
{
@ -2654,7 +2654,7 @@ public class AnalisesDataProvider extends GenericDataProvider
if( por != null )
{
where =
where.and( new Field( AcidentadosData.NUMERO_MECANOGRAFICO_FULL ).isLike( "%" + por.toUpperCase() + "%" ) );
where.and( new Field( AcidentadosData.NUMERO_MECANOGRAFICO_FULL ).isILike( "%" + por.toUpperCase() + "%" ) );
}
if( visitaDate == null )

@ -1,5 +1,7 @@
/* Style rules to make data tables look better */
body {background-color: #bbd400;}
/* body {background-color: #bbd400;} */
body {background-color: #ffffff;}
.list-header {
background-color: #eeeeee;

Loading…
Cancel
Save