diff --git a/trunk/AnaliseAcidentesTrabalho/src/db/providers/AnalisesDataProvider.java b/trunk/AnaliseAcidentesTrabalho/src/db/providers/AnalisesDataProvider.java index 09f307b2..d9b75e80 100644 --- a/trunk/AnaliseAcidentesTrabalho/src/db/providers/AnalisesDataProvider.java +++ b/trunk/AnaliseAcidentesTrabalho/src/db/providers/AnalisesDataProvider.java @@ -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 ) diff --git a/trunk/AnaliseAcidentesTrabalho/web/WEB-INF/lib/evologger.jar b/trunk/AnaliseAcidentesTrabalho/web/WEB-INF/lib/evologger.jar index bf2ef5f2..9ac07c5c 100644 Binary files a/trunk/AnaliseAcidentesTrabalho/web/WEB-INF/lib/evologger.jar and b/trunk/AnaliseAcidentesTrabalho/web/WEB-INF/lib/evologger.jar differ diff --git a/trunk/AnaliseAcidentesTrabalho/web/WEB-INF/lib/evolute.jar b/trunk/AnaliseAcidentesTrabalho/web/WEB-INF/lib/evolute.jar index ec566036..21a079b0 100644 Binary files a/trunk/AnaliseAcidentesTrabalho/web/WEB-INF/lib/evolute.jar and b/trunk/AnaliseAcidentesTrabalho/web/WEB-INF/lib/evolute.jar differ diff --git a/trunk/AnaliseAcidentesTrabalho/web/resources/stylesheet.css b/trunk/AnaliseAcidentesTrabalho/web/resources/stylesheet.css index 0fcc29fa..0b140249 100644 --- a/trunk/AnaliseAcidentesTrabalho/web/resources/stylesheet.css +++ b/trunk/AnaliseAcidentesTrabalho/web/resources/stylesheet.css @@ -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;