Commit ccb70e354766bbb8f7639388bb4e968f9a3de958

Authored by gabriel.damasceno
1 parent f5fbbd55
Exists in master

removendo targets

Showing 290 changed files with 0 additions and 5987 deletions   Show diff stats
@@ -1,17 +0,0 @@ @@ -1,17 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<projectDescription>  
3 - <name>cit-almoxarifado</name>  
4 - <comment></comment>  
5 - <projects>  
6 - </projects>  
7 - <buildSpec>  
8 - <buildCommand>  
9 - <name>org.eclipse.m2e.core.maven2Builder</name>  
10 - <arguments>  
11 - </arguments>  
12 - </buildCommand>  
13 - </buildSpec>  
14 - <natures>  
15 - <nature>org.eclipse.m2e.core.maven2Nature</nature>  
16 - </natures>  
17 -</projectDescription>  
cit-almoxarifado-api/target/classes/1.8.0-SNAPSHOT.20160317142727.tag
cit-almoxarifado-api/target/classes/META-INF/MANIFEST.MF
@@ -1,5 +0,0 @@ @@ -1,5 +0,0 @@
1 -Manifest-Version: 1.0  
2 -Built-By: gabriel.damasceno  
3 -Build-Jdk: 1.8.0_45  
4 -Created-By: Maven Integration for Eclipse  
5 -  
cit-almoxarifado-api/target/classes/META-INF/maven/br.com.centralit/cit-almoxarifado-api/pom.properties
@@ -1,7 +0,0 @@ @@ -1,7 +0,0 @@
1 -#Generated by Maven Integration for Eclipse  
2 -#Mon Mar 21 15:13:39 BRT 2016  
3 -version=1.8.0-SNAPSHOT  
4 -groupId=br.com.centralit  
5 -m2e.projectName=cit-almoxarifado-api  
6 -m2e.projectLocation=D\:\\repositorios_git\\citsmartgrp\\cit-almoxarifado\\cit-almoxarifado-api  
7 -artifactId=cit-almoxarifado-api  
cit-almoxarifado-api/target/classes/META-INF/maven/br.com.centralit/cit-almoxarifado-api/pom.xml
@@ -1,55 +0,0 @@ @@ -1,55 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- ******************************************************************************************************************** -->  
3 -<!-- * LICENCA*GPLv2 * -->  
4 -<!-- * Copyright [2011,2012,2013,2014,2015] da CentralIT Tecnologia da Informação Ltda (www.centralit.com.br) * -->  
5 -<!-- * * -->  
6 -<!-- * Este arquivo é parte do programa/software: Citsmart (www.citsmart.com.br) * -->  
7 -<!-- * * -->  
8 -<!-- * O Citsmart é um software livre; você pode redistribui-lo e/ou modificá-lo dentro dos termos da Licença * -->  
9 -<!-- * Pública Geral GNU como publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença. * -->  
10 -<!-- * * -->  
11 -<!-- * Este programa/software é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma * -->  
12 -<!-- * garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral * -->  
13 -<!-- * GNU/GPL em português para maiores detalhes. * -->  
14 -<!-- * * -->  
15 -<!-- * Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título 'LICENCA.txt', junto com este * -->  
16 -<!-- * programa/software, se não, acesse o Portal do Software Público Brasileiro no endereço www.softwarepublico.gov.br * -->  
17 -<!-- * ou escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,USA * -->  
18 -<!-- ******************************************************************************************************************** -->  
19 -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
20 - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">  
21 - <modelVersion>4.0.0</modelVersion>  
22 -  
23 - <parent>  
24 - <groupId>br.com.centralit</groupId>  
25 - <artifactId>cit-almoxarifado</artifactId>  
26 - <version>1.8.0-SNAPSHOT</version>  
27 - </parent>  
28 -  
29 - <artifactId>cit-almoxarifado-api</artifactId>  
30 - <name>cit-almoxarifado-api</name>  
31 -  
32 - <properties>  
33 - <findbugs.config.path>${project.parent.parent.parent.basedir}/filterfile.xml</findbugs.config.path>  
34 - <license.config.path>${project.parent.parent.basedir}/src/licensing</license.config.path>  
35 - <maven-antrun-plugin.phase>package</maven-antrun-plugin.phase>  
36 - </properties>  
37 -  
38 - <dependencies>  
39 - <dependency>  
40 - <groupId>br.com.centralit</groupId>  
41 - <artifactId>cit-adm-materiais-api</artifactId>  
42 - <version>${project.version}</version>  
43 - </dependency>  
44 - <!-- TODO - CIRO - VERIFICAR SE ESTAS DEPENDENCIAS ABAIXO ESTAO SENDO RESOLVIDAS TRANSIENTEMENTE ATRAVES DO PROJETO CIT-CORE DO  
45 - REPOSITORIO CORPORATIVO-->  
46 - <dependency>  
47 - <groupId>org.quartz-scheduler</groupId>  
48 - <artifactId>quartz</artifactId>  
49 - </dependency>  
50 - <dependency>  
51 - <groupId>org.quartz-scheduler</groupId>  
52 - <artifactId>quartz-jobs</artifactId>  
53 - </dependency>  
54 - </dependencies>  
55 -</project>  
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/AtendimentoRequisicaoConsumoDao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/AtendimentoRequisicaoConsumoItemDao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/BaixaAlmoxarifadoDao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/BaixaAlmoxarifadoItemDao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/BemAlmoxarifadoCaracteristicaDao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/CatalogoMaterialDao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/CatalogoMaterialItemDao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/CatalogoMaterialUnidadeConsumidoraRequisitanteItemDao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/ConfiguracaoNotificacaoRessuprimentoDao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/ConfiguracaoNotificacaoRessuprimentoGrupoDao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/ConfiguracaoNotificacaoRessuprimentoItemDao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/ConfiguracaoNotificacaoRessuprimentoUsuarioDao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/DevolucaoDao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/DevolucaoItemDao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/DevolucaoObservacaoDao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/EntradaAlmoxarifadoDao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/EntradaAlmoxarifadoItemDao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/EstruturaOrganizacionalAlmoxarifadoDao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/LocalEstoqueDao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/MaterialEstoqueSaldoDao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/MaterialEstoqueSaldoMedioDao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/MovimentoEstoqueDao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/RequisicaoConsumoDao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/RequisicaoConsumoItemDao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/RequisicaoObservacaoDao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/impl/AtendimentoRequisicaoConsumoDaoHibernate.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/impl/AtendimentoRequisicaoConsumoItemDaoHibernate.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/impl/BaixaAlmoxarifadoDaoHibernate.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/impl/BaixaAlmoxarifadoItemDaoHibernate.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/impl/BemAlmoxarifadoCaracteristicaDaoHibernate.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/impl/CatalogoMaterialDaoHibernate.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/impl/CatalogoMaterialItemDaoHibernate.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/impl/CatalogoMaterialUnidadeConsumidoraRequisitanteItemDaoHibernate.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/impl/ConfiguracaoNotificacaoRessuprimentoDaoHibernate.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/impl/ConfiguracaoNotificacaoRessuprimentoGrupoDaoHibernate.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/impl/ConfiguracaoNotificacaoRessuprimentoUsuarioDaoHibernate.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/impl/DevolucaoDaoHibernate.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/impl/DevolucaoItemDaoHibernate.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/impl/DevolucaoObservacaoDaoHibernate.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/impl/EntradaAlmoxarifadoDaoHibernate.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/impl/EntradaAlmoxarifadoItemDaoHibernate.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/impl/EstruturaOrganizacionalAlmoxarifadoDaoHibernate.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/impl/LocalEstoqueDaoHibernate.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/impl/MaterialEstoqueSaldoDaoHibernate.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/impl/MaterialEstoqueSaldoMedioDaoHibernate.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/impl/MovimentoEstoqueDaoHibernate.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/impl/RequisicaoConsumoDaoHibernate.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/impl/RequisicaoConsumoItemDaoHibernate.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/dao/impl/RequisicaoObservacaoDaoHibernate.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/framework/json/ViewsAlmoxarifado$AtendimentoRequisicaoConsumoEditView.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/framework/json/ViewsAlmoxarifado$AtendimentoRequisicaoConsumoItem.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/framework/json/ViewsAlmoxarifado$AtendimentoRequisicaoConsumoListView.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/framework/json/ViewsAlmoxarifado$CentroCustoAutoCompleteView.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/framework/json/ViewsAlmoxarifado$ConfiguracaoRessuprimentoEditView.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/framework/json/ViewsAlmoxarifado$ConfiguracaoRessuprimentoListView.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/framework/json/ViewsAlmoxarifado$ContratoOcorrenciaEditView.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/framework/json/ViewsAlmoxarifado$ContratoOcorrenciaListView.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/framework/json/ViewsAlmoxarifado$DevolucaoEditView.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/framework/json/ViewsAlmoxarifado$DevolucaoListView.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/framework/json/ViewsAlmoxarifado$RequisicaoConsumoAutoCompleteView.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/framework/json/ViewsAlmoxarifado.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/job/NotificacaoRessuprimentoJob.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/AtendimentoRequisicaoConsumo.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/AtendimentoRequisicaoConsumoItem.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/BaixaAlmoxarifado.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/BaixaAlmoxarifadoItem.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/BemAlmoxarifadoCaracteristica.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/CatalogoMaterial.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/CatalogoMaterialItem.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/CatalogoMaterialUnidadeConsumidoraRequisitanteItem.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/ConfiguracaoNotificacaoRessuprimento.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/ConfiguracaoNotificacaoRessuprimentoGrupo.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/ConfiguracaoNotificacaoRessuprimentoUsuario.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/Devolucao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/DevolucaoDocumento.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/DevolucaoItem.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/DevolucaoObservacao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/DominioAlmoxarifado.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/EntradaAlmoxarifado.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/EntradaAlmoxarifadoItem.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/EstruturaOrganizacionalAlmoxarifado.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/LocalEstoque.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/MaterialEstoqueSaldo.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/MaterialEstoqueSaldoMedio.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/MovimentoEstoque.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/RequisicaoConsumo.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/RequisicaoConsumoItem.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/model/RequisicaoObservacao.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/AtendimentoRequisicaoConsumoItemService.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/AtendimentoRequisicaoConsumoService.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/BaixaAlmoxarifadoItemService.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/BaixaAlmoxarifadoService.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/BemAlmoxarifadoCaracteristicaService.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/CatalogoMaterialItemService.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/CatalogoMaterialService.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/CatalogoMaterialUnidadeConsumidoraRequisitanteItemService.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/ConfiguracaoNotificacaoRessuprimentoGrupoService.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/ConfiguracaoNotificacaoRessuprimentoService.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/ConfiguracaoNotificacaoRessuprimentoUsuarioService.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/DevolucaoItemService.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/DevolucaoObservacaoService.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/DevolucaoService.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/EntradaAlmoxarifadoItemService.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/EntradaAlmoxarifadoService.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/EstruturaOrganizacionalAlmoxarifadoService.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/LocalEstoqueService.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/MaterialEstoqueSaldoMedioService.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/MaterialEstoqueSaldoService.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/MovimentoEstoqueService.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/RequisicaoConsumoItemService.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/RequisicaoConsumoService.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/RequisicaoObservacaoService.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/impl/AtendimentoRequisicaoConsumoItemServiceImpl.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/impl/AtendimentoRequisicaoConsumoServiceImpl.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/impl/BaixaAlmoxarifadoItemServiceImpl.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/impl/BaixaAlmoxarifadoServiceImpl.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/impl/BemAlmoxarifadoCaracteristicaServiceImpl.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/impl/CatalogoMaterialItemServiceImpl.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/impl/CatalogoMaterialServiceImpl.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/impl/CatalogoMaterialUnidadeConsumidoraRequisitanteItemServiceImpl.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/impl/ConfiguracaoNotificacaoRessuprimentoGrupoServiceImpl.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/impl/ConfiguracaoNotificacaoRessuprimentoServiceImpl.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/impl/ConfiguracaoNotificacaoRessuprimentoUsuarioServiceImpl.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/impl/DevolucaoItemServiceImpl.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/impl/DevolucaoObservacaoServiceImpl.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/impl/DevolucaoServiceImpl.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/impl/EntradaAlmoxarifadoItemServiceImpl.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/impl/EntradaAlmoxarifadoServiceImpl.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/impl/EstruturaOrganizacionalAlmoxarifadoServiceImpl.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/impl/InicializarAlmoxarifadoServiceImpl.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/impl/LocalEstoqueServiceImpl.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/impl/MaterialEstoqueSaldoMedioServiceImpl.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/impl/MaterialEstoqueSaldoServiceImpl.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/impl/MovimentoEstoqueServiceImpl.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/impl/RequisicaoConsumoItemServiceImpl.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/impl/RequisicaoConsumoServiceImpl.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/impl/RequisicaoObservacaoServiceImpl.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/validation/AtendimentoRequisicaoConsumoItemValidator.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/validation/AtendimentoRequisicaoConsumoValidator.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/validation/BaixaAlmoxarifadoItemValidator.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/validation/BaixaAlmoxarifadoValidator.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/validation/BemAlmoxarifadoCaracteristicaValidator.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/validation/CatalogoMaterialItemValidator.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/validation/CatalogoMaterialUnidadeConsumidoraRequisitanteItemValidator.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/validation/CatalogoMaterialValidator.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/validation/ConfiguracaoNotificacaoRessuprimentoGrupoValidator.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/validation/ConfiguracaoNotificacaoRessuprimentoUsuarioValidator.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/validation/ConfiguracaoNotificacaoRessuprimentoValidator.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/validation/DevolucaoItemValidator.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/validation/DevolucaoObservacaoValidator.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/validation/DevolucaoValidator.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/validation/EntradaAlmoxarifadoItemValidator.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/validation/EntradaAlmoxarifadoValidator.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/validation/EstruturaOrganizacionalAlmoxarifadoValidator.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/validation/LocalEstoqueValidator.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/validation/MaterialEstoqueSaldoMedioValidator.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/validation/MaterialEstoqueSaldoValidator.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/validation/MovimentoEstoqueValidator.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/validation/RequisicaoConsumoItemValidator.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/validation/RequisicaoConsumoValidator.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/service/validation/RequisicaoObservacaoValidator.class
No preview for this file type
cit-almoxarifado-api/target/classes/br/com/centralit/api/viewHelper/InformacoesAtendimentoVH.class
No preview for this file type
cit-almoxarifado-web/target/classes/1.8.0-SNAPSHOT.20160317142727.tag
cit-almoxarifado-web/target/classes/WEB-INF/jboss-deployment-structure.xml
@@ -1,8 +0,0 @@ @@ -1,8 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<jboss-deployment-structure>  
3 - <deployment>  
4 - <dependencies>  
5 - <module name="br.com.citsmart-grp" />  
6 - </dependencies>  
7 - </deployment>  
8 -</jboss-deployment-structure>  
9 \ No newline at end of file 0 \ No newline at end of file
cit-almoxarifado-web/target/classes/WEB-INF/jboss-web.xml
@@ -1,3 +0,0 @@ @@ -1,3 +0,0 @@
1 -<jboss-web>  
2 - <context-root>/cit-almoxarifado-web</context-root>  
3 -</jboss-web>  
cit-almoxarifado-web/target/classes/WEB-INF/web.xml
@@ -1,110 +0,0 @@ @@ -1,110 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<web-app xmlns="http://java.sun.com/xml/ns/javaee"  
3 - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
4 - xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"  
5 - version="3.0">  
6 - <display-name>cit-almoxarifado-web</display-name>  
7 - <session-config>  
8 - <session-timeout>600</session-timeout>  
9 - </session-config>  
10 - <listener>  
11 - <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>  
12 - </listener>  
13 - <listener>  
14 - <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>  
15 - </listener>  
16 - <context-param>  
17 - <param-name>contextConfigLocation</param-name>  
18 - <param-value>  
19 - /WEB-INF/classes/spring/applicationContext.xml  
20 - </param-value>  
21 - </context-param>  
22 -  
23 - <!-- Configuracoes do properties -->  
24 - <context-param>  
25 - <param-name>contextInitializerClasses</param-name>  
26 - <param-value>br.com.centralit.framework.util.CustomApplicationContextInitializer</param-value>  
27 - </context-param>  
28 - <context-param>  
29 - <param-name>propertiesFile</param-name>  
30 - <param-value>classpath:cit-app.properties</param-value>  
31 - </context-param>  
32 - <context-param>  
33 - <param-name>propertiesFileLoadOrder</param-name>  
34 - <param-value>FIRST</param-value>  
35 - </context-param>  
36 - <!-- Este parametro controla a ordem na qual o arquivo de propriedades sera carregado -->  
37 - <!-- "FIRST": Os parametros do arquivo de propriedades sao carregados primero que os outros recursos no ambiente (System, JVM, JNDI Parameters). -->  
38 - <!-- "LAST": Os parametros do arquivo de propriedades sao carregados por ultimo que os outros recursos no ambiente (System, JVM, JNDI Parameters). -->  
39 - <!-- Por padrao o parametro eh "FIRST". -->  
40 -  
41 - <filter>  
42 - <filter-name>openSessionInViewFilter</filter-name>  
43 - <filter-class>org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter</filter-class>  
44 - </filter>  
45 - <filter-mapping>  
46 - <filter-name>openSessionInViewFilter</filter-name>  
47 - <url-pattern>*.json</url-pattern>  
48 - </filter-mapping>  
49 -  
50 - <filter>  
51 - <filter-name>encoding-filter</filter-name>  
52 - <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>  
53 - <init-param>  
54 - <param-name>encoding</param-name>  
55 - <param-value>UTF-8</param-value>  
56 - </init-param>  
57 - </filter>  
58 - <filter-mapping>  
59 - <filter-name>encoding-filter</filter-name>  
60 - <url-pattern>/*</url-pattern>  
61 - </filter-mapping>  
62 -  
63 - <filter>  
64 - <filter-name>CAS Single Sign Out Filter</filter-name>  
65 - <filter-class>org.jasig.cas.client.session.SingleSignOutFilter</filter-class>  
66 - </filter>  
67 -  
68 - <filter-mapping>  
69 - <filter-name>CAS Single Sign Out Filter</filter-name>  
70 - <url-pattern>/*</url-pattern>  
71 - </filter-mapping>  
72 -  
73 - <listener>  
74 - <listener-class>org.jasig.cas.client.session.SingleSignOutHttpSessionListener</listener-class>  
75 - </listener>  
76 -  
77 - <filter>  
78 - <filter-name>springSecurityFilterChain</filter-name>  
79 - <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>  
80 - </filter>  
81 - <filter-mapping>  
82 - <filter-name>springSecurityFilterChain</filter-name>  
83 - <url-pattern>/*</url-pattern>  
84 - </filter-mapping>  
85 -  
86 - <!-- CORS Filter -->  
87 - <filter>  
88 - <filter-name>cors</filter-name>  
89 - <filter-class>br.com.centralit.framework.filter.SimpleCORSFilter</filter-class>  
90 - </filter>  
91 -  
92 - <filter-mapping>  
93 - <filter-name>cors</filter-name>  
94 - <url-pattern>/*</url-pattern>  
95 - </filter-mapping>  
96 -  
97 - <servlet>  
98 - <servlet-name>spring</servlet-name>  
99 - <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>  
100 - <init-param>  
101 - <param-name>contextConfigLocation</param-name>  
102 - <param-value></param-value>  
103 - </init-param>  
104 - </servlet>  
105 - <servlet-mapping>  
106 - <servlet-name>spring</servlet-name>  
107 - <url-pattern>/</url-pattern>  
108 - </servlet-mapping>  
109 -  
110 -</web-app>  
cit-almoxarifado-web/target/classes/br/com/centralit/controller/AtendimentoRequisicaoConsumoController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/AtendimentoRequisicaoConsumoItemController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/BaixaAlmoxarifadoController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/BaixaAlmoxarifadoItemController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/BemAlmoxarifadoCaracteristicaController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/CatalogoMaterialController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/CatalogoMaterialItemController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/CatalogoMaterialUnidadeConsumidoraRequisitanteItemController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/ConfiguracaoNotificacaoRessuprimentoController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/ConfiguracaoNotificacaoRessuprimentoGrupoController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/ConfiguracaoNotificacaoRessuprimentoUsuarioController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/ContaContabilMovimentoAlmoxarifadoController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/DevolucaoController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/DevolucaoItemController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/DevolucaoObservacaoController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/EntradaAlmoxarifadoController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/EntradaAlmoxarifadoItemController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/EstruturaOrganizacionalAlmoxarifadoController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/InfoMaterialController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/InicializarAlmoxarifadoController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/LocalEstoqueController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/MaterialConsumoTipoUnidadeMedidaEntradaController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/MaterialEstoqueSaldoController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/MaterialEstoqueSaldoMedioController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/MovimentoEstoqueController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/ReportBaixaAlmoxarifadoController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/ReportConsumoController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/ReportEntradaAlmoxarifadoController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/ReportEstoqueController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/ReportSaidaAlmoxarifadoController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/RequisicaoConsumoController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/RequisicaoConsumoItemController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/RequisicaoObservacaoController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/controller/UsuarioAlmoxarifadoController.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/listener/StartupListenerAlmoxarifado.class
No preview for this file type
cit-almoxarifado-web/target/classes/br/com/centralit/listener/package-info.class
No preview for this file type
cit-almoxarifado-web/target/classes/log4j.properties
@@ -1,22 +0,0 @@ @@ -1,22 +0,0 @@
1 -# Root logger option  
2 -log4j.rootLogger=INFO, file, stdout  
3 -  
4 -# Direct log messages to a log file  
5 -log4j.appender.file=org.apache.log4j.RollingFileAppender  
6 -log4j.appender.file.File=D:\\repositorios_git\\citsmartgrp\\cit-almoxarifado\\cit-almoxarifado-web\\target/log/cit-almoxarifado-web.log  
7 -log4j.appender.file.MaxFileSize=5MB  
8 -log4j.appender.file.MaxBackupIndex=10  
9 -log4j.appender.file.layout=org.apache.log4j.PatternLayout  
10 -log4j.appender.file.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n  
11 -  
12 -# Direct log messages to stdout  
13 -log4j.appender.stdout=org.apache.log4j.ConsoleAppender  
14 -log4j.appender.stdout.Target=System.out  
15 -log4j.appender.stdout.layout=org.apache.log4j.PatternLayout  
16 -log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n  
17 -  
18 -#Frameworks to logging  
19 -log4j.logger.org.springframework=DEBUG  
20 -log4j.logger.org.hibernate.engine.internal.StatefulPersistenceContext=ERROR  
21 -log4j.logger.org.hibernate=INFO  
22 -log4j.logger.org.hibernate.type=trace  
cit-almoxarifado-web/target/classes/reports/PosicaoEstoqueAnalitico.jrxml
@@ -1,374 +0,0 @@ @@ -1,374 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="PosicaoEstoqueAnalítico" language="groovy" pageWidth="802" pageHeight="555" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="ad8f14cf-4bc6-4008-beb0-a366c90e1c3f">  
3 - <property name="ireport.zoom" value="1.3636363636363635"/>  
4 - <property name="ireport.x" value="0"/>  
5 - <property name="ireport.y" value="0"/>  
6 - <style name="table">  
7 - <box>  
8 - <pen lineWidth="1.0" lineColor="#000000"/>  
9 - </box>  
10 - </style>  
11 - <style name="table_TH" mode="Opaque" backcolor="#F0F8FF">  
12 - <box>  
13 - <pen lineWidth="0.5" lineColor="#000000"/>  
14 - </box>  
15 - </style>  
16 - <style name="table_CH" mode="Opaque" backcolor="#BFE1FF">  
17 - <box>  
18 - <pen lineWidth="0.5" lineColor="#000000"/>  
19 - </box>  
20 - </style>  
21 - <style name="table_TD" mode="Opaque" backcolor="#FFFFFF">  
22 - <box>  
23 - <pen lineWidth="0.5" lineColor="#000000"/>  
24 - </box>  
25 - </style>  
26 - <style name="table 1">  
27 - <box>  
28 - <pen lineWidth="1.0" lineColor="#000000"/>  
29 - </box>  
30 - </style>  
31 - <style name="table 1_TH" mode="Opaque" backcolor="#F0F8FF">  
32 - <box>  
33 - <pen lineWidth="0.5" lineColor="#000000"/>  
34 - </box>  
35 - </style>  
36 - <style name="table 1_CH" mode="Opaque" backcolor="#BFE1FF">  
37 - <box>  
38 - <pen lineWidth="0.5" lineColor="#000000"/>  
39 - </box>  
40 - </style>  
41 - <style name="table 1_TD" mode="Opaque" backcolor="#FFFFFF">  
42 - <box>  
43 - <pen lineWidth="0.5" lineColor="#000000"/>  
44 - </box>  
45 - </style>  
46 - <parameter name="idContaContabil" class="java.lang.Long" isForPrompting="false"/>  
47 - <parameter name="organizacaoNome" class="java.lang.String" isForPrompting="false"/>  
48 - <parameter name="almoxarifado" class="java.lang.String" isForPrompting="false"/>  
49 - <parameter name="dataReferenciaAnterior" class="java.util.Date" isForPrompting="false"/>  
50 - <parameter name="dataReferencia" class="java.util.Date" isForPrompting="false"/>  
51 - <parameter name="idAlmoxarifado" class="java.lang.Long" isForPrompting="false"/>  
52 - <parameter name="idsContas" class="java.util.Collection" isForPrompting="false"/>  
53 - <parameter name="siglaOrganizacao" class="java.lang.String"/>  
54 - <parameter name="codigoOrganizacao" class="java.lang.String"/>  
55 - <queryString>  
56 - <![CDATA[select  
57 - contacontabil.codigo as codigoContaContabil,  
58 - contacontabil.descricao as contaContabil,  
59 - material.id as idMaterial,  
60 - material.descricao as material,  
61 - material.codigo as codigoMaterial,  
62 - um.sigla as unidadeMedida,  
63 - (select sum(valorsobra) from entradaalmoxarifadoitem  
64 - inner join entradaalmoxarifado entradaalmoxarifado on entradaalmoxarifadoitem.entrada_id = entradaalmoxarifado.id  
65 - and entradaalmoxarifado.almoxarifado_id = $P{idAlmoxarifado} where material_id = materialconsumo.id) as residuo,  
66 - materialestoquesaldomedio.valorunitariomedio as precoMedio,  
67 - materialestoquesaldo.quantidade as quantidadeEstoqueSaldo,  
68 - (select sum(quantidade) from movimentoestoque  
69 - where material_id = materialconsumo.id and materialestoquesaldo_id is null and datainativo is null) as quantidadeMovimento,  
70 - (select sum(quantidade) from atendimentoreqconsumoitem arci  
71 - inner join atendimentorequisicaoconsumo arc on arc.id = arci.atendimentoreqconsumo_id  
72 - where arci.material_id = materialconsumo.id and arci.datainativo is null  
73 - and arc.dataatendimento between $P{dataReferenciaAnterior} and $P{dataReferencia}) as quantidadeAtendida  
74 - from materialconsumo materialconsumo  
75 -inner join material material on materialconsumo.id = material.id and material.datainativo is null  
76 -inner join unidademedida um on materialconsumo.unidadearmazenamento_id = um.id  
77 -inner join materialestoquesaldomedio materialestoquesaldomedio on materialestoquesaldomedio.material_id = material.id  
78 -left join materialestoquesaldo materialestoquesaldo on materialestoquesaldo.material_id = material.id and materialestoquesaldo.datareferencia = $P{dataReferencia}  
79 -inner join contacontabil contacontabil on material.contacontabil_id = contacontabil.id and $X{IN,contacontabil.id,idsContas}  
80 -left join localestoque localestoque on materialestoquesaldo.localestoque_id = localestoque.id and localestoque.almoxarifado_id = $P{idAlmoxarifado}  
81 -order by contaContabil, material]]>  
82 - </queryString>  
83 - <field name="codigocontacontabil" class="java.lang.String"/>  
84 - <field name="contacontabil" class="java.lang.String"/>  
85 - <field name="idmaterial" class="java.lang.Long"/>  
86 - <field name="material" class="java.lang.String"/>  
87 - <field name="codigomaterial" class="java.lang.String"/>  
88 - <field name="unidademedida" class="java.lang.String"/>  
89 - <field name="residuo" class="java.math.BigDecimal"/>  
90 - <field name="precomedio" class="java.math.BigDecimal"/>  
91 - <field name="quantidadeestoquesaldo" class="java.math.BigDecimal"/>  
92 - <field name="quantidademovimento" class="java.math.BigDecimal"/>  
93 - <field name="quantidadeatendida" class="java.math.BigDecimal"/>  
94 - <variable name="sum_quantidade" class="java.math.BigDecimal" resetType="Group" resetGroup="conta" calculation="Sum">  
95 - <variableExpression><![CDATA[( $F{quantidademovimento} != null ? $F{quantidademovimento} : 0 ) + ( $F{quantidadeestoquesaldo} != null ? $F{quantidadeestoquesaldo} : 0 )]]></variableExpression>  
96 - </variable>  
97 - <variable name="sum_valor" class="java.math.BigDecimal" resetType="Group" resetGroup="conta" calculation="Sum">  
98 - <variableExpression><![CDATA[$F{precomedio} * (( $F{quantidademovimento} != null ? $F{quantidademovimento} : 0 ) + ( $F{quantidadeestoquesaldo} != null ? $F{quantidadeestoquesaldo} : 0 ))]]></variableExpression>  
99 - </variable>  
100 - <group name="conta" isStartNewPage="true" footerPosition="ForceAtBottom">  
101 - <groupExpression><![CDATA[$F{contacontabil}]]></groupExpression>  
102 - <groupHeader>  
103 - <band height="46">  
104 - <textField pattern="dd/MM/yyyy" isBlankWhenNull="true">  
105 - <reportElement x="0" y="0" width="802" height="20" uuid="141dd09f-a97f-483c-9da2-3837bbcecf91"/>  
106 - <textElement verticalAlignment="Middle" markup="styled"/>  
107 - <textFieldExpression><![CDATA["<b>Conta: </b>" + $F{codigocontacontabil} + " - " + $F{contacontabil}]]></textFieldExpression>  
108 - </textField>  
109 - <staticText>  
110 - <reportElement x="34" y="26" width="361" height="20" uuid="f78a42c7-4f26-4b35-baa1-9a9cff48e4e4"/>  
111 - <box>  
112 - <topPen lineWidth="0.25"/>  
113 - <leftPen lineWidth="0.25"/>  
114 - <bottomPen lineWidth="0.25"/>  
115 - <rightPen lineWidth="0.25"/>  
116 - </box>  
117 - <textElement textAlignment="Center" verticalAlignment="Middle">  
118 - <font isBold="true"/>  
119 - </textElement>  
120 - <text><![CDATA[Material]]></text>  
121 - </staticText>  
122 - <staticText>  
123 - <reportElement x="395" y="26" width="34" height="20" uuid="0a778ecf-f039-4110-a8a8-f8eec1375772"/>  
124 - <box>  
125 - <topPen lineWidth="0.25"/>  
126 - <leftPen lineWidth="0.25"/>  
127 - <bottomPen lineWidth="0.25"/>  
128 - <rightPen lineWidth="0.25"/>  
129 - </box>  
130 - <textElement textAlignment="Center" verticalAlignment="Middle">  
131 - <font isBold="true"/>  
132 - </textElement>  
133 - <text><![CDATA[U.M.]]></text>  
134 - </staticText>  
135 - <staticText>  
136 - <reportElement x="429" y="26" width="55" height="20" uuid="d36e6ea1-0cc5-4838-89d6-9b2beed1add2"/>  
137 - <box>  
138 - <topPen lineWidth="0.25"/>  
139 - <leftPen lineWidth="0.25"/>  
140 - <bottomPen lineWidth="0.25"/>  
141 - <rightPen lineWidth="0.25"/>  
142 - </box>  
143 - <textElement textAlignment="Center" verticalAlignment="Middle">  
144 - <font isBold="true"/>  
145 - </textElement>  
146 - <text><![CDATA[CMM]]></text>  
147 - </staticText>  
148 - <staticText>  
149 - <reportElement x="484" y="26" width="56" height="20" uuid="6e387ed7-7e66-4f5f-b4c3-0f6e7bbf945d"/>  
150 - <box>  
151 - <topPen lineWidth="0.25"/>  
152 - <leftPen lineWidth="0.25"/>  
153 - <bottomPen lineWidth="0.25"/>  
154 - <rightPen lineWidth="0.25"/>  
155 - </box>  
156 - <textElement textAlignment="Center" verticalAlignment="Middle">  
157 - <font isBold="true"/>  
158 - </textElement>  
159 - <text><![CDATA[Resíduo]]></text>  
160 - </staticText>  
161 - <staticText>  
162 - <reportElement x="540" y="26" width="62" height="20" uuid="bf561b2e-b108-4bc8-b514-b5893671b31a"/>  
163 - <box>  
164 - <topPen lineWidth="0.25"/>  
165 - <leftPen lineWidth="0.25"/>  
166 - <bottomPen lineWidth="0.25"/>  
167 - <rightPen lineWidth="0.25"/>  
168 - </box>  
169 - <textElement textAlignment="Center" verticalAlignment="Middle">  
170 - <font isBold="true"/>  
171 - </textElement>  
172 - <text><![CDATA[Pr. Médio]]></text>  
173 - </staticText>  
174 - <staticText>  
175 - <reportElement x="602" y="26" width="84" height="20" uuid="e0fb4f52-2274-4d1f-b5cb-99c0ec5f6ca9"/>  
176 - <box>  
177 - <topPen lineWidth="0.25"/>  
178 - <leftPen lineWidth="0.25"/>  
179 - <bottomPen lineWidth="0.25"/>  
180 - <rightPen lineWidth="0.25"/>  
181 - </box>  
182 - <textElement textAlignment="Center" verticalAlignment="Middle">  
183 - <font isBold="true"/>  
184 - </textElement>  
185 - <text><![CDATA[Estoque]]></text>  
186 - </staticText>  
187 - <staticText>  
188 - <reportElement x="686" y="26" width="116" height="20" uuid="7a726e49-7c2d-44ad-b1d5-ec574e22af67"/>  
189 - <box>  
190 - <topPen lineWidth="0.25"/>  
191 - <leftPen lineWidth="0.25"/>  
192 - <bottomPen lineWidth="0.25"/>  
193 - <rightPen lineWidth="0.25"/>  
194 - </box>  
195 - <textElement textAlignment="Center" verticalAlignment="Middle">  
196 - <font isBold="true"/>  
197 - </textElement>  
198 - <text><![CDATA[Valor]]></text>  
199 - </staticText>  
200 - <staticText>  
201 - <reportElement x="0" y="26" width="34" height="20" uuid="4cfb6955-5039-4ac1-b07f-0228bf6a0f64"/>  
202 - <box>  
203 - <topPen lineWidth="0.25"/>  
204 - <leftPen lineWidth="0.25"/>  
205 - <bottomPen lineWidth="0.25"/>  
206 - <rightPen lineWidth="0.25"/>  
207 - </box>  
208 - <textElement textAlignment="Center" verticalAlignment="Middle">  
209 - <font isBold="true"/>  
210 - </textElement>  
211 - <text><![CDATA[Item]]></text>  
212 - </staticText>  
213 - </band>  
214 - </groupHeader>  
215 - <groupFooter>  
216 - <band height="20">  
217 - <textField pattern="#,##0">  
218 - <reportElement x="602" y="0" width="84" height="20" uuid="893b7a7e-5c93-4700-930c-2df020f5e1c3"/>  
219 - <textElement textAlignment="Right" verticalAlignment="Middle">  
220 - <font isBold="true"/>  
221 - <paragraph rightIndent="3"/>  
222 - </textElement>  
223 - <textFieldExpression><![CDATA[$V{sum_quantidade}]]></textFieldExpression>  
224 - </textField>  
225 - <staticText>  
226 - <reportElement x="0" y="0" width="602" height="20" uuid="b8c77b16-abc7-4080-88a7-0884a3c782e3"/>  
227 - <textElement textAlignment="Right" verticalAlignment="Middle">  
228 - <font isBold="true"/>  
229 - <paragraph rightIndent="3"/>  
230 - </textElement>  
231 - <text><![CDATA[Total por Conta:]]></text>  
232 - </staticText>  
233 - <textField pattern="#,##0.00">  
234 - <reportElement x="686" y="0" width="116" height="20" uuid="38621d74-4277-4f77-9b61-3846d94c80cc"/>  
235 - <textElement textAlignment="Right" verticalAlignment="Middle">  
236 - <font isBold="true"/>  
237 - <paragraph rightIndent="3"/>  
238 - </textElement>  
239 - <textFieldExpression><![CDATA[$V{sum_valor}]]></textFieldExpression>  
240 - </textField>  
241 - </band>  
242 - </groupFooter>  
243 - </group>  
244 - <group name="material">  
245 - <groupExpression><![CDATA[$F{idmaterial}]]></groupExpression>  
246 - <groupHeader>  
247 - <band height="20">  
248 - <textField isStretchWithOverflow="true" pattern="#,##0" isBlankWhenNull="true">  
249 - <reportElement stretchType="RelativeToBandHeight" x="602" y="0" width="84" height="20" uuid="fe80ffda-d564-4603-ae0f-0cdca16a20b8"/>  
250 - <box>  
251 - <topPen lineWidth="0.25"/>  
252 - <leftPen lineWidth="0.25"/>  
253 - <bottomPen lineWidth="0.25"/>  
254 - <rightPen lineWidth="0.25"/>  
255 - </box>  
256 - <textElement textAlignment="Right" verticalAlignment="Middle">  
257 - <paragraph rightIndent="3"/>  
258 - </textElement>  
259 - <textFieldExpression><![CDATA[( $F{quantidademovimento} != null ? $F{quantidademovimento} : 0 ) + ( $F{quantidadeestoquesaldo} != null ? $F{quantidadeestoquesaldo} : 0 )]]></textFieldExpression>  
260 - </textField>  
261 - <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">  
262 - <reportElement stretchType="RelativeToBandHeight" x="686" y="0" width="116" height="20" uuid="25cfd356-5e16-4935-9b25-7cc88ad1ec8a"/>  
263 - <box>  
264 - <topPen lineWidth="0.25"/>  
265 - <leftPen lineWidth="0.25"/>  
266 - <bottomPen lineWidth="0.25"/>  
267 - <rightPen lineWidth="0.25"/>  
268 - </box>  
269 - <textElement textAlignment="Right" verticalAlignment="Middle">  
270 - <paragraph rightIndent="3"/>  
271 - </textElement>  
272 - <textFieldExpression><![CDATA[$F{precomedio} * (( $F{quantidademovimento} != null ? $F{quantidademovimento} : 0 ) + ( $F{quantidadeestoquesaldo} != null ? $F{quantidadeestoquesaldo} : 0 ))]]></textFieldExpression>  
273 - </textField>  
274 - <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">  
275 - <reportElement stretchType="RelativeToBandHeight" x="540" y="0" width="62" height="20" uuid="76a0e723-baf8-46d6-9fa7-e2cfdf0ee6c0"/>  
276 - <box>  
277 - <topPen lineWidth="0.25"/>  
278 - <leftPen lineWidth="0.25"/>  
279 - <bottomPen lineWidth="0.25"/>  
280 - <rightPen lineWidth="0.25"/>  
281 - </box>  
282 - <textElement textAlignment="Right" verticalAlignment="Middle">  
283 - <paragraph rightIndent="3"/>  
284 - </textElement>  
285 - <textFieldExpression><![CDATA[$F{precomedio}]]></textFieldExpression>  
286 - </textField>  
287 - <textField isStretchWithOverflow="true" isBlankWhenNull="true">  
288 - <reportElement stretchType="RelativeToBandHeight" x="395" y="0" width="34" height="20" uuid="591d69e1-0fda-4e35-a326-8b631e1eb579"/>  
289 - <box>  
290 - <topPen lineWidth="0.25"/>  
291 - <leftPen lineWidth="0.25"/>  
292 - <bottomPen lineWidth="0.25"/>  
293 - <rightPen lineWidth="0.25"/>  
294 - </box>  
295 - <textElement textAlignment="Center" verticalAlignment="Middle"/>  
296 - <textFieldExpression><![CDATA[$F{unidademedida}]]></textFieldExpression>  
297 - </textField>  
298 - <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">  
299 - <reportElement stretchType="RelativeToBandHeight" x="484" y="0" width="56" height="20" uuid="4177b444-a2e1-4c6d-9b72-8a7774b2080f"/>  
300 - <box>  
301 - <topPen lineWidth="0.25"/>  
302 - <leftPen lineWidth="0.25"/>  
303 - <bottomPen lineWidth="0.25"/>  
304 - <rightPen lineWidth="0.25"/>  
305 - </box>  
306 - <textElement textAlignment="Right" verticalAlignment="Middle">  
307 - <paragraph rightIndent="3"/>  
308 - </textElement>  
309 - <textFieldExpression><![CDATA[$F{residuo}]]></textFieldExpression>  
310 - </textField>  
311 - <textField isStretchWithOverflow="true" isBlankWhenNull="true">  
312 - <reportElement stretchType="RelativeToBandHeight" x="429" y="0" width="55" height="20" uuid="49906ced-42f2-4256-994d-05957e3315d3"/>  
313 - <box>  
314 - <topPen lineWidth="0.25"/>  
315 - <leftPen lineWidth="0.25"/>  
316 - <bottomPen lineWidth="0.25"/>  
317 - <rightPen lineWidth="0.25"/>  
318 - </box>  
319 - <textElement textAlignment="Center" verticalAlignment="Middle"/>  
320 - <textFieldExpression><![CDATA[( $F{quantidadeatendida} != null ? $F{quantidadeatendida} / 12 : 0 )]]></textFieldExpression>  
321 - </textField>  
322 - <textField isStretchWithOverflow="true" isBlankWhenNull="true">  
323 - <reportElement stretchType="RelativeToBandHeight" x="0" y="0" width="34" height="20" uuid="e77b466d-17af-421e-bc7c-ae1b4b0a7de3"/>  
324 - <box>  
325 - <topPen lineWidth="0.25"/>  
326 - <leftPen lineWidth="0.25"/>  
327 - <bottomPen lineWidth="0.25"/>  
328 - <rightPen lineWidth="0.25"/>  
329 - </box>  
330 - <textElement textAlignment="Center" verticalAlignment="Middle"/>  
331 - <textFieldExpression><![CDATA[$V{conta_COUNT} + 1]]></textFieldExpression>  
332 - </textField>  
333 - <textField isStretchWithOverflow="true" isBlankWhenNull="true">  
334 - <reportElement stretchType="RelativeToBandHeight" x="34" y="0" width="361" height="20" uuid="0cb829b8-d974-40a8-beb8-9f6a17cd9137"/>  
335 - <box>  
336 - <topPen lineWidth="0.25"/>  
337 - <leftPen lineWidth="0.25"/>  
338 - <bottomPen lineWidth="0.25"/>  
339 - <rightPen lineWidth="0.25"/>  
340 - </box>  
341 - <textElement verticalAlignment="Middle">  
342 - <paragraph leftIndent="3" rightIndent="3"/>  
343 - </textElement>  
344 - <textFieldExpression><![CDATA[($F{codigomaterial} != null ? $F{codigomaterial} + " - " : "" ) + $F{material}]]></textFieldExpression>  
345 - </textField>  
346 - </band>  
347 - </groupHeader>  
348 - </group>  
349 - <pageHeader>  
350 - <band height="49" splitType="Stretch">  
351 - <textField>  
352 - <reportElement x="0" y="10" width="802" height="20" uuid="3347ad7d-fb59-4af7-b1bb-304159086401"/>  
353 - <textElement textAlignment="Justified" verticalAlignment="Middle" markup="styled"/>  
354 - <textFieldExpression><![CDATA["<b>Orgão: </b>" + $P{codigoOrganizacao} + " - " + $P{organizacaoNome} + " - " + $P{siglaOrganizacao}]]></textFieldExpression>  
355 - </textField>  
356 - <textField>  
357 - <reportElement x="0" y="29" width="802" height="20" uuid="a54e1a45-dee7-42f3-92e7-1fad7b5a9a94"/>  
358 - <textElement verticalAlignment="Middle" markup="styled"/>  
359 - <textFieldExpression><![CDATA["<b>Almoxarifado: </b>" + $P{almoxarifado}]]></textFieldExpression>  
360 - </textField>  
361 - </band>  
362 - </pageHeader>  
363 - <noData>  
364 - <band height="20">  
365 - <staticText>  
366 - <reportElement x="0" y="0" width="802" height="20" uuid="6231a352-8cc9-4707-94df-02bc89aae8dd"/>  
367 - <textElement textAlignment="Center" verticalAlignment="Middle">  
368 - <font isBold="true"/>  
369 - </textElement>  
370 - <text><![CDATA[Seção vazia]]></text>  
371 - </staticText>  
372 - </band>  
373 - </noData>  
374 -</jasperReport>  
cit-almoxarifado-web/target/classes/reports/PosicaoEstoqueResumoAnalitico.jrxml
@@ -1,246 +0,0 @@ @@ -1,246 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="PosicaoEstoqueAnalítico" language="groovy" pageWidth="802" pageHeight="555" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="ad8f14cf-4bc6-4008-beb0-a366c90e1c3f">  
3 - <property name="ireport.zoom" value="1.2396694214876032"/>  
4 - <property name="ireport.x" value="0"/>  
5 - <property name="ireport.y" value="0"/>  
6 - <style name="table">  
7 - <box>  
8 - <pen lineWidth="1.0" lineColor="#000000"/>  
9 - </box>  
10 - </style>  
11 - <style name="table_TH" mode="Opaque" backcolor="#F0F8FF">  
12 - <box>  
13 - <pen lineWidth="0.5" lineColor="#000000"/>  
14 - </box>  
15 - </style>  
16 - <style name="table_CH" mode="Opaque" backcolor="#BFE1FF">  
17 - <box>  
18 - <pen lineWidth="0.5" lineColor="#000000"/>  
19 - </box>  
20 - </style>  
21 - <style name="table_TD" mode="Opaque" backcolor="#FFFFFF">  
22 - <box>  
23 - <pen lineWidth="0.5" lineColor="#000000"/>  
24 - </box>  
25 - </style>  
26 - <style name="table 1">  
27 - <box>  
28 - <pen lineWidth="1.0" lineColor="#000000"/>  
29 - </box>  
30 - </style>  
31 - <style name="table 1_TH" mode="Opaque" backcolor="#F0F8FF">  
32 - <box>  
33 - <pen lineWidth="0.5" lineColor="#000000"/>  
34 - </box>  
35 - </style>  
36 - <style name="table 1_CH" mode="Opaque" backcolor="#BFE1FF">  
37 - <box>  
38 - <pen lineWidth="0.5" lineColor="#000000"/>  
39 - </box>  
40 - </style>  
41 - <style name="table 1_TD" mode="Opaque" backcolor="#FFFFFF">  
42 - <box>  
43 - <pen lineWidth="0.5" lineColor="#000000"/>  
44 - </box>  
45 - </style>  
46 - <parameter name="organizacaoNome" class="java.lang.String" isForPrompting="false"/>  
47 - <parameter name="almoxarifado" class="java.lang.String" isForPrompting="false"/>  
48 - <parameter name="dataReferencia" class="java.util.Date" isForPrompting="false"/>  
49 - <parameter name="idAlmoxarifado" class="java.lang.Long" isForPrompting="false"/>  
50 - <parameter name="idContaContabil" class="java.lang.Long" isForPrompting="false"/>  
51 - <parameter name="idsContas" class="java.util.Collection" isForPrompting="false"/>  
52 - <parameter name="codigoOrganizacao" class="java.lang.String"/>  
53 - <parameter name="siglaOrganizacao" class="java.lang.String"/>  
54 - <queryString>  
55 - <![CDATA[select  
56 - contacontabil.codigo as codigoContaContabil,  
57 - contacontabil.descricao as contaContabil,  
58 - material.id as material,  
59 - materialestoquesaldomedio.valorunitariomedio as precoMedio,  
60 - materialestoquesaldo.quantidade as quantidadeEstoqueSaldo,  
61 - (select sum(quantidade) from movimentoestoque  
62 - where material_id = materialconsumo.id and materialestoquesaldo_id is null and datainativo is null) as quantidadeMovimento  
63 - from materialconsumo materialconsumo  
64 -inner join material material on materialconsumo.id = material.id and material.datainativo is null  
65 -inner join materialestoquesaldomedio materialestoquesaldomedio on materialestoquesaldomedio.material_id = materialconsumo.id  
66 -left join materialestoquesaldo materialestoquesaldo on materialestoquesaldo.material_id = materialconsumo.id and materialestoquesaldo.datareferencia = $P{dataReferencia}  
67 -inner join contacontabil contacontabil on material.contacontabil_id = contacontabil.id and $X{IN,contacontabil.id,idsContas}  
68 -left join localestoque localestoque on materialestoquesaldo.localestoque_id = localestoque.id and localestoque.almoxarifado_id = $P{idAlmoxarifado}  
69 -order by contaContabil]]>  
70 - </queryString>  
71 - <field name="codigocontacontabil" class="java.lang.String"/>  
72 - <field name="contacontabil" class="java.lang.String"/>  
73 - <field name="material" class="java.lang.Long"/>  
74 - <field name="precomedio" class="java.math.BigDecimal"/>  
75 - <field name="quantidadeestoquesaldo" class="java.math.BigDecimal"/>  
76 - <field name="quantidademovimento" class="java.math.BigDecimal"/>  
77 - <variable name="sum_quantidade" class="java.math.BigDecimal" resetType="Group" resetGroup="conta" calculation="Sum">  
78 - <variableExpression><![CDATA[( $F{quantidademovimento} != null ? $F{quantidademovimento} : 0 ) + ( $F{quantidadeestoquesaldo} != null ? $F{quantidadeestoquesaldo} : 0 )]]></variableExpression>  
79 - <initialValueExpression><![CDATA[0]]></initialValueExpression>  
80 - </variable>  
81 - <variable name="sum_valor" class="java.math.BigDecimal" resetType="Group" resetGroup="conta" calculation="Sum">  
82 - <variableExpression><![CDATA[$F{precomedio} * (( $F{quantidademovimento} != null ? $F{quantidademovimento} : 0 ) + ( $F{quantidadeestoquesaldo} != null ? $F{quantidadeestoquesaldo} : 0 ))]]></variableExpression>  
83 - </variable>  
84 - <variable name="total_quantidade" class="java.math.BigDecimal" calculation="Sum">  
85 - <variableExpression><![CDATA[( $F{quantidademovimento} != null ? $F{quantidademovimento} : 0 ) + ( $F{quantidadeestoquesaldo} != null ? $F{quantidadeestoquesaldo} : 0 )]]></variableExpression>  
86 - </variable>  
87 - <variable name="total_valor" class="java.math.BigDecimal" calculation="Sum">  
88 - <variableExpression><![CDATA[$F{precomedio} * (( $F{quantidademovimento} != null ? $F{quantidademovimento} : 0 ) + ( $F{quantidadeestoquesaldo} != null ? $F{quantidadeestoquesaldo} : 0 ))]]></variableExpression>  
89 - </variable>  
90 - <group name="conta">  
91 - <groupExpression><![CDATA[$F{contacontabil}]]></groupExpression>  
92 - <groupFooter>  
93 - <band height="20">  
94 - <textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">  
95 - <reportElement stretchType="RelativeToBandHeight" x="0" y="0" width="548" height="20" uuid="141dd09f-a97f-483c-9da2-3837bbcecf91"/>  
96 - <box>  
97 - <topPen lineWidth="0.25"/>  
98 - <leftPen lineWidth="0.25"/>  
99 - <bottomPen lineWidth="0.25"/>  
100 - <rightPen lineWidth="0.25"/>  
101 - </box>  
102 - <textElement verticalAlignment="Middle">  
103 - <paragraph leftIndent="3" rightIndent="2"/>  
104 - </textElement>  
105 - <textFieldExpression><![CDATA[$F{codigocontacontabil} + " - " + $F{contacontabil}]]></textFieldExpression>  
106 - </textField>  
107 - <textField isStretchWithOverflow="true" pattern="#,##0" isBlankWhenNull="true">  
108 - <reportElement stretchType="RelativeToBandHeight" x="548" y="0" width="112" height="20" uuid="893b7a7e-5c93-4700-930c-2df020f5e1c3"/>  
109 - <box>  
110 - <topPen lineWidth="0.25"/>  
111 - <leftPen lineWidth="0.25"/>  
112 - <bottomPen lineWidth="0.25"/>  
113 - <rightPen lineWidth="0.25"/>  
114 - </box>  
115 - <textElement textAlignment="Right" verticalAlignment="Middle">  
116 - <font isBold="false"/>  
117 - <paragraph rightIndent="3"/>  
118 - </textElement>  
119 - <textFieldExpression><![CDATA[$V{sum_quantidade}]]></textFieldExpression>  
120 - </textField>  
121 - <textField isStretchWithOverflow="true" pattern="¤ #,##0.00" isBlankWhenNull="true">  
122 - <reportElement stretchType="RelativeToBandHeight" x="660" y="0" width="142" height="20" uuid="38621d74-4277-4f77-9b61-3846d94c80cc"/>  
123 - <box>  
124 - <topPen lineWidth="0.25"/>  
125 - <leftPen lineWidth="0.25"/>  
126 - <bottomPen lineWidth="0.25"/>  
127 - <rightPen lineWidth="0.25"/>  
128 - </box>  
129 - <textElement textAlignment="Right" verticalAlignment="Middle">  
130 - <font isBold="false"/>  
131 - <paragraph rightIndent="3"/>  
132 - </textElement>  
133 - <textFieldExpression><![CDATA[$V{sum_valor}]]></textFieldExpression>  
134 - </textField>  
135 - </band>  
136 - </groupFooter>  
137 - </group>  
138 - <pageHeader>  
139 - <band height="77" splitType="Stretch">  
140 - <staticText>  
141 - <reportElement x="0" y="10" width="45" height="20" uuid="2ed8d616-4703-4227-a1c7-0f7e6a09c25f"/>  
142 - <textElement textAlignment="Left" verticalAlignment="Middle">  
143 - <font isBold="true"/>  
144 - <paragraph leftIndent="3"/>  
145 - </textElement>  
146 - <text><![CDATA[Orgão:]]></text>  
147 - </staticText>  
148 - <staticText>  
149 - <reportElement x="0" y="30" width="75" height="20" uuid="2818aa1a-d6b9-4e72-a73c-85879c7d6054"/>  
150 - <textElement textAlignment="Left" verticalAlignment="Middle">  
151 - <font isBold="true"/>  
152 - <paragraph leftIndent="3"/>  
153 - </textElement>  
154 - <text><![CDATA[Almoxarifado:]]></text>  
155 - </staticText>  
156 - <textField>  
157 - <reportElement x="45" y="10" width="757" height="20" uuid="3347ad7d-fb59-4af7-b1bb-304159086401"/>  
158 - <textElement textAlignment="Justified" verticalAlignment="Middle"/>  
159 - <textFieldExpression><![CDATA[$P{codigoOrganizacao} + " - " + $P{organizacaoNome} + " - " + $P{siglaOrganizacao}]]></textFieldExpression>  
160 - </textField>  
161 - <textField>  
162 - <reportElement x="75" y="30" width="727" height="20" uuid="fa9cf4a7-75d6-4736-aea0-079d9b1cf88b"/>  
163 - <textElement verticalAlignment="Middle"/>  
164 - <textFieldExpression><![CDATA[$P{almoxarifado}]]></textFieldExpression>  
165 - </textField>  
166 - <staticText>  
167 - <reportElement x="0" y="57" width="548" height="20" uuid="f78a42c7-4f26-4b35-baa1-9a9cff48e4e4"/>  
168 - <box>  
169 - <topPen lineWidth="0.25"/>  
170 - <leftPen lineWidth="0.25"/>  
171 - <bottomPen lineWidth="0.25"/>  
172 - <rightPen lineWidth="0.25"/>  
173 - </box>  
174 - <textElement textAlignment="Center" verticalAlignment="Middle">  
175 - <font isBold="true"/>  
176 - </textElement>  
177 - <text><![CDATA[Conta]]></text>  
178 - </staticText>  
179 - <staticText>  
180 - <reportElement x="548" y="57" width="112" height="20" uuid="e0fb4f52-2274-4d1f-b5cb-99c0ec5f6ca9"/>  
181 - <box>  
182 - <topPen lineWidth="0.25"/>  
183 - <leftPen lineWidth="0.25"/>  
184 - <bottomPen lineWidth="0.25"/>  
185 - <rightPen lineWidth="0.25"/>  
186 - </box>  
187 - <textElement textAlignment="Center" verticalAlignment="Middle">  
188 - <font isBold="true"/>  
189 - </textElement>  
190 - <text><![CDATA[Estoque]]></text>  
191 - </staticText>  
192 - <staticText>  
193 - <reportElement x="660" y="57" width="142" height="20" uuid="7a726e49-7c2d-44ad-b1d5-ec574e22af67"/>  
194 - <box>  
195 - <topPen lineWidth="0.25"/>  
196 - <leftPen lineWidth="0.25"/>  
197 - <bottomPen lineWidth="0.25"/>  
198 - <rightPen lineWidth="0.25"/>  
199 - </box>  
200 - <textElement textAlignment="Center" verticalAlignment="Middle">  
201 - <font isBold="true"/>  
202 - </textElement>  
203 - <text><![CDATA[Valor]]></text>  
204 - </staticText>  
205 - </band>  
206 - </pageHeader>  
207 - <summary>  
208 - <band height="20">  
209 - <textField pattern="#,##0">  
210 - <reportElement x="548" y="0" width="112" height="20" uuid="bb3bcc41-a0c7-4f35-abe4-896f15eafa08"/>  
211 - <textElement textAlignment="Right" verticalAlignment="Middle">  
212 - <font isBold="true"/>  
213 - <paragraph rightIndent="3"/>  
214 - </textElement>  
215 - <textFieldExpression><![CDATA[$V{total_quantidade}]]></textFieldExpression>  
216 - </textField>  
217 - <staticText>  
218 - <reportElement x="0" y="0" width="548" height="20" uuid="eb175081-0f26-4c9d-98cd-a583bbeba3b4"/>  
219 - <textElement textAlignment="Right" verticalAlignment="Middle">  
220 - <font isBold="true"/>  
221 - <paragraph rightIndent="3"/>  
222 - </textElement>  
223 - <text><![CDATA[Total do Resumo:]]></text>  
224 - </staticText>  
225 - <textField pattern="¤ #,##0.00">  
226 - <reportElement x="660" y="0" width="142" height="20" uuid="c42a7974-51c0-4183-a71c-9e01537c6846"/>  
227 - <textElement textAlignment="Right" verticalAlignment="Middle">  
228 - <font isBold="true"/>  
229 - <paragraph rightIndent="3"/>  
230 - </textElement>  
231 - <textFieldExpression><![CDATA[$V{total_valor}]]></textFieldExpression>  
232 - </textField>  
233 - </band>  
234 - </summary>  
235 - <noData>  
236 - <band height="20">  
237 - <staticText>  
238 - <reportElement x="0" y="0" width="802" height="20" uuid="6231a352-8cc9-4707-94df-02bc89aae8dd"/>  
239 - <textElement textAlignment="Center" verticalAlignment="Middle">  
240 - <font isBold="true"/>  
241 - </textElement>  
242 - <text><![CDATA[Seção vazia]]></text>  
243 - </staticText>  
244 - </band>  
245 - </noData>  
246 -</jasperReport>  
cit-almoxarifado-web/target/classes/reports/RelatorioMaterialEstoqueAlmoxarifado.jrxml
@@ -1,279 +0,0 @@ @@ -1,279 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="RelatorioMaterialEstoqueAlmoxarifado" language="groovy" pageWidth="802" pageHeight="555" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="ad8f14cf-4bc6-4008-beb0-a366c90e1c3f">  
3 - <property name="ireport.zoom" value="1.3636363636363638"/>  
4 - <property name="ireport.x" value="0"/>  
5 - <property name="ireport.y" value="0"/>  
6 - <style name="table">  
7 - <box>  
8 - <pen lineWidth="1.0" lineColor="#000000"/>  
9 - </box>  
10 - </style>  
11 - <style name="table_TH" mode="Opaque" backcolor="#F0F8FF">  
12 - <box>  
13 - <pen lineWidth="0.5" lineColor="#000000"/>  
14 - </box>  
15 - </style>  
16 - <style name="table_CH" mode="Opaque" backcolor="#BFE1FF">  
17 - <box>  
18 - <pen lineWidth="0.5" lineColor="#000000"/>  
19 - </box>  
20 - </style>  
21 - <style name="table_TD" mode="Opaque" backcolor="#FFFFFF">  
22 - <box>  
23 - <pen lineWidth="0.5" lineColor="#000000"/>  
24 - </box>  
25 - </style>  
26 - <style name="table 1">  
27 - <box>  
28 - <pen lineWidth="1.0" lineColor="#000000"/>  
29 - </box>  
30 - </style>  
31 - <style name="table 1_TH" mode="Opaque" backcolor="#F0F8FF">  
32 - <box>  
33 - <pen lineWidth="0.5" lineColor="#000000"/>  
34 - </box>  
35 - </style>  
36 - <style name="table 1_CH" mode="Opaque" backcolor="#BFE1FF">  
37 - <box>  
38 - <pen lineWidth="0.5" lineColor="#000000"/>  
39 - </box>  
40 - </style>  
41 - <style name="table 1_TD" mode="Opaque" backcolor="#FFFFFF">  
42 - <box>  
43 - <pen lineWidth="0.5" lineColor="#000000"/>  
44 - </box>  
45 - </style>  
46 - <parameter name="organizacaoNome" class="java.lang.String" isForPrompting="false"/>  
47 - <parameter name="almoxarifado" class="java.lang.String" isForPrompting="false"/>  
48 - <parameter name="dataReferencia" class="java.util.Date" isForPrompting="false"/>  
49 - <parameter name="idAlmoxarifado" class="java.lang.Long" isForPrompting="false"/>  
50 - <parameter name="idsMateriais" class="java.util.Collection" isForPrompting="false"/>  
51 - <parameter name="isReferenciaAtual" class="java.lang.Boolean" isForPrompting="false"/>  
52 - <parameter name="movimento_estoque" class="java.lang.String" isForPrompting="false">  
53 - <defaultValueExpression><![CDATA[( $P{isReferenciaAtual} ? "(select sum(quantidade) " +  
54 - "from movimentoestoque " +  
55 - "where material_id = materialconsumo.id and materialestoquesaldo_id is null and datainativo is null)" : 0 )]]></defaultValueExpression>  
56 - </parameter>  
57 - <parameter name="codigoOrganizacao" class="java.lang.String"/>  
58 - <parameter name="siglaOrganizacao" class="java.lang.String"/>  
59 - <queryString>  
60 - <![CDATA[select  
61 - material.id as idmaterial,  
62 - material.codigo as codigomaterial,  
63 - material.descricao as material,  
64 - um.sigla as unidademedida,  
65 - materialestoquesaldo.quantidade as quantidadeestoqueSaldo,  
66 - $P!{movimento_estoque} as quantidademovimento,  
67 - materialestoquesaldo.valorfechado as valorEstoque,  
68 - 0 as pontopedido,  
69 - materialestoquesaldomedio.valorunitariomedio as precomedio  
70 - from materialconsumo materialconsumo  
71 -inner join material material on materialconsumo.id = material.id and material.datainativo is null  
72 -inner join unidademedida um on materialconsumo.unidadearmazenamento_id = um.id  
73 -inner join materialestoquesaldomedio materialestoquesaldomedio on materialestoquesaldomedio.material_id = material.id  
74 -left join materialestoquesaldo materialestoquesaldo on materialestoquesaldo.material_id = material.id and materialestoquesaldo.datareferencia = $P{dataReferencia}  
75 -left join localestoque localestoque on materialestoquesaldo.localestoque_id = localestoque.id and localestoque.almoxarifado_id = $P{idAlmoxarifado}  
76 -where $X{IN,material.id,idsMateriais}  
77 -order by material]]>  
78 - </queryString>  
79 - <field name="idmaterial" class="java.lang.Long"/>  
80 - <field name="codigomaterial" class="java.lang.String"/>  
81 - <field name="material" class="java.lang.String"/>  
82 - <field name="unidademedida" class="java.lang.String"/>  
83 - <field name="quantidadeestoquesaldo" class="java.math.BigDecimal"/>  
84 - <field name="quantidademovimento" class="java.math.BigDecimal"/>  
85 - <field name="valorestoque" class="java.math.BigDecimal"/>  
86 - <field name="pontopedido" class="java.lang.Integer"/>  
87 - <field name="precomedio" class="java.math.BigDecimal"/>  
88 - <group name="material">  
89 - <groupExpression><![CDATA[$F{idmaterial}]]></groupExpression>  
90 - <groupHeader>  
91 - <band height="20">  
92 - <textField isStretchWithOverflow="true" pattern="#,##0" isBlankWhenNull="true">  
93 - <reportElement stretchType="RelativeToBandHeight" x="586" y="0" width="91" height="20" uuid="fe80ffda-d564-4603-ae0f-0cdca16a20b8"/>  
94 - <box>  
95 - <topPen lineWidth="0.25"/>  
96 - <leftPen lineWidth="0.25"/>  
97 - <bottomPen lineWidth="0.25"/>  
98 - <rightPen lineWidth="0.25"/>  
99 - </box>  
100 - <textElement textAlignment="Right" verticalAlignment="Middle">  
101 - <paragraph rightIndent="3"/>  
102 - </textElement>  
103 - <textFieldExpression><![CDATA[( $F{quantidademovimento} != null ? $F{quantidademovimento} : 0 ) + ( $F{quantidadeestoquesaldo} != null ? $F{quantidadeestoquesaldo} : 0 )]]></textFieldExpression>  
104 - </textField>  
105 - <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">  
106 - <reportElement stretchType="RelativeToBandHeight" x="677" y="0" width="125" height="20" uuid="25cfd356-5e16-4935-9b25-7cc88ad1ec8a"/>  
107 - <box>  
108 - <topPen lineWidth="0.25"/>  
109 - <leftPen lineWidth="0.25"/>  
110 - <bottomPen lineWidth="0.25"/>  
111 - <rightPen lineWidth="0.25"/>  
112 - </box>  
113 - <textElement textAlignment="Right" verticalAlignment="Middle">  
114 - <paragraph rightIndent="3"/>  
115 - </textElement>  
116 - <textFieldExpression><![CDATA[$F{precomedio} * (( $F{quantidademovimento} != null ? $F{quantidademovimento} : 0 ) + ( $F{quantidadeestoquesaldo} != null ? $F{quantidadeestoquesaldo} : 0 ))]]></textFieldExpression>  
117 - </textField>  
118 - <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">  
119 - <reportElement stretchType="RelativeToBandHeight" x="499" y="0" width="87" height="20" uuid="76a0e723-baf8-46d6-9fa7-e2cfdf0ee6c0"/>  
120 - <box>  
121 - <topPen lineWidth="0.25"/>  
122 - <leftPen lineWidth="0.25"/>  
123 - <bottomPen lineWidth="0.25"/>  
124 - <rightPen lineWidth="0.25"/>  
125 - </box>  
126 - <textElement textAlignment="Right" verticalAlignment="Middle">  
127 - <paragraph rightIndent="3"/>  
128 - </textElement>  
129 - <textFieldExpression><![CDATA[$F{precomedio}]]></textFieldExpression>  
130 - </textField>  
131 - <textField isStretchWithOverflow="true" isBlankWhenNull="true">  
132 - <reportElement stretchType="RelativeToBandHeight" x="392" y="0" width="34" height="20" uuid="591d69e1-0fda-4e35-a326-8b631e1eb579"/>  
133 - <box>  
134 - <topPen lineWidth="0.25"/>  
135 - <leftPen lineWidth="0.25"/>  
136 - <bottomPen lineWidth="0.25"/>  
137 - <rightPen lineWidth="0.25"/>  
138 - </box>  
139 - <textElement textAlignment="Center" verticalAlignment="Middle"/>  
140 - <textFieldExpression><![CDATA[$F{unidademedida}]]></textFieldExpression>  
141 - </textField>  
142 - <textField isStretchWithOverflow="true" pattern="#,##0" isBlankWhenNull="true">  
143 - <reportElement stretchType="RelativeToBandHeight" x="426" y="0" width="73" height="20" uuid="4177b444-a2e1-4c6d-9b72-8a7774b2080f"/>  
144 - <box>  
145 - <topPen lineWidth="0.25"/>  
146 - <leftPen lineWidth="0.25"/>  
147 - <bottomPen lineWidth="0.25"/>  
148 - <rightPen lineWidth="0.25"/>  
149 - </box>  
150 - <textElement textAlignment="Right" verticalAlignment="Middle">  
151 - <paragraph rightIndent="3"/>  
152 - </textElement>  
153 - <textFieldExpression><![CDATA[$F{pontopedido}]]></textFieldExpression>  
154 - </textField>  
155 - <textField isStretchWithOverflow="true" isBlankWhenNull="true">  
156 - <reportElement stretchType="RelativeToBandHeight" x="0" y="0" width="392" height="20" uuid="0cb829b8-d974-40a8-beb8-9f6a17cd9137"/>  
157 - <box>  
158 - <topPen lineWidth="0.25"/>  
159 - <leftPen lineWidth="0.25"/>  
160 - <bottomPen lineWidth="0.25"/>  
161 - <rightPen lineWidth="0.25"/>  
162 - </box>  
163 - <textElement verticalAlignment="Middle">  
164 - <paragraph leftIndent="3" rightIndent="3"/>  
165 - </textElement>  
166 - <textFieldExpression><![CDATA[($F{codigomaterial} != null ? $F{codigomaterial} + " - " : "" ) + $F{material}]]></textFieldExpression>  
167 - </textField>  
168 - </band>  
169 - </groupHeader>  
170 - </group>  
171 - <pageHeader>  
172 - <band height="80" splitType="Stretch">  
173 - <textField>  
174 - <reportElement x="0" y="10" width="802" height="20" uuid="3347ad7d-fb59-4af7-b1bb-304159086401"/>  
175 - <textElement textAlignment="Justified" verticalAlignment="Middle" markup="styled"/>  
176 - <textFieldExpression><![CDATA["<b>Orgão: </b>" + $P{codigoOrganizacao} + " - " + $P{organizacaoNome} + " - " + $P{siglaOrganizacao}]]></textFieldExpression>  
177 - </textField>  
178 - <textField>  
179 - <reportElement x="0" y="29" width="426" height="20" uuid="fa9cf4a7-75d6-4736-aea0-079d9b1cf88b"/>  
180 - <textElement verticalAlignment="Middle" markup="styled"/>  
181 - <textFieldExpression><![CDATA["<b>Almoxarifado: </b>" + $P{almoxarifado}]]></textFieldExpression>  
182 - </textField>  
183 - <staticText>  
184 - <reportElement x="0" y="60" width="392" height="20" uuid="f78a42c7-4f26-4b35-baa1-9a9cff48e4e4"/>  
185 - <box>  
186 - <topPen lineWidth="0.25"/>  
187 - <leftPen lineWidth="0.25"/>  
188 - <bottomPen lineWidth="0.25"/>  
189 - <rightPen lineWidth="0.25"/>  
190 - </box>  
191 - <textElement textAlignment="Center" verticalAlignment="Middle">  
192 - <font isBold="true"/>  
193 - </textElement>  
194 - <text><![CDATA[Material]]></text>  
195 - </staticText>  
196 - <staticText>  
197 - <reportElement x="392" y="60" width="34" height="20" uuid="0a778ecf-f039-4110-a8a8-f8eec1375772"/>  
198 - <box>  
199 - <topPen lineWidth="0.25"/>  
200 - <leftPen lineWidth="0.25"/>  
201 - <bottomPen lineWidth="0.25"/>  
202 - <rightPen lineWidth="0.25"/>  
203 - </box>  
204 - <textElement textAlignment="Center" verticalAlignment="Middle">  
205 - <font isBold="true"/>  
206 - </textElement>  
207 - <text><![CDATA[U.M.]]></text>  
208 - </staticText>  
209 - <staticText>  
210 - <reportElement x="426" y="60" width="73" height="20" uuid="6e387ed7-7e66-4f5f-b4c3-0f6e7bbf945d"/>  
211 - <box>  
212 - <topPen lineWidth="0.25"/>  
213 - <leftPen lineWidth="0.25"/>  
214 - <bottomPen lineWidth="0.25"/>  
215 - <rightPen lineWidth="0.25"/>  
216 - </box>  
217 - <textElement textAlignment="Center" verticalAlignment="Middle">  
218 - <font isBold="true"/>  
219 - </textElement>  
220 - <text><![CDATA[Ponto Pedido]]></text>  
221 - </staticText>  
222 - <staticText>  
223 - <reportElement x="499" y="60" width="87" height="20" uuid="bf561b2e-b108-4bc8-b514-b5893671b31a"/>  
224 - <box>  
225 - <topPen lineWidth="0.25"/>  
226 - <leftPen lineWidth="0.25"/>  
227 - <bottomPen lineWidth="0.25"/>  
228 - <rightPen lineWidth="0.25"/>  
229 - </box>  
230 - <textElement textAlignment="Center" verticalAlignment="Middle">  
231 - <font isBold="true"/>  
232 - </textElement>  
233 - <text><![CDATA[Pr. Médio]]></text>  
234 - </staticText>  
235 - <staticText>  
236 - <reportElement x="586" y="60" width="91" height="20" uuid="e0fb4f52-2274-4d1f-b5cb-99c0ec5f6ca9"/>  
237 - <box>  
238 - <topPen lineWidth="0.25"/>  
239 - <leftPen lineWidth="0.25"/>  
240 - <bottomPen lineWidth="0.25"/>  
241 - <rightPen lineWidth="0.25"/>  
242 - </box>  
243 - <textElement textAlignment="Center" verticalAlignment="Middle">  
244 - <font isBold="true"/>  
245 - </textElement>  
246 - <text><![CDATA[Qtde. Estoque]]></text>  
247 - </staticText>  
248 - <staticText>  
249 - <reportElement x="677" y="60" width="125" height="20" uuid="7a726e49-7c2d-44ad-b1d5-ec574e22af67"/>  
250 - <box>  
251 - <topPen lineWidth="0.25"/>  
252 - <leftPen lineWidth="0.25"/>  
253 - <bottomPen lineWidth="0.25"/>  
254 - <rightPen lineWidth="0.25"/>  
255 - </box>  
256 - <textElement textAlignment="Center" verticalAlignment="Middle">  
257 - <font isBold="true"/>  
258 - </textElement>  
259 - <text><![CDATA[Vl. Estoque]]></text>  
260 - </staticText>  
261 - <textField>  
262 - <reportElement x="426" y="29" width="376" height="20" uuid="1359fcff-bc2f-4887-a758-663f02c62e26"/>  
263 - <textElement verticalAlignment="Middle" markup="styled"/>  
264 - <textFieldExpression><![CDATA["<b>Tipo do Relatório: </b>" + ( $P{isReferenciaAtual} ? "Parcial" : "Consolidado" )]]></textFieldExpression>  
265 - </textField>  
266 - </band>  
267 - </pageHeader>  
268 - <noData>  
269 - <band height="20">  
270 - <staticText>  
271 - <reportElement x="0" y="0" width="802" height="20" uuid="6231a352-8cc9-4707-94df-02bc89aae8dd"/>  
272 - <textElement textAlignment="Center" verticalAlignment="Middle">  
273 - <font isBold="true"/>  
274 - </textElement>  
275 - <text><![CDATA[Seção vazia]]></text>  
276 - </staticText>  
277 - </band>  
278 - </noData>  
279 -</jasperReport>  
cit-almoxarifado-web/target/classes/reports/SaidaMaterialPorContaSintetico.jrxml
@@ -1,458 +0,0 @@ @@ -1,458 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="entradaMaterialAnalitico" language="groovy" pageWidth="555" pageHeight="802" whenNoDataType="NoDataSection" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="151318af-6127-44c9-89d0-65848a7d6d80">  
3 - <property name="ireport.zoom" value="1.610510000000001"/>  
4 - <property name="ireport.x" value="0"/>  
5 - <property name="ireport.y" value="0"/>  
6 - <style name="table">  
7 - <box>  
8 - <pen lineWidth="1.0" lineColor="#000000"/>  
9 - </box>  
10 - </style>  
11 - <style name="table_TH" mode="Opaque" backcolor="#F0F8FF">  
12 - <box>  
13 - <pen lineWidth="0.5" lineColor="#000000"/>  
14 - </box>  
15 - </style>  
16 - <style name="table_CH" mode="Opaque" backcolor="#BFE1FF">  
17 - <box>  
18 - <pen lineWidth="0.5" lineColor="#000000"/>  
19 - </box>  
20 - </style>  
21 - <style name="table_TD" mode="Opaque" backcolor="#FFFFFF">  
22 - <box>  
23 - <pen lineWidth="0.5" lineColor="#000000"/>  
24 - </box>  
25 - </style>  
26 - <subDataset name="ResumoContabil" uuid="54575d46-53de-48e8-8e25-18a5b44299e8">  
27 - <parameter name="idOrganizacao" class="java.lang.Long"/>  
28 - <parameter name="dataInicio" class="java.lang.String" isForPrompting="false"/>  
29 - <parameter name="dataFim" class="java.lang.String" isForPrompting="false"/>  
30 - <queryString>  
31 - <![CDATA[select  
32 -codigocontacontabil,  
33 -contacontabil,  
34 -sum(quantidade * -1) as quantidade,  
35 -sum(quantidadedevolvida) as quantidadedevolvida,  
36 -sum(case when (valortotal < 0) then valortotal * -1 else valortotal end) as valortotal  
37 -from (  
38 -select  
39 -cc.codigo as codigocontacontabil,  
40 -cc.descricao as contacontabil,  
41 -sum(me.quantidade) as quantidade,  
42 -0 as quantidadedevolvida,  
43 -sum(me.valorfifo) as valortotal  
44 -from movimentoestoque me  
45 -inner join baixaalmoxarifadoitem bmi on me.baixaalmoxarifadoitem_id = bmi.id and bmi.dataestorno is null  
46 -inner join material m on me.material_id = m.id  
47 -inner join contacontabil cc on m.contacontabil_id = cc.id  
48 -where me.organizacao_id = $P{idOrganizacao} and me.datamovimento between (TO_TIMESTAMP($P{dataInicio},'YYYY-MM-DD HH24:MI:SS')::timestamp without time zone) and (TO_TIMESTAMP($P{dataFim},'YYYY-MM-DD HH24:MI:SS')::timestamp without time zone)  
49 -group by codigocontacontabil, contacontabil  
50 -union  
51 -select  
52 -cc.codigo as codigocontacontabil,  
53 -cc.descricao as contacontabil,  
54 -sum(me.quantidade) as quantidade,  
55 -sum(rci.quantidadedevolvida) as quantidadedevolvida,  
56 -sum(me.valorfifo) as valortotal  
57 -from movimentoestoque me  
58 -inner join atendimentoreqconsumoitem arci on me.atendimentoreqconsumoitem_id = arci.id  
59 -inner join requisicaoconsumoitem rci on arci.requisicaoconsumoitem_id = rci.id  
60 -inner join material m on me.material_id = m.id  
61 -inner join contacontabil cc on m.contacontabil_id = cc.id  
62 -where me.organizacao_id = $P{idOrganizacao} and me.datamovimento between (TO_TIMESTAMP($P{dataInicio},'YYYY-MM-DD HH24:MI:SS')::timestamp without time zone) and (TO_TIMESTAMP($P{dataFim},'YYYY-MM-DD HH24:MI:SS')::timestamp without time zone)  
63 -group by codigocontacontabil, contacontabil  
64 - ) view  
65 -group by codigocontacontabil, contacontabil  
66 -order by codigocontacontabil]]>  
67 - </queryString>  
68 - <field name="codigocontacontabil" class="java.lang.String"/>  
69 - <field name="contacontabil" class="java.lang.String"/>  
70 - <field name="quantidade" class="java.math.BigDecimal"/>  
71 - <field name="quantidadedevolvida" class="java.math.BigDecimal"/>  
72 - <field name="valortotal" class="java.math.BigDecimal"/>  
73 - <variable name="valorTotal" class="java.math.BigDecimal" calculation="Sum">  
74 - <variableExpression><![CDATA[$F{valortotal}]]></variableExpression>  
75 - </variable>  
76 - <variable name="quantidadeTotal" class="java.math.BigDecimal" calculation="Sum">  
77 - <variableExpression><![CDATA[$F{quantidade} - ( $F{quantidadedevolvida} != null ? $F{quantidadedevolvida} : 0 )]]></variableExpression>  
78 - </variable>  
79 - </subDataset>  
80 - <parameter name="idOrganizacao" class="java.lang.Long"/>  
81 - <parameter name="organizacaoNome" class="java.lang.String"/>  
82 - <parameter name="dataInicio" class="java.lang.String" isForPrompting="false"/>  
83 - <parameter name="dataFim" class="java.lang.String" isForPrompting="false"/>  
84 - <parameter name="codigoOrganizacao" class="java.lang.String"/>  
85 - <parameter name="siglaOrganizacao" class="java.lang.String"/>  
86 - <queryString>  
87 - <![CDATA[select  
88 -codigocontacontabil,  
89 -contacontabil,  
90 -codigomaterial,  
91 -material,  
92 -unidade,  
93 -sum(quantidade * -1) as quantidade,  
94 -sum(quantidadedevolvida) as quantidadedevolvida,  
95 -sum(case when (valortotal < 0) then valortotal * -1 else valortotal end) as valortotal  
96 -from (  
97 -select  
98 -cc.codigo as codigocontacontabil,  
99 -cc.descricao as contacontabil,  
100 -m.codigo as codigomaterial,  
101 -m.descricao as material,  
102 -u.sigla as unidade,  
103 -sum(me.quantidade) as quantidade,  
104 -0 as quantidadedevolvida,  
105 -sum(me.valorfifo) as valortotal  
106 -from movimentoestoque me  
107 -inner join baixaalmoxarifadoitem bmi on me.baixaalmoxarifadoitem_id = bmi.id and bmi.dataestorno is null  
108 -inner join material m on me.material_id = m.id  
109 -left join materialconsumo mc on m.id = mc.id  
110 -left join unidademedida u on mc.unidadearmazenamento_id = u.id  
111 -inner join contacontabil cc on m.contacontabil_id = cc.id  
112 -where me.organizacao_id = $P{idOrganizacao} and me.datamovimento between (TO_TIMESTAMP($P{dataInicio},'YYYY-MM-DD HH24:MI:SS')::timestamp without time zone) and (TO_TIMESTAMP($P{dataFim},'YYYY-MM-DD HH24:MI:SS')::timestamp without time zone) and me.datainativo is null  
113 -group by codigocontacontabil, contacontabil, material, codigomaterial, unidade  
114 -union  
115 -select  
116 -cc.codigo as codigocontacontabil,  
117 -cc.descricao as contacontabil,  
118 -m.codigo as codigomaterial,  
119 -m.descricao as material,  
120 -u.sigla as unidade,  
121 -sum(me.quantidade) as quantidade,  
122 -sum(rci.quantidadedevolvida) as quantidadedevolvida,  
123 -sum(me.valorfifo) as valortotal  
124 -from movimentoestoque me  
125 -inner join atendimentoreqconsumoitem arci on me.atendimentoreqconsumoitem_id = arci.id  
126 -inner join requisicaoconsumoitem rci on arci.requisicaoconsumoitem_id = rci.id  
127 -inner join material m on me.material_id = m.id  
128 -left join materialconsumo mc on m.id = mc.id  
129 -left join unidademedida u on mc.unidadearmazenamento_id = u.id  
130 -inner join contacontabil cc on m.contacontabil_id = cc.id  
131 -where me.organizacao_id = $P{idOrganizacao} and me.datamovimento between (TO_TIMESTAMP($P{dataInicio},'YYYY-MM-DD HH24:MI:SS')::timestamp without time zone) and (TO_TIMESTAMP($P{dataFim},'YYYY-MM-DD HH24:MI:SS')::timestamp without time zone) and me.datainativo is null  
132 -group by codigocontacontabil, contacontabil, material, codigomaterial, unidade  
133 - ) view  
134 -group by codigocontacontabil, contacontabil, material, unidade, codigomaterial  
135 -order by contacontabil, material]]>  
136 - </queryString>  
137 - <field name="codigocontacontabil" class="java.lang.String"/>  
138 - <field name="contacontabil" class="java.lang.String"/>  
139 - <field name="codigomaterial" class="java.lang.String"/>  
140 - <field name="material" class="java.lang.String"/>  
141 - <field name="unidade" class="java.lang.String"/>  
142 - <field name="quantidade" class="java.math.BigDecimal"/>  
143 - <field name="quantidadedevolvida" class="java.math.BigDecimal"/>  
144 - <field name="valortotal" class="java.math.BigDecimal"/>  
145 - <variable name="valorTotal" class="java.math.BigDecimal" resetType="Group" resetGroup="conta" calculation="Sum">  
146 - <variableExpression><![CDATA[$F{valortotal}]]></variableExpression>  
147 - </variable>  
148 - <variable name="quantidadetotal" class="java.math.BigDecimal" resetType="Group" resetGroup="conta" calculation="Sum">  
149 - <variableExpression><![CDATA[$F{quantidade} - ( $F{quantidadedevolvida} != null ? $F{quantidadedevolvida} : 0 )]]></variableExpression>  
150 - </variable>  
151 - <group name="conta">  
152 - <groupExpression><![CDATA[$F{codigocontacontabil}]]></groupExpression>  
153 - <groupHeader>  
154 - <band height="50">  
155 - <staticText>  
156 - <reportElement x="361" y="30" width="34" height="20" uuid="8420bff4-8deb-4208-be8f-b7919088f245"/>  
157 - <box>  
158 - <topPen lineWidth="0.25"/>  
159 - <leftPen lineWidth="0.25"/>  
160 - <bottomPen lineWidth="0.25"/>  
161 - <rightPen lineWidth="0.25"/>  
162 - </box>  
163 - <textElement textAlignment="Center" verticalAlignment="Middle">  
164 - <font isBold="true"/>  
165 - </textElement>  
166 - <text><![CDATA[U.M.]]></text>  
167 - </staticText>  
168 - <staticText>  
169 - <reportElement x="0" y="30" width="361" height="20" uuid="74728506-3c31-4062-81ad-1621e7b48b30"/>  
170 - <box>  
171 - <topPen lineWidth="0.25"/>  
172 - <leftPen lineWidth="0.25"/>  
173 - <bottomPen lineWidth="0.25"/>  
174 - <rightPen lineWidth="0.25"/>  
175 - </box>  
176 - <textElement textAlignment="Center" verticalAlignment="Middle">  
177 - <font isBold="true"/>  
178 - </textElement>  
179 - <text><![CDATA[Material]]></text>  
180 - </staticText>  
181 - <staticText>  
182 - <reportElement x="450" y="30" width="105" height="20" uuid="58addf31-22e0-4fc6-8aa3-11dd3c2975da"/>  
183 - <box>  
184 - <topPen lineWidth="0.25"/>  
185 - <leftPen lineWidth="0.25"/>  
186 - <bottomPen lineWidth="0.25"/>  
187 - <rightPen lineWidth="0.25"/>  
188 - </box>  
189 - <textElement textAlignment="Center" verticalAlignment="Middle">  
190 - <font isBold="true"/>  
191 - </textElement>  
192 - <text><![CDATA[Valor Total]]></text>  
193 - </staticText>  
194 - <textField pattern="dd/MM/yyyy" isBlankWhenNull="true">  
195 - <reportElement x="0" y="4" width="555" height="20" uuid="913623e2-794d-4a8f-9a4c-b78dece18853"/>  
196 - <textElement verticalAlignment="Middle" markup="styled"/>  
197 - <textFieldExpression><![CDATA["<b>Conta: </b>" + $F{codigocontacontabil} + " - "+ $F{contacontabil}]]></textFieldExpression>  
198 - </textField>  
199 - <staticText>  
200 - <reportElement x="395" y="30" width="55" height="20" uuid="11ec1c4b-48f9-4e80-9196-0076e7597cfa"/>  
201 - <box>  
202 - <topPen lineWidth="0.25"/>  
203 - <leftPen lineWidth="0.25"/>  
204 - <bottomPen lineWidth="0.25"/>  
205 - <rightPen lineWidth="0.25"/>  
206 - </box>  
207 - <textElement textAlignment="Center" verticalAlignment="Middle">  
208 - <font isBold="true"/>  
209 - </textElement>  
210 - <text><![CDATA[Qtd.]]></text>  
211 - </staticText>  
212 - </band>  
213 - </groupHeader>  
214 - <groupFooter>  
215 - <band height="20">  
216 - <textField pattern="#,##0.00" isBlankWhenNull="true">  
217 - <reportElement x="450" y="0" width="105" height="20" uuid="4bd447e3-9b4f-43b1-b343-5ecb6e5eb03a"/>  
218 - <box>  
219 - <topPen lineWidth="0.25"/>  
220 - <leftPen lineWidth="0.25"/>  
221 - <bottomPen lineWidth="0.25"/>  
222 - <rightPen lineWidth="0.25"/>  
223 - </box>  
224 - <textElement textAlignment="Right" verticalAlignment="Middle">  
225 - <font isBold="true"/>  
226 - <paragraph rightIndent="3"/>  
227 - </textElement>  
228 - <textFieldExpression><![CDATA[$V{valorTotal}]]></textFieldExpression>  
229 - </textField>  
230 - <staticText>  
231 - <reportElement x="0" y="0" width="395" height="20" uuid="6bf11dd0-ce31-4c23-93a7-e636f7b5da13"/>  
232 - <box>  
233 - <topPen lineWidth="0.25"/>  
234 - <leftPen lineWidth="0.25"/>  
235 - <bottomPen lineWidth="0.25"/>  
236 - <rightPen lineWidth="0.25"/>  
237 - </box>  
238 - <textElement textAlignment="Right" verticalAlignment="Middle">  
239 - <font isBold="true"/>  
240 - <paragraph leftIndent="3" rightIndent="3"/>  
241 - </textElement>  
242 - <text><![CDATA[Total Geral:]]></text>  
243 - </staticText>  
244 - <textField pattern="#,##0" isBlankWhenNull="true">  
245 - <reportElement x="395" y="0" width="55" height="20" uuid="d25ade49-bc44-46fe-a896-c021df10cb02"/>  
246 - <box>  
247 - <topPen lineWidth="0.25"/>  
248 - <leftPen lineWidth="0.25"/>  
249 - <bottomPen lineWidth="0.25"/>  
250 - <rightPen lineWidth="0.25"/>  
251 - </box>  
252 - <textElement textAlignment="Center" verticalAlignment="Middle">  
253 - <font isBold="true"/>  
254 - </textElement>  
255 - <textFieldExpression><![CDATA[$V{quantidadetotal}]]></textFieldExpression>  
256 - </textField>  
257 - </band>  
258 - </groupFooter>  
259 - </group>  
260 - <pageHeader>  
261 - <band height="64" splitType="Stretch">  
262 - <textField pattern="dd/MM/yyyy" isBlankWhenNull="true">  
263 - <reportElement x="0" y="29" width="556" height="20" uuid="a11fb5e7-b28e-4022-a14f-9208709dfb83"/>  
264 - <textElement verticalAlignment="Middle" markup="styled"/>  
265 - <textFieldExpression><![CDATA["<b>Período: </b>" +  
266 -new SimpleDateFormat("dd/MM/yyyy").format(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse($P{dataInicio}))  
267 -+ " a " +  
268 -new SimpleDateFormat("dd/MM/yyyy").format(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse($P{dataFim}))]]></textFieldExpression>  
269 - </textField>  
270 - <textField isBlankWhenNull="true">  
271 - <reportElement x="0" y="9" width="556" height="20" uuid="490340fb-99e7-48fc-b1b9-7992aac0d5a7"/>  
272 - <textElement verticalAlignment="Middle" markup="styled"/>  
273 - <textFieldExpression><![CDATA["<b>Unidade Gestora: </b>" + $P{codigoOrganizacao} + " - " + $P{organizacaoNome} + " - " + $P{siglaOrganizacao}]]></textFieldExpression>  
274 - </textField>  
275 - </band>  
276 - </pageHeader>  
277 - <detail>  
278 - <band height="20" splitType="Stretch">  
279 - <textField isBlankWhenNull="true">  
280 - <reportElement x="361" y="0" width="34" height="20" uuid="933bbdae-7c80-4ef6-8ba6-13a377037bc6"/>  
281 - <box>  
282 - <topPen lineWidth="0.25"/>  
283 - <leftPen lineWidth="0.25"/>  
284 - <bottomPen lineWidth="0.25"/>  
285 - <rightPen lineWidth="0.25"/>  
286 - </box>  
287 - <textElement textAlignment="Center" verticalAlignment="Middle"/>  
288 - <textFieldExpression><![CDATA[$F{unidade}]]></textFieldExpression>  
289 - </textField>  
290 - <textField pattern="#,##0.00" isBlankWhenNull="true">  
291 - <reportElement x="450" y="0" width="105" height="20" uuid="4ba98264-d28d-4d00-8918-dbf35d3f4cc5"/>  
292 - <box>  
293 - <topPen lineWidth="0.25"/>  
294 - <leftPen lineWidth="0.25"/>  
295 - <bottomPen lineWidth="0.25"/>  
296 - <rightPen lineWidth="0.25"/>  
297 - </box>  
298 - <textElement textAlignment="Right" verticalAlignment="Middle">  
299 - <paragraph rightIndent="3"/>  
300 - </textElement>  
301 - <textFieldExpression><![CDATA[$F{valortotal}]]></textFieldExpression>  
302 - </textField>  
303 - <textField pattern="#,##0" isBlankWhenNull="true">  
304 - <reportElement x="395" y="0" width="55" height="20" uuid="5dc02ccb-2bfb-474c-ab15-e976979c6ee8"/>  
305 - <box>  
306 - <topPen lineWidth="0.25"/>  
307 - <leftPen lineWidth="0.25"/>  
308 - <bottomPen lineWidth="0.25"/>  
309 - <rightPen lineWidth="0.25"/>  
310 - </box>  
311 - <textElement textAlignment="Center" verticalAlignment="Middle"/>  
312 - <textFieldExpression><![CDATA[$F{quantidade} - ( $F{quantidadedevolvida} != null ? $F{quantidadedevolvida} : 0 )]]></textFieldExpression>  
313 - </textField>  
314 - <textField isBlankWhenNull="true">  
315 - <reportElement x="0" y="0" width="361" height="20" uuid="10c2f1c3-a7a1-47b9-9859-11bf5e3821fb"/>  
316 - <box>  
317 - <topPen lineWidth="0.25"/>  
318 - <leftPen lineWidth="0.25"/>  
319 - <bottomPen lineWidth="0.25"/>  
320 - <rightPen lineWidth="0.25"/>  
321 - </box>  
322 - <textElement verticalAlignment="Middle">  
323 - <paragraph leftIndent="3" rightIndent="3"/>  
324 - </textElement>  
325 - <textFieldExpression><![CDATA[($F{codigomaterial} != null ? $F{codigomaterial} + " - " : " " ) + $F{material}]]></textFieldExpression>  
326 - </textField>  
327 - </band>  
328 - </detail>  
329 - <summary>  
330 - <band height="108">  
331 - <staticText>  
332 - <reportElement x="0" y="20" width="555" height="20" uuid="aac0249a-fe4e-4204-a358-3957983fe4b6"/>  
333 - <textElement textAlignment="Center" verticalAlignment="Middle">  
334 - <font isBold="true"/>  
335 - </textElement>  
336 - <text><![CDATA[Resumo Contábil]]></text>  
337 - </staticText>  
338 - <componentElement>  
339 - <reportElement key="table 1" x="0" y="56" width="555" height="52" uuid="ae768d4c-2773-4dbb-95f1-1244eb2b5f8f"/>  
340 - <jr:table xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd">  
341 - <datasetRun subDataset="ResumoContabil" uuid="e8ff5844-eba5-4da5-9ce2-60b7fce5acd1">  
342 - <datasetParameter name="idOrganizacao">  
343 - <datasetParameterExpression><![CDATA[$P{idOrganizacao}]]></datasetParameterExpression>  
344 - </datasetParameter>  
345 - <datasetParameter name="dataInicio">  
346 - <datasetParameterExpression><![CDATA[$P{dataInicio}]]></datasetParameterExpression>  
347 - </datasetParameter>  
348 - <datasetParameter name="dataFim">  
349 - <datasetParameterExpression><![CDATA[$P{dataFim}]]></datasetParameterExpression>  
350 - </datasetParameter>  
351 - <datasetParameter name="REPORT_CONNECTION">  
352 - <datasetParameterExpression><![CDATA[$P{REPORT_CONNECTION}]]></datasetParameterExpression>  
353 - </datasetParameter>  
354 - <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>  
355 - </datasetRun>  
356 - <jr:column width="390" uuid="0da8090c-a4f9-4894-83d3-b907fbc5d85d">  
357 - <jr:columnHeader style="table_TD" height="30" rowSpan="1">  
358 - <staticText>  
359 - <reportElement x="0" y="0" width="390" height="30" uuid="b7cc711f-4823-446b-ad4d-9fcb44a2c624"/>  
360 - <textElement textAlignment="Center" verticalAlignment="Middle">  
361 - <font isBold="true"/>  
362 - </textElement>  
363 - <text><![CDATA[Conta]]></text>  
364 - </staticText>  
365 - </jr:columnHeader>  
366 - <jr:columnFooter style="table_TD" height="30" rowSpan="1">  
367 - <staticText>  
368 - <reportElement x="0" y="0" width="390" height="30" uuid="39342f0f-3b75-4c0d-91dd-122137ca9372"/>  
369 - <textElement textAlignment="Right" verticalAlignment="Middle">  
370 - <font isBold="true"/>  
371 - <paragraph rightIndent="2"/>  
372 - </textElement>  
373 - <text><![CDATA[Total: ]]></text>  
374 - </staticText>  
375 - </jr:columnFooter>  
376 - <jr:detailCell style="table_TD" height="20" rowSpan="1">  
377 - <textField isBlankWhenNull="true">  
378 - <reportElement x="0" y="0" width="390" height="20" uuid="70fd2d43-a64d-4b34-87c4-dc765488af0f"/>  
379 - <textElement verticalAlignment="Middle">  
380 - <paragraph leftIndent="2" rightIndent="2"/>  
381 - </textElement>  
382 - <textFieldExpression><![CDATA[$F{codigocontacontabil} + " - " + $F{contacontabil}]]></textFieldExpression>  
383 - </textField>  
384 - </jr:detailCell>  
385 - </jr:column>  
386 - <jr:column width="55" uuid="140c4da5-314e-43bb-ba0a-e2418cbe2521">  
387 - <jr:columnHeader style="table_TD" height="30" rowSpan="1">  
388 - <staticText>  
389 - <reportElement x="0" y="0" width="55" height="30" uuid="e4646daf-5944-4921-a83b-2588f3834d99"/>  
390 - <textElement textAlignment="Center" verticalAlignment="Middle">  
391 - <font isBold="true"/>  
392 - </textElement>  
393 - <text><![CDATA[Qtd]]></text>  
394 - </staticText>  
395 - </jr:columnHeader>  
396 - <jr:columnFooter style="table_TD" height="30" rowSpan="1">  
397 - <textField pattern="###0">  
398 - <reportElement x="0" y="0" width="55" height="30" uuid="a60a3fc8-e959-4bd5-946b-0373bef66e60"/>  
399 - <textElement textAlignment="Center" verticalAlignment="Middle">  
400 - <font isBold="true"/>  
401 - </textElement>  
402 - <textFieldExpression><![CDATA[$V{quantidadeTotal}]]></textFieldExpression>  
403 - </textField>  
404 - </jr:columnFooter>  
405 - <jr:detailCell style="table_TD" height="20" rowSpan="1">  
406 - <textField pattern="###0" isBlankWhenNull="true">  
407 - <reportElement x="0" y="0" width="55" height="20" uuid="67684968-0f18-4176-9583-7622809f5a95"/>  
408 - <textElement textAlignment="Center" verticalAlignment="Middle"/>  
409 - <textFieldExpression><![CDATA[$F{quantidade} - ( $F{quantidadedevolvida} != null ? $F{quantidadedevolvida} : 0 )]]></textFieldExpression>  
410 - </textField>  
411 - </jr:detailCell>  
412 - </jr:column>  
413 - <jr:column width="109" uuid="242cbeaa-f734-4ccb-9c59-9f3f1222cc85">  
414 - <jr:columnHeader style="table_TD" height="30" rowSpan="1">  
415 - <staticText>  
416 - <reportElement x="0" y="0" width="109" height="30" uuid="8db536a3-f788-4010-900d-f65b7ad48328"/>  
417 - <textElement textAlignment="Center" verticalAlignment="Middle">  
418 - <font isBold="true"/>  
419 - </textElement>  
420 - <text><![CDATA[Valor]]></text>  
421 - </staticText>  
422 - </jr:columnHeader>  
423 - <jr:columnFooter style="table_TD" height="30" rowSpan="1">  
424 - <textField pattern="#,##0.00">  
425 - <reportElement x="0" y="0" width="109" height="30" uuid="ec79657e-37b2-4d8d-a27c-a588c9a219ee"/>  
426 - <textElement textAlignment="Right" verticalAlignment="Middle">  
427 - <font isBold="true"/>  
428 - <paragraph rightIndent="3"/>  
429 - </textElement>  
430 - <textFieldExpression><![CDATA[$V{valorTotal}]]></textFieldExpression>  
431 - </textField>  
432 - </jr:columnFooter>  
433 - <jr:detailCell style="table_TD" height="20" rowSpan="1">  
434 - <textField pattern="#,##0.00" isBlankWhenNull="true">  
435 - <reportElement x="0" y="0" width="109" height="20" uuid="57463e0c-3d9b-45b7-b9bc-06643dc5abd0"/>  
436 - <textElement textAlignment="Right" verticalAlignment="Middle">  
437 - <paragraph rightIndent="3"/>  
438 - </textElement>  
439 - <textFieldExpression><![CDATA[$F{valortotal}]]></textFieldExpression>  
440 - </textField>  
441 - </jr:detailCell>  
442 - </jr:column>  
443 - </jr:table>  
444 - </componentElement>  
445 - </band>  
446 - </summary>  
447 - <noData>  
448 - <band height="20">  
449 - <staticText>  
450 - <reportElement x="0" y="0" width="555" height="20" uuid="f3a9d2a5-bc20-43c5-a1a1-b8da5891a858"/>  
451 - <textElement textAlignment="Center" verticalAlignment="Middle">  
452 - <font isBold="true"/>  
453 - </textElement>  
454 - <text><![CDATA[Seção vazia]]></text>  
455 - </staticText>  
456 - </band>  
457 - </noData>  
458 -</jasperReport>  
cit-almoxarifado-web/target/classes/reports/consumoAlmoxarifado.jrxml
@@ -1,303 +0,0 @@ @@ -1,303 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="consumoAlmoxarifado" language="groovy" pageWidth="555" pageHeight="802" whenNoDataType="NoDataSection" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="16b0028f-e4d1-4c28-96d2-f9a51170b4df">  
3 - <property name="ireport.zoom" value="2.0"/>  
4 - <property name="ireport.x" value="0"/>  
5 - <property name="ireport.y" value="0"/>  
6 - <parameter name="organizacaoNome" class="java.lang.String" isForPrompting="false"/>  
7 - <parameter name="dataInicio" class="java.lang.String" isForPrompting="false"/>  
8 - <parameter name="dataFim" class="java.lang.String" isForPrompting="false"/>  
9 - <parameter name="idAlmoxarifado" class="java.lang.Long" isForPrompting="false"/>  
10 - <parameter name="idsMateriais" class="java.util.Collection" isForPrompting="false"/>  
11 - <parameter name="filtroMateriais" class="java.lang.String">  
12 - <defaultValueExpression><![CDATA[($P{idsMateriais} == null ? "" : " and $X{IN,material.id," + $P{idsMateriais} +"}" )]]></defaultValueExpression>  
13 - </parameter>  
14 - <queryString>  
15 - <![CDATA[select nomeMaterial,  
16 - ano,  
17 - mes,  
18 - sum(quantidadeEntrada) as quantidadeEntrada,  
19 - sum(quantidadeDevolucao) as quantidadeDevolucao,  
20 - sum(quantidadeRequisicao) as quantidadeRequisicao,  
21 - sum(quantidadeBaixa) as quantidadeBaixa  
22 -from  
23 - (  
24 - select m.descricao as nomeMaterial,  
25 - to_char(me.datamovimento, 'YYYY') as ano,  
26 - to_char(me.datamovimento, 'MM') as mes,  
27 - case when (entradaalmoxarifadoitem_id is null) then 0 else me.quantidade end as quantidadeEntrada,  
28 - case when (devolucaoitem_id is null) then 0 else me.quantidade end as quantidadeDevolucao,  
29 - 0 as quantidadeRequisicao,  
30 - case when (baixaalmoxarifadoitem_id is null) then 0 else me.quantidade end as quantidadeBaixa  
31 - from movimentoestoque me  
32 - inner join material m on m.id = me.material_id  
33 - inner join dominio d on d.id = me.tipomovimento_id  
34 - inner join localestoque le on le.id = me.localestoque_id  
35 - where le.almoxarifado_id = $P{idAlmoxarifado} and d.codigo in (1,2,4) and me.datamovimento between (TO_TIMESTAMP($P{dataInicio},'YYYY-MM-DD HH24:MI:SS')::timestamp without time zone) and (TO_TIMESTAMP($P{dataFim},'YYYY-MM-DD HH24:MI:SS')::timestamp without time zone) and me.datainativo is null $P!{filtroMateriais}  
36 - union  
37 - select  
38 - material.descricao as nomeMaterial,  
39 - to_char(atendimentorequisicaoconsumo.dataatendimento, 'YYYY') as ano,  
40 - to_char(atendimentorequisicaoconsumo.dataatendimento, 'MM') as mes,  
41 - 0 as quantidadeEntrada,  
42 - 0 as quantidadeDevolucao,  
43 - requisicaoconsumoitem.quantidadeatendida as quantidadeRequisicao,  
44 - 0 as quantidadeBaixa  
45 - from atendimentorequisicaoconsumo atendimentorequisicaoconsumo  
46 - inner join requisicaoconsumo requisicaoconsumo on atendimentorequisicaoconsumo.requisicaoconsumo_id =requisicaoconsumo.id  
47 - inner join requisicaoconsumoitem requisicaoconsumoitem on requisicaoconsumo.id = requisicaoconsumoitem.requisicaoconsumo_id  
48 - inner join atendimentoreqconsumoitem atendimentoreqconsumoitem on requisicaoconsumoitem.id = atendimentoreqconsumoitem.requisicaoconsumoitem_id  
49 - inner join material material on requisicaoconsumoitem.materialconsumo_id = material.id  
50 -where requisicaoconsumo.almoxarifado_id = $P{idAlmoxarifado} and atendimentorequisicaoconsumo.dataatendimento between (TO_TIMESTAMP($P{dataInicio},'YYYY-MM-DD HH24:MI:SS')::timestamp without time zone) and (TO_TIMESTAMP($P{dataFim},'YYYY-MM-DD HH24:MI:SS')::timestamp without time zone) and atendimentorequisicaoconsumo.datainativo is null $P!{filtroMateriais}  
51 - ) view  
52 -group by nomeMaterial, ano, mes  
53 -order by nomeMaterial, ano, mes]]>  
54 - </queryString>  
55 - <field name="nomematerial" class="java.lang.String"/>  
56 - <field name="ano" class="java.lang.String"/>  
57 - <field name="mes" class="java.lang.String"/>  
58 - <field name="quantidadeentrada" class="java.math.BigDecimal"/>  
59 - <field name="quantidadedevolucao" class="java.math.BigDecimal"/>  
60 - <field name="quantidaderequisicao" class="java.math.BigDecimal"/>  
61 - <field name="quantidadebaixa" class="java.math.BigDecimal"/>  
62 - <group name="group_material">  
63 - <groupExpression><![CDATA[$F{nomematerial}]]></groupExpression>  
64 - <groupHeader>  
65 - <band height="75">  
66 - <textField>  
67 - <reportElement uuid="1c95fe7b-14fc-4a54-97f7-b62f274a1f33" x="0" y="16" width="555" height="20"/>  
68 - <textElement markup="styled">  
69 - <paragraph leftIndent="3"/>  
70 - </textElement>  
71 - <textFieldExpression><![CDATA[( $F{nomematerial} != null ? "<b>Material: </b>"+ $F{nomematerial} : "" )]]></textFieldExpression>  
72 - </textField>  
73 - <staticText>  
74 - <reportElement uuid="c966cc02-448a-4582-809e-53b94149a4bd" x="0" y="55" width="46" height="20"/>  
75 - <box>  
76 - <topPen lineWidth="0.25"/>  
77 - <leftPen lineWidth="0.25"/>  
78 - <bottomPen lineWidth="0.25"/>  
79 - <rightPen lineWidth="0.25"/>  
80 - </box>  
81 - <textElement textAlignment="Center" verticalAlignment="Middle">  
82 - <font isBold="true"/>  
83 - </textElement>  
84 - <text><![CDATA[Ano]]></text>  
85 - </staticText>  
86 - <staticText>  
87 - <reportElement uuid="e8bced89-1080-4c7c-94c6-fe8521ac2add" x="46" y="55" width="47" height="20"/>  
88 - <box>  
89 - <topPen lineWidth="0.25"/>  
90 - <leftPen lineWidth="0.25"/>  
91 - <bottomPen lineWidth="0.25"/>  
92 - <rightPen lineWidth="0.25"/>  
93 - </box>  
94 - <textElement textAlignment="Center" verticalAlignment="Middle">  
95 - <font isBold="true"/>  
96 - </textElement>  
97 - <text><![CDATA[Mês]]></text>  
98 - </staticText>  
99 - <staticText>  
100 - <reportElement uuid="164bb1d3-1de6-427e-b02c-8f94d49d5bef" x="93" y="55" width="113" height="20"/>  
101 - <box>  
102 - <topPen lineWidth="0.25"/>  
103 - <leftPen lineWidth="0.25"/>  
104 - <bottomPen lineWidth="0.25"/>  
105 - <rightPen lineWidth="0.25"/>  
106 - </box>  
107 - <textElement textAlignment="Center" verticalAlignment="Middle">  
108 - <font isBold="true"/>  
109 - </textElement>  
110 - <text><![CDATA[Aquisição]]></text>  
111 - </staticText>  
112 - <staticText>  
113 - <reportElement uuid="3770cb36-3c52-4fc5-9713-8dc2c46c72c7" x="206" y="55" width="115" height="20"/>  
114 - <box>  
115 - <topPen lineWidth="0.25"/>  
116 - <leftPen lineWidth="0.25"/>  
117 - <bottomPen lineWidth="0.25"/>  
118 - <rightPen lineWidth="0.25"/>  
119 - </box>  
120 - <textElement textAlignment="Center" verticalAlignment="Middle">  
121 - <font isBold="true"/>  
122 - </textElement>  
123 - <text><![CDATA[Devolução]]></text>  
124 - </staticText>  
125 - <staticText>  
126 - <reportElement uuid="effed099-29e5-442a-9049-7f238bdaefa7" x="321" y="55" width="115" height="20"/>  
127 - <box>  
128 - <topPen lineWidth="0.25"/>  
129 - <leftPen lineWidth="0.25"/>  
130 - <bottomPen lineWidth="0.25"/>  
131 - <rightPen lineWidth="0.25"/>  
132 - </box>  
133 - <textElement textAlignment="Center" verticalAlignment="Middle">  
134 - <font isBold="true"/>  
135 - </textElement>  
136 - <text><![CDATA[Requisição]]></text>  
137 - </staticText>  
138 - <staticText>  
139 - <reportElement uuid="352e2222-706d-4d58-9a83-f72a06e66370" x="436" y="55" width="119" height="20"/>  
140 - <box>  
141 - <topPen lineWidth="0.25"/>  
142 - <leftPen lineWidth="0.25"/>  
143 - <bottomPen lineWidth="0.25"/>  
144 - <rightPen lineWidth="0.25"/>  
145 - </box>  
146 - <textElement textAlignment="Center" verticalAlignment="Middle">  
147 - <font isBold="true"/>  
148 - </textElement>  
149 - <text><![CDATA[Baixa]]></text>  
150 - </staticText>  
151 - <staticText>  
152 - <reportElement uuid="c6884041-a180-464b-a06a-740ae159e591" x="93" y="35" width="228" height="20"/>  
153 - <box>  
154 - <topPen lineWidth="0.25"/>  
155 - <leftPen lineWidth="0.25"/>  
156 - <bottomPen lineWidth="0.25"/>  
157 - <rightPen lineWidth="0.25"/>  
158 - </box>  
159 - <textElement textAlignment="Center" verticalAlignment="Middle">  
160 - <font isBold="true"/>  
161 - </textElement>  
162 - <text><![CDATA[Entrada]]></text>  
163 - </staticText>  
164 - <staticText>  
165 - <reportElement uuid="2095d6a8-4556-4fd9-b307-dbf7b5e22acf" x="321" y="35" width="234" height="20"/>  
166 - <box>  
167 - <topPen lineWidth="0.25"/>  
168 - <leftPen lineWidth="0.25"/>  
169 - <bottomPen lineWidth="0.25"/>  
170 - <rightPen lineWidth="0.25"/>  
171 - </box>  
172 - <textElement textAlignment="Center" verticalAlignment="Middle">  
173 - <font isBold="true"/>  
174 - </textElement>  
175 - <text><![CDATA[Saída]]></text>  
176 - </staticText>  
177 - <staticText>  
178 - <reportElement uuid="ba8a20b6-916b-4981-8d1d-58da926577fb" x="0" y="35" width="93" height="20"/>  
179 - <box>  
180 - <topPen lineWidth="0.25"/>  
181 - <leftPen lineWidth="0.25"/>  
182 - <bottomPen lineWidth="0.25"/>  
183 - <rightPen lineWidth="0.25"/>  
184 - </box>  
185 - <textElement textAlignment="Center" verticalAlignment="Middle">  
186 - <font isBold="true"/>  
187 - </textElement>  
188 - <text><![CDATA[Referência]]></text>  
189 - </staticText>  
190 - </band>  
191 - </groupHeader>  
192 - </group>  
193 - <pageHeader>  
194 - <band height="31" splitType="Stretch">  
195 - <textField>  
196 - <reportElement uuid="0d306098-c2dd-4b78-a930-18635e8981d9" x="350" y="11" width="205" height="20"/>  
197 - <textElement markup="styled">  
198 - <paragraph leftIndent="3"/>  
199 - </textElement>  
200 - <textFieldExpression><![CDATA["<b>Período: </b>" +  
201 -new SimpleDateFormat("dd/MM/yyyy").format(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse($P{dataInicio}))  
202 -+ " a " +  
203 -new SimpleDateFormat("dd/MM/yyyy").format(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse($P{dataFim}))]]></textFieldExpression>  
204 - </textField>  
205 - <textField>  
206 - <reportElement uuid="68205108-b0cf-4b7d-a58a-5e571970955b" x="0" y="11" width="350" height="20"/>  
207 - <textElement markup="styled">  
208 - <paragraph leftIndent="3"/>  
209 - </textElement>  
210 - <textFieldExpression><![CDATA["<b>Almoxarifado: </b>" + $P{organizacaoNome}]]></textFieldExpression>  
211 - </textField>  
212 - </band>  
213 - </pageHeader>  
214 - <detail>  
215 - <band height="20" splitType="Stretch">  
216 - <textField>  
217 - <reportElement uuid="80f075f5-2b87-4a67-a933-e4aeb469e8b4" x="0" y="0" width="46" height="20"/>  
218 - <box>  
219 - <topPen lineWidth="0.25"/>  
220 - <leftPen lineWidth="0.25"/>  
221 - <bottomPen lineWidth="0.25"/>  
222 - <rightPen lineWidth="0.25"/>  
223 - </box>  
224 - <textElement textAlignment="Center" verticalAlignment="Middle"/>  
225 - <textFieldExpression><![CDATA[$F{ano}]]></textFieldExpression>  
226 - </textField>  
227 - <textField>  
228 - <reportElement uuid="914b8e4d-4f19-44c3-885a-d9c7aa03020c" x="46" y="0" width="47" height="20"/>  
229 - <box>  
230 - <topPen lineWidth="0.25"/>  
231 - <leftPen lineWidth="0.25"/>  
232 - <bottomPen lineWidth="0.25"/>  
233 - <rightPen lineWidth="0.25"/>  
234 - </box>  
235 - <textElement textAlignment="Center" verticalAlignment="Middle"/>  
236 - <textFieldExpression><![CDATA[$F{mes}]]></textFieldExpression>  
237 - </textField>  
238 - <textField pattern="#,##0.00">  
239 - <reportElement uuid="3914fa52-02d8-42f6-87dc-3aa10df7d573" x="206" y="0" width="115" height="20"/>  
240 - <box>  
241 - <topPen lineWidth="0.25"/>  
242 - <leftPen lineWidth="0.25"/>  
243 - <bottomPen lineWidth="0.25"/>  
244 - <rightPen lineWidth="0.25"/>  
245 - </box>  
246 - <textElement textAlignment="Center" verticalAlignment="Middle">  
247 - <paragraph rightIndent="3"/>  
248 - </textElement>  
249 - <textFieldExpression><![CDATA[$F{quantidadedevolucao}]]></textFieldExpression>  
250 - </textField>  
251 - <textField pattern="#,##0.00">  
252 - <reportElement uuid="64b534e8-16b7-4444-9d56-37cf3d6d514f" x="321" y="0" width="115" height="20"/>  
253 - <box>  
254 - <topPen lineWidth="0.25"/>  
255 - <leftPen lineWidth="0.25"/>  
256 - <bottomPen lineWidth="0.25"/>  
257 - <rightPen lineWidth="0.25"/>  
258 - </box>  
259 - <textElement textAlignment="Center" verticalAlignment="Middle">  
260 - <paragraph rightIndent="3"/>  
261 - </textElement>  
262 - <textFieldExpression><![CDATA[$F{quantidaderequisicao}]]></textFieldExpression>  
263 - </textField>  
264 - <textField pattern="#,##0.00">  
265 - <reportElement uuid="1a62346e-a9f8-4f8f-80ca-e8ef067a577c" x="93" y="0" width="113" height="20"/>  
266 - <box>  
267 - <topPen lineWidth="0.25"/>  
268 - <leftPen lineWidth="0.25"/>  
269 - <bottomPen lineWidth="0.25"/>  
270 - <rightPen lineWidth="0.25"/>  
271 - </box>  
272 - <textElement textAlignment="Center" verticalAlignment="Middle">  
273 - <paragraph rightIndent="3"/>  
274 - </textElement>  
275 - <textFieldExpression><![CDATA[$F{quantidadeentrada}]]></textFieldExpression>  
276 - </textField>  
277 - <textField pattern="#,##0.00">  
278 - <reportElement uuid="5c4f5f35-dbc0-45d2-b46b-989b9adc51ec" x="436" y="0" width="119" height="20"/>  
279 - <box>  
280 - <topPen lineWidth="0.25"/>  
281 - <leftPen lineWidth="0.25"/>  
282 - <bottomPen lineWidth="0.25"/>  
283 - <rightPen lineWidth="0.25"/>  
284 - </box>  
285 - <textElement textAlignment="Center" verticalAlignment="Middle">  
286 - <paragraph rightIndent="3"/>  
287 - </textElement>  
288 - <textFieldExpression><![CDATA[$F{quantidadebaixa}]]></textFieldExpression>  
289 - </textField>  
290 - </band>  
291 - </detail>  
292 - <noData>  
293 - <band height="20">  
294 - <staticText>  
295 - <reportElement uuid="6c321c4d-3031-4b30-9a75-e9f165c635af" x="0" y="0" width="555" height="20"/>  
296 - <textElement textAlignment="Center" verticalAlignment="Middle">  
297 - <font isBold="true"/>  
298 - </textElement>  
299 - <text><![CDATA[Seção vazia]]></text>  
300 - </staticText>  
301 - </band>  
302 - </noData>  
303 -</jasperReport>  
cit-almoxarifado-web/target/classes/reports/entradaAlmoxarifado.jrxml
@@ -1,343 +0,0 @@ @@ -1,343 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="entradaAlmoxarifado" language="groovy" pageWidth="802" pageHeight="555" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="466976dd-5993-46ca-9d09-1a18f2ff2878">  
3 - <property name="ireport.zoom" value="1.0"/>  
4 - <property name="ireport.x" value="0"/>  
5 - <property name="ireport.y" value="0"/>  
6 - <style name="table">  
7 - <box>  
8 - <pen lineWidth="1.0" lineColor="#000000"/>  
9 - </box>  
10 - </style>  
11 - <style name="table_TH" mode="Opaque" backcolor="#F0F8FF">  
12 - <box>  
13 - <pen lineWidth="0.5" lineColor="#000000"/>  
14 - </box>  
15 - </style>  
16 - <style name="table_CH" mode="Opaque" backcolor="#BFE1FF">  
17 - <box>  
18 - <pen lineWidth="0.5" lineColor="#000000"/>  
19 - </box>  
20 - </style>  
21 - <style name="table_TD" mode="Opaque" backcolor="#FFFFFF">  
22 - <pen lineWidth="0.0"/>  
23 - <box>  
24 - <pen lineWidth="0.5" lineColor="#000000"/>  
25 - <topPen lineWidth="0.25"/>  
26 - <leftPen lineWidth="0.25"/>  
27 - <bottomPen lineWidth="0.25"/>  
28 - <rightPen lineWidth="0.25"/>  
29 - </box>  
30 - </style>  
31 - <subDataset name="New Dataset 1" uuid="6dbeeb5f-34bd-4536-9c6f-e65cbaf8240a">  
32 - <queryString language="SQL">  
33 - <![CDATA[select ea.id as notaEntrada,  
34 - a.datacontabil as dataContabil,  
35 - d.nome as tipoEntrada,  
36 - p.nome as fornecedor,  
37 - eai.quantidade as quantidade,  
38 - eai.valorunitario as valorUnitario,  
39 - eai.valortotal as valorTotal  
40 - from entradaalmoxarifado ea  
41 - inner join entrada a on a.id = ea.id  
42 - inner join dominio d on d.id = a.dominiotipoentrada_id  
43 - inner join pessoa p on p.id = a.fornecedor_id  
44 - inner join entradaalmoxarifadoitem eai on eai.entrada_id = ea.id]]>  
45 - </queryString>  
46 - <field name="notaentrada" class="java.lang.Long"/>  
47 - <field name="datacontabil" class="java.sql.Timestamp"/>  
48 - <field name="tipoentrada" class="java.lang.String"/>  
49 - <field name="fornecedor" class="java.lang.String"/>  
50 - <field name="quantidade" class="java.math.BigDecimal"/>  
51 - <field name="valorunitario" class="java.math.BigDecimal"/>  
52 - <field name="valortotal" class="java.math.BigDecimal"/>  
53 - </subDataset>  
54 - <parameter name="organizacaoNome" class="java.lang.String"/>  
55 - <parameter name="dataInicio" class="java.lang.String"/>  
56 - <parameter name="dataFim" class="java.lang.String"/>  
57 - <parameter name="idsMateriais" class="java.util.Collection"/>  
58 - <parameter name="idAlmoxarifado" class="java.lang.Long" isForPrompting="false"/>  
59 - <parameter name="idTipoEntrada" class="java.lang.Long" isForPrompting="false"/>  
60 - <parameter name="nomeTipoEntrada" class="java.lang.String"/>  
61 - <parameter name="idTipoRecebimento" class="java.lang.Long" isForPrompting="false"/>  
62 - <parameter name="nomeTipoRecebimento" class="java.lang.String"/>  
63 - <parameter name="query_filtro_tipoEntrada" class="java.lang.Long" isForPrompting="false">  
64 - <defaultValueExpression><![CDATA[($P{idTipoEntrada} == null ? " " : " and a.dominiotipoentrada_id = " + $P{idTipoEntrada} + " ")]]></defaultValueExpression>  
65 - </parameter>  
66 - <parameter name="query_filtro_tipoRecebimento" class="java.lang.String" isForPrompting="false">  
67 - <defaultValueExpression><![CDATA[($P{idTipoRecebimento} == null ? " " : " and a.dominiotiporecebimento_id = " + $P{idTipoRecebimento} + " ")]]></defaultValueExpression>  
68 - </parameter>  
69 - <queryString>  
70 - <![CDATA[select m.descricao as nomeMaterial,  
71 - ea.id as notaEntrada,  
72 - a.datacontabil as dataContabil,  
73 - d.descricao as tipoEntrada,  
74 - p.nome as fornecedor,  
75 - eai.quantidade as quantidade,  
76 - eai.valorunitario as valorUnitario,  
77 - eai.valortotal as valorTotal  
78 -from entradaalmoxarifado ea  
79 - inner join entrada a on a.id = ea.id and a.datainativo is null and a.datarecebimento between (TO_TIMESTAMP($P{dataInicio},'YYYY-MM-DD HH24:MI:SS')::timestamp without time zone) and (TO_TIMESTAMP($P{dataFim},'YYYY-MM-DD HH24:MI:SS')::timestamp without time zone) $P!{query_filtro_tipoEntrada} $P!{query_filtro_tipoRecebimento}  
80 - inner join dominio d on d.id = a.dominiotipoentrada_id  
81 - inner join parceiro parceiro on parceiro.id = a.fornecedor_id  
82 - inner join pessoa p on p.id = parceiro.pessoa_id  
83 - inner join entradaalmoxarifadoitem eai on eai.entrada_id = ea.id  
84 - inner join material m on m.id = eai.material_id and $X{IN,m.id,idsMateriais}  
85 -where ea.almoxarifado_id = $P{idAlmoxarifado}  
86 -order by nomeMaterial]]>  
87 - </queryString>  
88 - <field name="nomematerial" class="java.lang.String"/>  
89 - <field name="notaentrada" class="java.lang.Long"/>  
90 - <field name="datacontabil" class="java.sql.Timestamp"/>  
91 - <field name="tipoentrada" class="java.lang.String"/>  
92 - <field name="fornecedor" class="java.lang.String"/>  
93 - <field name="quantidade" class="java.math.BigDecimal"/>  
94 - <field name="valorunitario" class="java.math.BigDecimal"/>  
95 - <field name="valortotal" class="java.math.BigDecimal"/>  
96 - <group name="group_material">  
97 - <groupExpression><![CDATA[$F{nomematerial}]]></groupExpression>  
98 - <groupHeader>  
99 - <band height="54">  
100 - <staticText>  
101 - <reportElement x="630" y="24" width="82" height="30" uuid="2c33b4f7-df12-42da-8af4-0bbf43c144e7"/>  
102 - <box>  
103 - <topPen lineWidth="0.25"/>  
104 - <leftPen lineWidth="0.25"/>  
105 - <bottomPen lineWidth="0.25"/>  
106 - <rightPen lineWidth="0.25"/>  
107 - </box>  
108 - <textElement textAlignment="Center" verticalAlignment="Middle">  
109 - <font isBold="true"/>  
110 - </textElement>  
111 - <text><![CDATA[Valor  
112 -Unit.(R$)]]></text>  
113 - </staticText>  
114 - <staticText>  
115 - <reportElement x="712" y="24" width="90" height="30" uuid="5685f76e-91d6-42c1-b498-46e2aad94d78"/>  
116 - <box>  
117 - <topPen lineWidth="0.25"/>  
118 - <leftPen lineWidth="0.25"/>  
119 - <bottomPen lineWidth="0.25"/>  
120 - <rightPen lineWidth="0.25"/>  
121 - </box>  
122 - <textElement textAlignment="Center" verticalAlignment="Middle">  
123 - <font isBold="true"/>  
124 - </textElement>  
125 - <text><![CDATA[Valor  
126 -Total (R$)]]></text>  
127 - </staticText>  
128 - <staticText>  
129 - <reportElement x="590" y="24" width="40" height="30" uuid="1c1f4cdc-78d7-47b5-be45-b0e0bbd798b0"/>  
130 - <box>  
131 - <topPen lineWidth="0.25"/>  
132 - <leftPen lineWidth="0.25"/>  
133 - <bottomPen lineWidth="0.25"/>  
134 - <rightPen lineWidth="0.25"/>  
135 - </box>  
136 - <textElement textAlignment="Center" verticalAlignment="Middle">  
137 - <font isBold="true"/>  
138 - </textElement>  
139 - <text><![CDATA[Qtd.]]></text>  
140 - </staticText>  
141 - <staticText>  
142 - <reportElement x="317" y="24" width="273" height="30" uuid="14f92f45-4dea-4694-8642-10081f481830"/>  
143 - <box>  
144 - <topPen lineWidth="0.25"/>  
145 - <leftPen lineWidth="0.25"/>  
146 - <bottomPen lineWidth="0.25"/>  
147 - <rightPen lineWidth="0.25"/>  
148 - </box>  
149 - <textElement textAlignment="Center" verticalAlignment="Middle">  
150 - <font isBold="true"/>  
151 - </textElement>  
152 - <text><![CDATA[Fornecedor]]></text>  
153 - </staticText>  
154 - <staticText>  
155 - <reportElement x="157" y="24" width="160" height="30" uuid="60052c47-c024-4751-9eca-383f54d30e94"/>  
156 - <box>  
157 - <topPen lineWidth="0.25"/>  
158 - <leftPen lineWidth="0.25"/>  
159 - <bottomPen lineWidth="0.25"/>  
160 - <rightPen lineWidth="0.25"/>  
161 - </box>  
162 - <textElement textAlignment="Center" verticalAlignment="Middle">  
163 - <font isBold="true"/>  
164 - </textElement>  
165 - <text><![CDATA[Tipo  
166 - de entrada]]></text>  
167 - </staticText>  
168 - <staticText>  
169 - <reportElement x="84" y="24" width="73" height="30" uuid="7ee4cf1a-6926-40d0-8c90-268a8b67ff30"/>  
170 - <box>  
171 - <topPen lineWidth="0.25"/>  
172 - <leftPen lineWidth="0.25"/>  
173 - <bottomPen lineWidth="0.25"/>  
174 - <rightPen lineWidth="0.25"/>  
175 - </box>  
176 - <textElement textAlignment="Center" verticalAlignment="Middle">  
177 - <font isBold="true" isStrikeThrough="false"/>  
178 - </textElement>  
179 - <text><![CDATA[Data  
180 -contábil]]></text>  
181 - </staticText>  
182 - <staticText>  
183 - <reportElement x="0" y="24" width="84" height="30" uuid="70fff215-4e3b-49a2-a8b7-5e6063e70494"/>  
184 - <box>  
185 - <topPen lineWidth="0.25"/>  
186 - <leftPen lineWidth="0.25"/>  
187 - <bottomPen lineWidth="0.25"/>  
188 - <rightPen lineWidth="0.25"/>  
189 - </box>  
190 - <textElement textAlignment="Center" verticalAlignment="Middle">  
191 - <font isBold="true"/>  
192 - </textElement>  
193 - <text><![CDATA[Nota  
194 -de entrada]]></text>  
195 - </staticText>  
196 - <textField>  
197 - <reportElement x="0" y="5" width="802" height="19" uuid="6eb4f539-059a-4c90-a69e-84431cf77ccd"/>  
198 - <textElement verticalAlignment="Middle" markup="styled"/>  
199 - <textFieldExpression><![CDATA["<b> Material: </b>" + $F{nomematerial}]]></textFieldExpression>  
200 - </textField>  
201 - </band>  
202 - </groupHeader>  
203 - </group>  
204 - <pageHeader>  
205 - <band height="46" splitType="Stretch">  
206 - <textField>  
207 - <reportElement x="0" y="7" width="802" height="20" uuid="5387d762-1916-4071-9bef-24d233a3a114"/>  
208 - <textElement textAlignment="Left" verticalAlignment="Middle" markup="styled">  
209 - <font size="10"/>  
210 - </textElement>  
211 - <textFieldExpression><![CDATA["<b> Almoxarifado: </b>" + $P{organizacaoNome}]]></textFieldExpression>  
212 - </textField>  
213 - <textField pattern="dd/MM/yyyy">  
214 - <reportElement x="0" y="26" width="282" height="20" uuid="3a8d3370-1a20-4c69-aaa9-f07319039618"/>  
215 - <textElement verticalAlignment="Middle" markup="styled"/>  
216 - <textFieldExpression><![CDATA["<b>Período: </b>" +  
217 -new SimpleDateFormat("dd/MM/yyyy").format(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse($P{dataInicio}))  
218 -+ " a " +  
219 -new SimpleDateFormat("dd/MM/yyyy").format(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse($P{dataFim}))]]></textFieldExpression>  
220 - </textField>  
221 - <textField isBlankWhenNull="true">  
222 - <reportElement x="282" y="26" width="271" height="20" uuid="9c503daa-9964-46c3-83fd-24c08486af7a"/>  
223 - <textElement verticalAlignment="Middle" markup="styled"/>  
224 - <textFieldExpression><![CDATA[( $P{nomeTipoEntrada} != null ? "<b>Tipo da Entrada: </b>" + $P{nomeTipoEntrada} : "" )]]></textFieldExpression>  
225 - </textField>  
226 - <textField isBlankWhenNull="true">  
227 - <reportElement x="553" y="26" width="249" height="20" uuid="814bf2a6-b83a-4d14-83bc-2e6f7a72b537"/>  
228 - <textElement verticalAlignment="Middle" markup="styled"/>  
229 - <textFieldExpression><![CDATA[( $P{idTipoRecebimento} != null? "<b>Tipo de Recebimento: </b>" + $P{nomeTipoRecebimento} : "" )]]></textFieldExpression>  
230 - </textField>  
231 - </band>  
232 - </pageHeader>  
233 - <detail>  
234 - <band height="20" splitType="Stretch">  
235 - <textField isBlankWhenNull="true">  
236 - <reportElement stretchType="RelativeToBandHeight" x="0" y="0" width="84" height="20" uuid="64671535-9eb2-42c3-80f2-5fcfe8462447"/>  
237 - <box>  
238 - <topPen lineWidth="0.25"/>  
239 - <leftPen lineWidth="0.25"/>  
240 - <bottomPen lineWidth="0.25"/>  
241 - <rightPen lineWidth="0.25"/>  
242 - </box>  
243 - <textElement textAlignment="Center" verticalAlignment="Middle">  
244 - <font size="9"/>  
245 - </textElement>  
246 - <textFieldExpression><![CDATA[$F{notaentrada}]]></textFieldExpression>  
247 - </textField>  
248 - <textField isBlankWhenNull="true">  
249 - <reportElement stretchType="RelativeToBandHeight" x="157" y="0" width="160" height="20" uuid="99f6864a-202d-4445-8b40-b2f2547ac44d"/>  
250 - <box>  
251 - <topPen lineWidth="0.25"/>  
252 - <leftPen lineWidth="0.25"/>  
253 - <bottomPen lineWidth="0.25"/>  
254 - <rightPen lineWidth="0.25"/>  
255 - </box>  
256 - <textElement textAlignment="Center" verticalAlignment="Middle">  
257 - <font size="9"/>  
258 - </textElement>  
259 - <textFieldExpression><![CDATA[$F{tipoentrada}]]></textFieldExpression>  
260 - </textField>  
261 - <textField pattern="dd/MM/yyyy" isBlankWhenNull="true">  
262 - <reportElement stretchType="RelativeToBandHeight" x="84" y="0" width="73" height="20" uuid="0e6e8846-0a2f-43b7-98c1-5dec6b31bf77"/>  
263 - <box>  
264 - <topPen lineWidth="0.25"/>  
265 - <leftPen lineWidth="0.25"/>  
266 - <bottomPen lineWidth="0.25"/>  
267 - <rightPen lineWidth="0.25"/>  
268 - </box>  
269 - <textElement textAlignment="Center" verticalAlignment="Middle">  
270 - <font size="9"/>  
271 - </textElement>  
272 - <textFieldExpression><![CDATA[$F{datacontabil}]]></textFieldExpression>  
273 - </textField>  
274 - <textField isStretchWithOverflow="true" isBlankWhenNull="true">  
275 - <reportElement stretchType="RelativeToBandHeight" x="317" y="0" width="273" height="20" uuid="cde1fb08-9b60-4222-a4f8-5df929599a79"/>  
276 - <box leftPadding="3">  
277 - <topPen lineWidth="0.25"/>  
278 - <leftPen lineWidth="0.25"/>  
279 - <bottomPen lineWidth="0.25"/>  
280 - <rightPen lineWidth="0.25"/>  
281 - </box>  
282 - <textElement textAlignment="Left" verticalAlignment="Middle">  
283 - <font size="9"/>  
284 - <paragraph leftIndent="3" rightIndent="3"/>  
285 - </textElement>  
286 - <textFieldExpression><![CDATA[$F{fornecedor}]]></textFieldExpression>  
287 - </textField>  
288 - <textField pattern="#,##0.00" isBlankWhenNull="true">  
289 - <reportElement stretchType="RelativeToBandHeight" x="630" y="0" width="82" height="20" uuid="4957470f-df35-4393-b2eb-633d20a3659f"/>  
290 - <box rightPadding="3">  
291 - <topPen lineWidth="0.25"/>  
292 - <leftPen lineWidth="0.25"/>  
293 - <bottomPen lineWidth="0.25"/>  
294 - <rightPen lineWidth="0.25"/>  
295 - </box>  
296 - <textElement textAlignment="Right" verticalAlignment="Middle">  
297 - <font size="9"/>  
298 - <paragraph rightIndent="2"/>  
299 - </textElement>  
300 - <textFieldExpression><![CDATA[$F{valorunitario}]]></textFieldExpression>  
301 - </textField>  
302 - <textField pattern="###0.00" isBlankWhenNull="true">  
303 - <reportElement stretchType="RelativeToBandHeight" x="590" y="0" width="40" height="20" uuid="dab5be1f-f400-4cd3-8ad8-f82dc99e902e"/>  
304 - <box>  
305 - <topPen lineWidth="0.25"/>  
306 - <leftPen lineWidth="0.25"/>  
307 - <bottomPen lineWidth="0.25"/>  
308 - <rightPen lineWidth="0.25"/>  
309 - </box>  
310 - <textElement textAlignment="Center" verticalAlignment="Middle">  
311 - <font size="9"/>  
312 - <paragraph rightIndent="2"/>  
313 - </textElement>  
314 - <textFieldExpression><![CDATA[$F{quantidade}]]></textFieldExpression>  
315 - </textField>  
316 - <textField pattern="#,##0.00" isBlankWhenNull="true">  
317 - <reportElement stretchType="RelativeToBandHeight" x="712" y="0" width="90" height="20" uuid="3f02aa1a-8d25-471c-b279-6d20ac4a2468"/>  
318 - <box rightPadding="3">  
319 - <topPen lineWidth="0.25"/>  
320 - <leftPen lineWidth="0.25"/>  
321 - <bottomPen lineWidth="0.25"/>  
322 - <rightPen lineWidth="0.25"/>  
323 - </box>  
324 - <textElement textAlignment="Right" verticalAlignment="Middle">  
325 - <font size="9"/>  
326 - <paragraph rightIndent="2"/>  
327 - </textElement>  
328 - <textFieldExpression><![CDATA[$F{valortotal}]]></textFieldExpression>  
329 - </textField>  
330 - </band>  
331 - </detail>  
332 - <noData>  
333 - <band height="20">  
334 - <staticText>  
335 - <reportElement x="0" y="0" width="802" height="20" uuid="5cf1bc54-430b-4d88-8370-c69df3577676"/>  
336 - <textElement textAlignment="Center" verticalAlignment="Middle">  
337 - <font isBold="true"/>  
338 - </textElement>  
339 - <text><![CDATA[Seção vazia]]></text>  
340 - </staticText>  
341 - </band>  
342 - </noData>  
343 -</jasperReport>  
cit-almoxarifado-web/target/classes/reports/entradaMaterialAnaliticoEntrada.jrxml
@@ -1,451 +0,0 @@ @@ -1,451 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="entradaMaterialAnaliticoEntrada" language="groovy" pageWidth="802" pageHeight="555" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="5ed15610-1772-4ec5-9238-b8bb4567a519">  
3 - <property name="ireport.zoom" value="1.331000000000001"/>  
4 - <property name="ireport.x" value="0"/>  
5 - <property name="ireport.y" value="0"/>  
6 - <style name="table">  
7 - <box>  
8 - <pen lineWidth="1.0" lineColor="#000000"/>  
9 - </box>  
10 - </style>  
11 - <style name="table_TH" mode="Opaque" backcolor="#F0F8FF">  
12 - <box>  
13 - <pen lineWidth="0.5" lineColor="#000000"/>  
14 - </box>  
15 - </style>  
16 - <style name="table_CH" mode="Opaque" backcolor="#BFE1FF">  
17 - <box>  
18 - <pen lineWidth="0.5" lineColor="#000000"/>  
19 - </box>  
20 - </style>  
21 - <style name="table_TD" mode="Opaque" backcolor="#FFFFFF">  
22 - <box>  
23 - <pen lineWidth="0.5" lineColor="#000000"/>  
24 - <topPen lineWidth="0.25"/>  
25 - <leftPen lineWidth="0.25"/>  
26 - <bottomPen lineWidth="0.25"/>  
27 - <rightPen lineWidth="0.25"/>  
28 - </box>  
29 - </style>  
30 - <subDataset name="Documentos" uuid="261c7cba-602f-47c5-8ff0-0d489cec00a8">  
31 - <parameter name="idEntrada" class="java.lang.Long"/>  
32 - <queryString>  
33 - <![CDATA[select  
34 -ed.entrada_id as entradaid,  
35 -dm.descricao as tipodocumento,  
36 -d.numero as numerodocumento,  
37 -d.datacriacao as data  
38 -from entradadocumento ed  
39 -inner join documento d on ed.id = d.id  
40 -inner join dominio dm on d.dominiotipodocumento_id = dm.id  
41 -where ed.entrada_id = $P{idEntrada}]]>  
42 - </queryString>  
43 - <field name="entradaid" class="java.lang.Long"/>  
44 - <field name="tipodocumento" class="java.lang.String"/>  
45 - <field name="numerodocumento" class="java.lang.String"/>  
46 - <field name="data" class="java.sql.Timestamp"/>  
47 - <group name="entradaid">  
48 - <groupExpression><![CDATA[$F{entradaid}]]></groupExpression>  
49 - </group>  
50 - </subDataset>  
51 - <parameter name="idOrganizacao" class="java.lang.Long"/>  
52 - <parameter name="organizacaoNome" class="java.lang.String"/>  
53 - <parameter name="codigoOrganizacao" class="java.lang.String"/>  
54 - <parameter name="siglaOrganizacao" class="java.lang.String"/>  
55 - <parameter name="idAlmoxarifado" class="java.lang.Long"/>  
56 - <parameter name="almoxarifado" class="java.lang.String"/>  
57 - <parameter name="dataInicio" class="java.lang.String" isForPrompting="false"/>  
58 - <parameter name="dataFim" class="java.lang.String" isForPrompting="false"/>  
59 - <queryString>  
60 - <![CDATA[select  
61 - entrada.id as id,  
62 - entrada.codigo as notaEntrada,  
63 - entrada.datarecebimento as datarecebimento,  
64 - entrada.datacontabil as dataContabil,  
65 - dominio.descricao as tipoRecebimento,  
66 - pessoafisica.cpf as CPF,  
67 - pessoajuridica.cnpj as CNPJ,  
68 - pessoa.nome as fornecedor,  
69 - material.codigo as codigoMaterial,  
70 - material.descricao as nomeMaterial,  
71 - unidademedida.sigla as unidade,  
72 - contacontabil.codigo as contaContabil,  
73 - entradaalmoxarifadoitem.quantidade as quantidade,  
74 - entradaalmoxarifadoitem.valorunitario as valorUnitario,  
75 - entradaalmoxarifadoitem.valortotal as valorTotal  
76 -from entradaalmoxarifado entradaalmoxarifado  
77 - inner join entrada entrada on entrada.id = entradaalmoxarifado.id and entrada.datainativo is null and entrada.organizacao_id = $P{idOrganizacao} and entrada.datarecebimento between (TO_TIMESTAMP($P{dataInicio},'YYYY-MM-DD HH24:MI:SS')::timestamp without time zone) and (TO_TIMESTAMP($P{dataFim},'YYYY-MM-DD HH24:MI:SS')::timestamp without time zone)  
78 - inner join dominio dominio on dominio.id = entrada.dominiotiporecebimento_id  
79 - inner join parceiro parceiro on parceiro.id = entrada.fornecedor_id  
80 - inner join pessoa pessoa on pessoa.id = parceiro.pessoa_id  
81 - left join pessoajuridica pessoajuridica on pessoa.id = pessoajuridica.pessoa_id  
82 - left join pessoafisica pessoafisica on pessoa.id = pessoafisica.pessoa_id  
83 - inner join entradaalmoxarifadoitem entradaalmoxarifadoitem on entradaalmoxarifadoitem.entrada_id = entradaalmoxarifado.id  
84 - left join unidademedida unidademedida on entradaalmoxarifadoitem.unidademedidaentrada_id = unidademedida.id  
85 - inner join material material on material.id = entradaalmoxarifadoitem.material_id  
86 - left join contacontabil contacontabil on material.contacontabil_id = contacontabil.id  
87 -where entradaalmoxarifado.almoxarifado_id = $P{idAlmoxarifado}  
88 -order by notaEntrada]]>  
89 - </queryString>  
90 - <field name="id" class="java.lang.Long"/>  
91 - <field name="notaentrada" class="java.lang.String"/>  
92 - <field name="datarecebimento" class="java.sql.Timestamp"/>  
93 - <field name="datacontabil" class="java.sql.Timestamp"/>  
94 - <field name="tiporecebimento" class="java.lang.String"/>  
95 - <field name="cpf" class="java.lang.String"/>  
96 - <field name="cnpj" class="java.lang.String"/>  
97 - <field name="fornecedor" class="java.lang.String"/>  
98 - <field name="codigomaterial" class="java.lang.String"/>  
99 - <field name="nomematerial" class="java.lang.String"/>  
100 - <field name="unidade" class="java.lang.String"/>  
101 - <field name="contacontabil" class="java.lang.String"/>  
102 - <field name="quantidade" class="java.math.BigDecimal"/>  
103 - <field name="valorunitario" class="java.math.BigDecimal"/>  
104 - <field name="valortotal" class="java.math.BigDecimal"/>  
105 - <variable name="valorTotalEntrada" class="java.math.BigDecimal" resetType="Group" resetGroup="entrada" calculation="Sum">  
106 - <variableExpression><![CDATA[$F{valortotal}]]></variableExpression>  
107 - </variable>  
108 - <group name="entrada">  
109 - <groupExpression><![CDATA[$F{notaentrada}]]></groupExpression>  
110 - <groupHeader>  
111 - <band height="107">  
112 - <textField isBlankWhenNull="true">  
113 - <reportElement x="0" y="19" width="802" height="19" uuid="d8435ebb-5b43-4d6c-8666-ba560797874c"/>  
114 - <textElement verticalAlignment="Middle" markup="styled"/>  
115 - <textFieldExpression><![CDATA["<b>Fornecedor: </b>" + $F{fornecedor}]]></textFieldExpression>  
116 - </textField>  
117 - <textField pattern="dd/MM/yyyy" isBlankWhenNull="true">  
118 - <reportElement x="184" y="0" width="211" height="20" uuid="2b6b9820-7922-41a2-8659-28205e7c7830"/>  
119 - <textElement verticalAlignment="Middle" markup="styled"/>  
120 - <textFieldExpression><![CDATA["<b>Data de Recebimento: </b>" + new SimpleDateFormat("dd/MM/yyyy").format($F{datarecebimento})]]></textFieldExpression>  
121 - </textField>  
122 - <textField isBlankWhenNull="true">  
123 - <reportElement x="0" y="0" width="184" height="20" uuid="bd1e50b4-16d8-468f-a99e-9dcea77a27d0"/>  
124 - <textElement verticalAlignment="Middle" markup="styled"/>  
125 - <textFieldExpression><![CDATA["<b>Entrada: </b>" + $F{notaentrada}]]></textFieldExpression>  
126 - </textField>  
127 - <textField isBlankWhenNull="true">  
128 - <reportElement x="599" y="0" width="202" height="20" uuid="5985ed83-14ee-47da-ae93-c5271313940f"/>  
129 - <textElement verticalAlignment="Middle" markup="styled"/>  
130 - <textFieldExpression><![CDATA["<b>Tipo de Recebimento: </b>" + $F{tiporecebimento}]]></textFieldExpression>  
131 - </textField>  
132 - <textField pattern="dd/MM/yyyy">  
133 - <reportElement x="395" y="0" width="204" height="20" uuid="e327d172-77ab-4e6d-88cf-081bb7d3b127"/>  
134 - <textElement verticalAlignment="Middle" markup="styled">  
135 - <paragraph leftIndent="2"/>  
136 - </textElement>  
137 - <textFieldExpression><![CDATA["<b>Data de Contabilização: </b>" + new SimpleDateFormat("dd/MM/yyyy").format($F{datacontabil})]]></textFieldExpression>  
138 - </textField>  
139 - <componentElement>  
140 - <reportElement key="table" style="table_TD" mode="Transparent" x="0" y="44" width="802" height="55" uuid="10361ecb-70c1-4afb-a9bb-d3bdafd07153"/>  
141 - <jr:table xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd">  
142 - <datasetRun subDataset="Documentos" uuid="90f282c6-999a-4ff6-818f-0b9e2b27e89c">  
143 - <datasetParameter name="idEntrada">  
144 - <datasetParameterExpression><![CDATA[$F{id}]]></datasetParameterExpression>  
145 - </datasetParameter>  
146 - <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>  
147 - </datasetRun>  
148 - <jr:columnGroup width="802" uuid="05b00796-b69e-463a-af69-894270efd402">  
149 - <jr:tableHeader height="20" rowSpan="1">  
150 - <staticText>  
151 - <reportElement x="0" y="0" width="802" height="20" uuid="74e54ea3-bf62-402d-993d-42736f3cbc7f"/>  
152 - <textElement textAlignment="Center" verticalAlignment="Middle">  
153 - <font isBold="true"/>  
154 - </textElement>  
155 - <text><![CDATA[Documentos]]></text>  
156 - </staticText>  
157 - </jr:tableHeader>  
158 - <jr:column width="363" uuid="812f3e88-1fd0-46d2-b50b-5648ea1135fc">  
159 - <jr:columnHeader style="table_TD" height="20" rowSpan="1">  
160 - <staticText>  
161 - <reportElement x="0" y="0" width="363" height="20" uuid="cb00eded-1096-4950-9b96-8d16e161507c"/>  
162 - <textElement textAlignment="Center" verticalAlignment="Middle">  
163 - <font isBold="true"/>  
164 - </textElement>  
165 - <text><![CDATA[Tipo do Documento]]></text>  
166 - </staticText>  
167 - </jr:columnHeader>  
168 - <jr:detailCell style="table_TD" height="20" rowSpan="1">  
169 - <textField>  
170 - <reportElement x="0" y="0" width="363" height="20" uuid="3d45df13-f334-4cb4-8fc8-49df72a90629"/>  
171 - <textElement textAlignment="Center" verticalAlignment="Middle"/>  
172 - <textFieldExpression><![CDATA[$F{tipodocumento}]]></textFieldExpression>  
173 - </textField>  
174 - </jr:detailCell>  
175 - </jr:column>  
176 - <jr:column width="183" uuid="748aee48-e26a-46a5-8ef8-8c56f80a1c5c">  
177 - <jr:columnHeader style="table_TD" height="20" rowSpan="1">  
178 - <staticText>  
179 - <reportElement x="0" y="0" width="183" height="20" uuid="7956a122-811c-4e6d-a187-9b8042c019af"/>  
180 - <textElement textAlignment="Center" verticalAlignment="Middle">  
181 - <font isBold="true"/>  
182 - </textElement>  
183 - <text><![CDATA[Nº do Documento]]></text>  
184 - </staticText>  
185 - </jr:columnHeader>  
186 - <jr:detailCell style="table_TD" height="20" rowSpan="1">  
187 - <textField isBlankWhenNull="true">  
188 - <reportElement x="0" y="0" width="183" height="20" uuid="ba15d454-52ea-4558-8f41-73e33ef3a2c1"/>  
189 - <textElement textAlignment="Center" verticalAlignment="Middle">  
190 - <paragraph leftIndent="3" rightIndent="3"/>  
191 - </textElement>  
192 - <textFieldExpression><![CDATA[$F{numerodocumento}]]></textFieldExpression>  
193 - </textField>  
194 - </jr:detailCell>  
195 - </jr:column>  
196 - <jr:column width="256" uuid="bdd67296-5955-4f9c-a902-1a745050c21c">  
197 - <jr:columnHeader style="table_TD" height="20" rowSpan="1">  
198 - <staticText>  
199 - <reportElement x="0" y="0" width="256" height="20" uuid="c78ac482-89b6-4648-afd5-def426175ead"/>  
200 - <textElement textAlignment="Center" verticalAlignment="Middle">  
201 - <font isBold="true"/>  
202 - </textElement>  
203 - <text><![CDATA[Data]]></text>  
204 - </staticText>  
205 - </jr:columnHeader>  
206 - <jr:detailCell style="table_TD" height="20" rowSpan="1">  
207 - <textField pattern="dd/MM/yyyy" isBlankWhenNull="true">  
208 - <reportElement x="0" y="0" width="256" height="20" uuid="ac36b8c2-ded2-4373-868f-c1ddf315f06f"/>  
209 - <textElement textAlignment="Center" verticalAlignment="Middle"/>  
210 - <textFieldExpression><![CDATA[$F{data}]]></textFieldExpression>  
211 - </textField>  
212 - </jr:detailCell>  
213 - </jr:column>  
214 - </jr:columnGroup>  
215 - </jr:table>  
216 - </componentElement>  
217 - </band>  
218 - </groupHeader>  
219 - <groupFooter>  
220 - <band height="34">  
221 - <staticText>  
222 - <reportElement x="0" y="0" width="711" height="20" uuid="b9265276-8a4c-4de6-8655-5fa052210ee6"/>  
223 - <box>  
224 - <topPen lineWidth="0.25"/>  
225 - <leftPen lineWidth="0.25"/>  
226 - <bottomPen lineWidth="0.25"/>  
227 - <rightPen lineWidth="0.25"/>  
228 - </box>  
229 - <textElement textAlignment="Right" verticalAlignment="Middle">  
230 - <font isBold="true"/>  
231 - <paragraph rightIndent="3"/>  
232 - </textElement>  
233 - <text><![CDATA[Total do Documento:]]></text>  
234 - </staticText>  
235 - <textField pattern="#,##0.00" isBlankWhenNull="true">  
236 - <reportElement x="711" y="0" width="90" height="20" uuid="7fb55dec-1211-45de-9b36-e87d216b3d15"/>  
237 - <box>  
238 - <topPen lineWidth="0.25"/>  
239 - <leftPen lineWidth="0.25"/>  
240 - <bottomPen lineWidth="0.25"/>  
241 - <rightPen lineWidth="0.25"/>  
242 - </box>  
243 - <textElement textAlignment="Right" verticalAlignment="Middle">  
244 - <font isBold="true"/>  
245 - <paragraph rightIndent="3"/>  
246 - </textElement>  
247 - <textFieldExpression><![CDATA[$V{valorTotalEntrada}]]></textFieldExpression>  
248 - </textField>  
249 - </band>  
250 - </groupFooter>  
251 - </group>  
252 - <group name="cabeçalho">  
253 - <groupHeader>  
254 - <band height="30">  
255 - <staticText>  
256 - <reportElement x="629" y="0" width="82" height="30" uuid="979760fe-441b-4a7c-b42a-c298b9a6af93"/>  
257 - <box>  
258 - <topPen lineWidth="0.25"/>  
259 - <leftPen lineWidth="0.25"/>  
260 - <bottomPen lineWidth="0.25"/>  
261 - <rightPen lineWidth="0.25"/>  
262 - </box>  
263 - <textElement textAlignment="Center" verticalAlignment="Middle">  
264 - <font isBold="true"/>  
265 - </textElement>  
266 - <text><![CDATA[Valor  
267 -Unit (R$)]]></text>  
268 - </staticText>  
269 - <staticText>  
270 - <reportElement x="589" y="0" width="40" height="30" uuid="6141247f-3c6e-4fd4-891d-bf9c3cbaaee6"/>  
271 - <box>  
272 - <topPen lineWidth="0.25"/>  
273 - <leftPen lineWidth="0.25"/>  
274 - <bottomPen lineWidth="0.25"/>  
275 - <rightPen lineWidth="0.25"/>  
276 - </box>  
277 - <textElement textAlignment="Center" verticalAlignment="Middle">  
278 - <font isBold="true"/>  
279 - </textElement>  
280 - <text><![CDATA[Qtd.]]></text>  
281 - </staticText>  
282 - <staticText>  
283 - <reportElement x="427" y="0" width="53" height="30" uuid="4a92f03c-c2ab-4593-8f99-a53cd54d412d"/>  
284 - <box>  
285 - <topPen lineWidth="0.25"/>  
286 - <leftPen lineWidth="0.25"/>  
287 - <bottomPen lineWidth="0.25"/>  
288 - <rightPen lineWidth="0.25"/>  
289 - </box>  
290 - <textElement textAlignment="Center" verticalAlignment="Middle">  
291 - <font isBold="true" isStrikeThrough="false"/>  
292 - </textElement>  
293 - <text><![CDATA[U.M.]]></text>  
294 - </staticText>  
295 - <staticText>  
296 - <reportElement x="0" y="0" width="427" height="30" uuid="572dce13-b71f-4d3d-8f60-c292cadfe507"/>  
297 - <box>  
298 - <topPen lineWidth="0.25"/>  
299 - <leftPen lineWidth="0.25"/>  
300 - <bottomPen lineWidth="0.25"/>  
301 - <rightPen lineWidth="0.25"/>  
302 - </box>  
303 - <textElement textAlignment="Center" verticalAlignment="Middle">  
304 - <font isBold="true"/>  
305 - </textElement>  
306 - <text><![CDATA[Material]]></text>  
307 - </staticText>  
308 - <staticText>  
309 - <reportElement x="711" y="0" width="90" height="30" uuid="a77fe296-7b8f-4c39-ad1b-9d31122c7d9f"/>  
310 - <box>  
311 - <topPen lineWidth="0.25"/>  
312 - <leftPen lineWidth="0.25"/>  
313 - <bottomPen lineWidth="0.25"/>  
314 - <rightPen lineWidth="0.25"/>  
315 - </box>  
316 - <textElement textAlignment="Center" verticalAlignment="Middle">  
317 - <font isBold="true"/>  
318 - </textElement>  
319 - <text><![CDATA[Valor  
320 -Total (R$)]]></text>  
321 - </staticText>  
322 - <staticText>  
323 - <reportElement x="480" y="0" width="109" height="30" uuid="f055539f-b398-4f8a-8458-f2c1f180ad8f"/>  
324 - <box>  
325 - <topPen lineWidth="0.25"/>  
326 - <leftPen lineWidth="0.25"/>  
327 - <bottomPen lineWidth="0.25"/>  
328 - <rightPen lineWidth="0.25"/>  
329 - </box>  
330 - <textElement textAlignment="Center" verticalAlignment="Middle">  
331 - <font isBold="true"/>  
332 - </textElement>  
333 - <text><![CDATA[Conta]]></text>  
334 - </staticText>  
335 - </band>  
336 - </groupHeader>  
337 - </group>  
338 - <pageHeader>  
339 - <band height="66" splitType="Stretch">  
340 - <textField>  
341 - <reportElement x="0" y="23" width="480" height="20" uuid="16786765-0e1e-455a-a5ab-3844cfcf7adb"/>  
342 - <textElement verticalAlignment="Middle" markup="styled"/>  
343 - <textFieldExpression><![CDATA["<b>Órgão: </b>" + $P{codigoOrganizacao} + " - " + $P{organizacaoNome} + " - " + $P{siglaOrganizacao}]]></textFieldExpression>  
344 - </textField>  
345 - <textField>  
346 - <reportElement x="480" y="23" width="322" height="20" uuid="3144d41a-a48e-49d7-936c-3524c10348b0"/>  
347 - <textElement verticalAlignment="Middle" markup="styled"/>  
348 - <textFieldExpression><![CDATA["<b>Período: </b>" +  
349 -new SimpleDateFormat("dd/MM/yyyy").format(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse($P{dataInicio}))  
350 -+ " a " +  
351 -new SimpleDateFormat("dd/MM/yyyy").format(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse($P{dataFim}))]]></textFieldExpression>  
352 - </textField>  
353 - <textField>  
354 - <reportElement x="0" y="42" width="801" height="20" uuid="ef8857f6-0e17-443c-b17e-3bc458d26bdd"/>  
355 - <textElement verticalAlignment="Middle" markup="styled"/>  
356 - <textFieldExpression><![CDATA["<b>Almoxarifado: </b>" + $P{almoxarifado}]]></textFieldExpression>  
357 - </textField>  
358 - </band>  
359 - </pageHeader>  
360 - <detail>  
361 - <band height="20" splitType="Stretch">  
362 - <textField pattern="#,##0.00" isBlankWhenNull="true">  
363 - <reportElement stretchType="RelativeToBandHeight" x="629" y="0" width="82" height="20" uuid="0b105f6b-f108-4927-aba7-9405ba2391a2"/>  
364 - <box rightPadding="3">  
365 - <topPen lineWidth="0.25"/>  
366 - <leftPen lineWidth="0.25"/>  
367 - <bottomPen lineWidth="0.25"/>  
368 - <rightPen lineWidth="0.25"/>  
369 - </box>  
370 - <textElement textAlignment="Right" verticalAlignment="Middle">  
371 - <font size="9"/>  
372 - <paragraph rightIndent="2"/>  
373 - </textElement>  
374 - <textFieldExpression><![CDATA[$F{valorunitario}]]></textFieldExpression>  
375 - </textField>  
376 - <textField pattern="#,##0.00" isBlankWhenNull="true">  
377 - <reportElement stretchType="RelativeToBandHeight" x="711" y="0" width="90" height="20" uuid="c9440374-03af-4638-a3be-8b043a4b2627"/>  
378 - <box rightPadding="3">  
379 - <topPen lineWidth="0.25"/>  
380 - <leftPen lineWidth="0.25"/>  
381 - <bottomPen lineWidth="0.25"/>  
382 - <rightPen lineWidth="0.25"/>  
383 - </box>  
384 - <textElement textAlignment="Right" verticalAlignment="Middle">  
385 - <font size="9"/>  
386 - <paragraph rightIndent="2"/>  
387 - </textElement>  
388 - <textFieldExpression><![CDATA[$F{valortotal}]]></textFieldExpression>  
389 - </textField>  
390 - <textField pattern="###0" isBlankWhenNull="true">  
391 - <reportElement stretchType="RelativeToBandHeight" x="589" y="0" width="40" height="20" uuid="0e937bba-a434-4290-8d1a-ad1fc6e2e4e1"/>  
392 - <box>  
393 - <topPen lineWidth="0.25"/>  
394 - <leftPen lineWidth="0.25"/>  
395 - <bottomPen lineWidth="0.25"/>  
396 - <rightPen lineWidth="0.25"/>  
397 - </box>  
398 - <textElement textAlignment="Center" verticalAlignment="Middle">  
399 - <font size="9"/>  
400 - </textElement>  
401 - <textFieldExpression><![CDATA[$F{quantidade}]]></textFieldExpression>  
402 - </textField>  
403 - <textField isStretchWithOverflow="true" isBlankWhenNull="true">  
404 - <reportElement stretchType="RelativeToBandHeight" x="0" y="0" width="427" height="20" uuid="ba0e82f9-f36e-421d-bc76-ef15ab51bbe0"/>  
405 - <box leftPadding="3">  
406 - <topPen lineWidth="0.25"/>  
407 - <leftPen lineWidth="0.25"/>  
408 - <bottomPen lineWidth="0.25"/>  
409 - <rightPen lineWidth="0.25"/>  
410 - </box>  
411 - <textElement textAlignment="Left" verticalAlignment="Middle">  
412 - <font size="9"/>  
413 - </textElement>  
414 - <textFieldExpression><![CDATA[( $F{codigomaterial} != null ? $F{codigomaterial} + " - " : "" ) + $F{nomematerial}]]></textFieldExpression>  
415 - </textField>  
416 - <textField isStretchWithOverflow="true" isBlankWhenNull="true">  
417 - <reportElement stretchType="RelativeToBandHeight" x="480" y="0" width="109" height="20" uuid="290d82a5-71af-4158-b826-6ec67ef9263a"/>  
418 - <box>  
419 - <topPen lineWidth="0.25"/>  
420 - <leftPen lineWidth="0.25"/>  
421 - <bottomPen lineWidth="0.25"/>  
422 - <rightPen lineWidth="0.25"/>  
423 - </box>  
424 - <textElement textAlignment="Center" verticalAlignment="Middle"/>  
425 - <textFieldExpression><![CDATA[$F{contacontabil}]]></textFieldExpression>  
426 - </textField>  
427 - <textField isStretchWithOverflow="true" isBlankWhenNull="true">  
428 - <reportElement stretchType="RelativeToBandHeight" x="427" y="0" width="53" height="20" uuid="efa92d3c-723b-491e-80da-9a5862c85fdb"/>  
429 - <box>  
430 - <topPen lineWidth="0.25"/>  
431 - <leftPen lineWidth="0.25"/>  
432 - <bottomPen lineWidth="0.25"/>  
433 - <rightPen lineWidth="0.25"/>  
434 - </box>  
435 - <textElement textAlignment="Center" verticalAlignment="Middle"/>  
436 - <textFieldExpression><![CDATA[$F{unidade}]]></textFieldExpression>  
437 - </textField>  
438 - </band>  
439 - </detail>  
440 - <noData>  
441 - <band height="20">  
442 - <staticText>  
443 - <reportElement x="0" y="0" width="802" height="20" uuid="d83430c9-462a-44a1-8a2c-8e0e2793fb5e"/>  
444 - <textElement textAlignment="Center" verticalAlignment="Middle">  
445 - <font isBold="true"/>  
446 - </textElement>  
447 - <text><![CDATA[Seção Vazia]]></text>  
448 - </staticText>  
449 - </band>  
450 - </noData>  
451 -</jasperReport>  
cit-almoxarifado-web/target/classes/reports/entradaMaterialNotaRecebimento.jrxml
@@ -1,622 +0,0 @@ @@ -1,622 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="entradaMaterialAnaliticoEntrada" language="groovy" pageWidth="802" pageHeight="555" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="5ed15610-1772-4ec5-9238-b8bb4567a519">  
3 - <property name="ireport.zoom" value="1.6500000000000008"/>  
4 - <property name="ireport.x" value="192"/>  
5 - <property name="ireport.y" value="0"/>  
6 - <style name="table">  
7 - <box>  
8 - <pen lineWidth="1.0" lineColor="#000000"/>  
9 - </box>  
10 - </style>  
11 - <style name="table_TH" mode="Opaque" backcolor="#F0F8FF">  
12 - <box>  
13 - <pen lineWidth="0.5" lineColor="#000000"/>  
14 - </box>  
15 - </style>  
16 - <style name="table_CH" mode="Opaque" backcolor="#BFE1FF">  
17 - <box>  
18 - <pen lineWidth="0.5" lineColor="#000000"/>  
19 - </box>  
20 - </style>  
21 - <style name="table_TD" mode="Opaque" backcolor="#FFFFFF">  
22 - <box>  
23 - <pen lineWidth="0.5" lineColor="#000000"/>  
24 - <topPen lineWidth="0.25"/>  
25 - <leftPen lineWidth="0.25"/>  
26 - <bottomPen lineWidth="0.25"/>  
27 - <rightPen lineWidth="0.25"/>  
28 - </box>  
29 - </style>  
30 - <subDataset name="ResumoContabil" uuid="817abc51-93e0-45da-b97c-6d11b2b8f3cb">  
31 - <parameter name="idEntrada" class="java.lang.Long"/>  
32 - <parameter name="usuario" class="java.lang.String"/>  
33 - <parameter name="cpf" class="java.lang.String">  
34 - <defaultValueExpression><![CDATA[]]></defaultValueExpression>  
35 - </parameter>  
36 - <queryString>  
37 - <![CDATA[select  
38 - contacontabil.codigo as contaContabil,  
39 - contacontabil.descricao as nomeConta,  
40 - sum(entradaalmoxarifadoitem.quantidade) as quantidade,  
41 - sum(entradaalmoxarifadoitem.valortotal) as valorTotal  
42 -from entradaalmoxarifado entradaalmoxarifado  
43 - inner join entrada entrada on entrada.id = entradaalmoxarifado.id  
44 - inner join entradaalmoxarifadoitem entradaalmoxarifadoitem on entradaalmoxarifadoitem.entrada_id = entradaalmoxarifado.id  
45 - inner join material material on material.id = entradaalmoxarifadoitem.material_id  
46 - left join contacontabil contacontabil on material.contacontabil_id = contacontabil.id  
47 -where entradaalmoxarifado.id = $P{idEntrada}  
48 -group by contacontabil, nomeConta  
49 -order by contacontabil]]>  
50 - </queryString>  
51 - <field name="contacontabil" class="java.lang.String"/>  
52 - <field name="nomeconta" class="java.lang.String"/>  
53 - <field name="quantidade" class="java.math.BigDecimal"/>  
54 - <field name="valortotal" class="java.math.BigDecimal"/>  
55 - </subDataset>  
56 - <parameter name="organizacaoNome" class="java.lang.String"/>  
57 - <parameter name="idEntrada" class="java.lang.Long">  
58 - <defaultValueExpression><![CDATA[]]></defaultValueExpression>  
59 - </parameter>  
60 - <parameter name="usuario" class="java.lang.String"/>  
61 - <parameter name="codigoOrganizacao" class="java.lang.String"/>  
62 - <parameter name="siglaOrganizacao" class="java.lang.String"/>  
63 - <parameter name="notaFiscal" class="java.lang.String"/>  
64 - <parameter name="empenho" class="java.lang.String"/>  
65 - <parameter name="contrato" class="java.lang.String"/>  
66 - <parameter name="processoEntrada" class="java.lang.String"/>  
67 - <parameter name="cpf" class="java.lang.String"/>  
68 - <queryString>  
69 - <![CDATA[select  
70 - estruturaorganizacional.nome as nomeAlmoxarifado,  
71 - entrada.id as id,  
72 - entrada.codigo as notaEntrada,  
73 - entrada.datarecebimento as datarecebimento,  
74 - entrada.datacontabil as dataContabil,  
75 - dominio.descricao as tipoRecebimento,  
76 - pessoafisica.cpf as CPF,  
77 - pessoajuridica.cnpj as CNPJ,  
78 - pessoa.nome as fornecedor,  
79 - material.codigo as codigoMaterial,  
80 - material.descricao as nomeMaterial,  
81 - unidademedida.sigla as unidade,  
82 - contacontabil.codigo as contaContabil,  
83 - entradaalmoxarifadoitem.quantidade as quantidade,  
84 - entradaalmoxarifadoitem.valorunitario as valorUnitario,  
85 - entradaalmoxarifadoitem.valortotal as valorTotal,  
86 - dominioFin.descricao as finalidadeCompra  
87 -from entradaalmoxarifado entradaalmoxarifado  
88 - inner join entrada entrada on entrada.id = entradaalmoxarifado.id  
89 - inner join dominio dominio on dominio.id = entrada.dominiotiporecebimento_id  
90 - inner join parceiro parceiro on parceiro.id = entrada.fornecedor_id  
91 - inner join pessoa pessoa on pessoa.id = parceiro.pessoa_id  
92 - left join pessoajuridica pessoajuridica on pessoa.id = pessoajuridica.pessoa_id  
93 - left join pessoafisica pessoafisica on pessoa.id = pessoafisica.pessoa_id  
94 - inner join entradaalmoxarifadoitem entradaalmoxarifadoitem on entradaalmoxarifadoitem.entrada_id = entradaalmoxarifado.id  
95 - LEFT join dominio dominioFin on dominioFin.id = entradaalmoxarifadoitem.dominiofinalidade_id  
96 - left join unidademedida unidademedida on entradaalmoxarifadoitem.unidademedidaentrada_id = unidademedida.id  
97 - inner join material material on material.id = entradaalmoxarifadoitem.material_id  
98 - left join contacontabil contacontabil on material.contacontabil_id = contacontabil.id  
99 - inner join estruturaorganizacional estruturaorganizacional on entradaalmoxarifado.almoxarifado_id = estruturaorganizacional.id  
100 -where entradaalmoxarifado.id = $P{idEntrada}  
101 -order by notaEntrada]]>  
102 - </queryString>  
103 - <field name="nomealmoxarifado" class="java.lang.String"/>  
104 - <field name="id" class="java.lang.Long"/>  
105 - <field name="notaentrada" class="java.lang.String"/>  
106 - <field name="datarecebimento" class="java.sql.Timestamp"/>  
107 - <field name="datacontabil" class="java.sql.Timestamp"/>  
108 - <field name="tiporecebimento" class="java.lang.String"/>  
109 - <field name="cpf" class="java.lang.String"/>  
110 - <field name="cnpj" class="java.lang.String"/>  
111 - <field name="fornecedor" class="java.lang.String"/>  
112 - <field name="codigomaterial" class="java.lang.String"/>  
113 - <field name="nomematerial" class="java.lang.String"/>  
114 - <field name="unidade" class="java.lang.String"/>  
115 - <field name="contacontabil" class="java.lang.String"/>  
116 - <field name="quantidade" class="java.math.BigDecimal"/>  
117 - <field name="valorunitario" class="java.math.BigDecimal"/>  
118 - <field name="valortotal" class="java.math.BigDecimal"/>  
119 - <field name="finalidadecompra" class="java.lang.String"/>  
120 - <variable name="valorTotalEntrada" class="java.math.BigDecimal" resetType="Group" resetGroup="entrada" calculation="Sum">  
121 - <variableExpression><![CDATA[$F{valortotal}]]></variableExpression>  
122 - </variable>  
123 - <variable name="totalQtd" class="java.math.BigDecimal" resetType="Group" resetGroup="entrada" calculation="Sum">  
124 - <variableExpression><![CDATA[$F{quantidade}]]></variableExpression>  
125 - </variable>  
126 - <variable name="descricao_1" class="java.lang.Integer" resetType="Page" calculation="Count">  
127 - <variableExpression><![CDATA[]]></variableExpression>  
128 - </variable>  
129 - <variable name="numero_1" class="java.lang.Integer" resetType="Page" calculation="Count">  
130 - <variableExpression><![CDATA[]]></variableExpression>  
131 - </variable>  
132 - <group name="entrada">  
133 - <groupExpression><![CDATA[$F{notaentrada}]]></groupExpression>  
134 - <groupFooter>  
135 - <band height="79">  
136 - <staticText>  
137 - <reportElement x="473" y="0" width="115" height="15" uuid="b9265276-8a4c-4de6-8655-5fa052210ee6"/>  
138 - <textElement textAlignment="Right" verticalAlignment="Middle">  
139 - <font size="10" isBold="true"/>  
140 - <paragraph rightIndent="3"/>  
141 - </textElement>  
142 - <text><![CDATA[Total :]]></text>  
143 - </staticText>  
144 - <textField pattern="#,##0.00" isBlankWhenNull="true">  
145 - <reportElement x="711" y="0" width="91" height="15" uuid="7fb55dec-1211-45de-9b36-e87d216b3d15"/>  
146 - <box>  
147 - <topPen lineWidth="0.25"/>  
148 - <leftPen lineWidth="0.25"/>  
149 - <bottomPen lineWidth="0.25"/>  
150 - <rightPen lineWidth="0.25"/>  
151 - </box>  
152 - <textElement textAlignment="Right" verticalAlignment="Middle">  
153 - <font size="10" isBold="true"/>  
154 - <paragraph rightIndent="3"/>  
155 - </textElement>  
156 - <textFieldExpression><![CDATA[$V{valorTotalEntrada}]]></textFieldExpression>  
157 - </textField>  
158 - <textField pattern="###0" isBlankWhenNull="true">  
159 - <reportElement x="588" y="0" width="51" height="15" uuid="67e9417d-f12c-4d2e-b074-4b0c222e8f24"/>  
160 - <box>  
161 - <topPen lineWidth="0.25"/>  
162 - <leftPen lineWidth="0.25"/>  
163 - <bottomPen lineWidth="0.25"/>  
164 - <rightPen lineWidth="0.25"/>  
165 - </box>  
166 - <textElement textAlignment="Center" verticalAlignment="Middle">  
167 - <font size="10" isBold="true"/>  
168 - <paragraph rightIndent="3"/>  
169 - </textElement>  
170 - <textFieldExpression><![CDATA[$V{totalQtd}]]></textFieldExpression>  
171 - </textField>  
172 - <textField pattern="#,##0.00" isBlankWhenNull="true">  
173 - <reportElement x="639" y="0" width="72" height="15" uuid="d2d4d82a-bea5-4fef-8367-c4f546c32a2b"/>  
174 - <box>  
175 - <topPen lineWidth="0.25"/>  
176 - <leftPen lineWidth="0.25"/>  
177 - <bottomPen lineWidth="0.25"/>  
178 - <rightPen lineWidth="0.25"/>  
179 - </box>  
180 - <textElement textAlignment="Right" verticalAlignment="Middle">  
181 - <font size="10" isBold="true"/>  
182 - <paragraph rightIndent="3"/>  
183 - </textElement>  
184 - <textFieldExpression><![CDATA[]]></textFieldExpression>  
185 - </textField>  
186 - <staticText>  
187 - <reportElement x="0" y="25" width="803" height="20" uuid="11a9c9db-8084-48c4-b7c3-d9a0c64bbc99"/>  
188 - <box>  
189 - <topPen lineWidth="0.25"/>  
190 - <leftPen lineWidth="0.25"/>  
191 - <bottomPen lineWidth="0.25"/>  
192 - <rightPen lineWidth="0.25"/>  
193 - </box>  
194 - <textElement textAlignment="Center" verticalAlignment="Middle">  
195 - <font isBold="true"/>  
196 - </textElement>  
197 - <text><![CDATA[Resumo Contábil]]></text>  
198 - </staticText>  
199 - <componentElement>  
200 - <reportElement key="table 1" stretchType="RelativeToBandHeight" x="0" y="47" width="803" height="30" uuid="86bd3c27-4ab1-45ed-aafa-e68fc4cd8589"/>  
201 - <jr:table xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd">  
202 - <datasetRun subDataset="ResumoContabil" uuid="01154466-3019-4f91-9589-96256b390277">  
203 - <datasetParameter name="REPORT_CONNECTION">  
204 - <datasetParameterExpression><![CDATA[$P{REPORT_CONNECTION}]]></datasetParameterExpression>  
205 - </datasetParameter>  
206 - <datasetParameter name="idEntrada">  
207 - <datasetParameterExpression><![CDATA[$P{idEntrada}]]></datasetParameterExpression>  
208 - </datasetParameter>  
209 - <datasetParameter name="usuario">  
210 - <datasetParameterExpression><![CDATA[$P{usuario}]]></datasetParameterExpression>  
211 - </datasetParameter>  
212 - <datasetParameter name="cpf">  
213 - <datasetParameterExpression><![CDATA[$P{cpf}]]></datasetParameterExpression>  
214 - </datasetParameter>  
215 - <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>  
216 - </datasetRun>  
217 - <jr:columnGroup width="803" uuid="21da20e3-35c2-4984-a3cf-29b0ab2eae62">  
218 - <jr:tableFooter height="86" rowSpan="1">  
219 - <staticText>  
220 - <reportElement x="400" y="69" width="401" height="15" uuid="b3e8118b-9851-4b14-9165-97a8a0c59250"/>  
221 - <textElement textAlignment="Center" verticalAlignment="Middle">  
222 - <font size="8"/>  
223 - </textElement>  
224 - <text><![CDATA[Seção de Almoxarifado]]></text>  
225 - </staticText>  
226 - <staticText>  
227 - <reportElement x="0" y="15" width="801" height="15" uuid="1d9e769d-2852-443c-b4ef-b1ede16421f1"/>  
228 - <textElement textAlignment="Center" verticalAlignment="Middle">  
229 - <font size="8"/>  
230 - </textElement>  
231 - <text><![CDATA[Efetuei a entrada do(s) material(is) acima especificado(s) em: _____/_____/_________.]]></text>  
232 - </staticText>  
233 - <textField isBlankWhenNull="true">  
234 - <reportElement x="0" y="69" width="400" height="15" uuid="fffa47e0-7b95-4aed-b3d5-4af5b998b962"/>  
235 - <textElement textAlignment="Center" verticalAlignment="Middle">  
236 - <font size="8"/>  
237 - </textElement>  
238 - <textFieldExpression><![CDATA[$P{usuario} + " " + $P{cpf}]]></textFieldExpression>  
239 - </textField>  
240 - <staticText>  
241 - <reportElement x="400" y="51" width="401" height="15" uuid="1c641efa-f23c-4048-bd5d-8f7299e2d18c"/>  
242 - <textElement textAlignment="Center" verticalAlignment="Bottom">  
243 - <font size="8"/>  
244 - </textElement>  
245 - <text><![CDATA[__________________________________________]]></text>  
246 - </staticText>  
247 - <staticText>  
248 - <reportElement x="13" y="51" width="387" height="15" uuid="39554ec4-bc5b-40ef-bed7-80d89b04d226"/>  
249 - <textElement textAlignment="Center" verticalAlignment="Bottom">  
250 - <font size="8"/>  
251 - </textElement>  
252 - <text><![CDATA[__________________________________________]]></text>  
253 - </staticText>  
254 - </jr:tableFooter>  
255 - <jr:column width="526" uuid="6e034ec9-fb06-45c8-879a-13334ac2cb71">  
256 - <jr:columnHeader style="table_TD" height="16" rowSpan="1">  
257 - <staticText>  
258 - <reportElement x="0" y="0" width="526" height="15" uuid="dea268c9-cda9-4d06-bd98-75e7205cfcfd"/>  
259 - <textElement textAlignment="Center" verticalAlignment="Middle">  
260 - <font isBold="true"/>  
261 - </textElement>  
262 - <text><![CDATA[Conta]]></text>  
263 - </staticText>  
264 - </jr:columnHeader>  
265 - <jr:detailCell style="table_TD" height="16" rowSpan="1">  
266 - <textField isBlankWhenNull="true">  
267 - <reportElement x="0" y="0" width="526" height="15" uuid="8e887725-a2ee-4a8d-bc8a-6cd51792ca1b"/>  
268 - <textElement verticalAlignment="Middle">  
269 - <paragraph leftIndent="2" rightIndent="2"/>  
270 - </textElement>  
271 - <textFieldExpression><![CDATA[$F{contacontabil} + " - " + $F{nomeconta}]]></textFieldExpression>  
272 - </textField>  
273 - </jr:detailCell>  
274 - </jr:column>  
275 - <jr:column width="98" uuid="93d386ba-ad99-49ae-ba9b-9616136bfa7a">  
276 - <jr:columnHeader style="table_TD" height="16" rowSpan="1">  
277 - <staticText>  
278 - <reportElement x="0" y="0" width="98" height="15" uuid="02c8f641-5dd4-44e3-ae82-383fee92b734"/>  
279 - <textElement textAlignment="Center" verticalAlignment="Middle">  
280 - <font isBold="true"/>  
281 - </textElement>  
282 - <text><![CDATA[Qtd.]]></text>  
283 - </staticText>  
284 - </jr:columnHeader>  
285 - <jr:detailCell style="table_TD" height="16" rowSpan="1">  
286 - <textField pattern="###0" isBlankWhenNull="true">  
287 - <reportElement x="0" y="0" width="98" height="15" uuid="c879daaf-727b-4bef-b5dc-5afb23bdf118"/>  
288 - <textElement textAlignment="Center" verticalAlignment="Middle"/>  
289 - <textFieldExpression><![CDATA[$F{quantidade}]]></textFieldExpression>  
290 - </textField>  
291 - </jr:detailCell>  
292 - </jr:column>  
293 - <jr:column width="179" uuid="d65cb655-0fc9-4e61-984d-26ddc00d012b">  
294 - <jr:columnHeader style="table_TD" height="16" rowSpan="1">  
295 - <staticText>  
296 - <reportElement x="0" y="0" width="176" height="15" uuid="e1173997-8033-42d8-8e75-f5a8921e0e3c"/>  
297 - <textElement textAlignment="Center" verticalAlignment="Middle">  
298 - <font isBold="true"/>  
299 - </textElement>  
300 - <text><![CDATA[Valor]]></text>  
301 - </staticText>  
302 - </jr:columnHeader>  
303 - <jr:detailCell style="table_TD" height="16" rowSpan="1">  
304 - <textField pattern="#,##0.00" isBlankWhenNull="true">  
305 - <reportElement x="0" y="0" width="176" height="15" uuid="a539964c-50ec-477e-a2fd-9ae1a8b6bf84"/>  
306 - <textElement textAlignment="Right" verticalAlignment="Middle">  
307 - <paragraph rightIndent="3"/>  
308 - </textElement>  
309 - <textFieldExpression><![CDATA[$F{valortotal}]]></textFieldExpression>  
310 - </textField>  
311 - </jr:detailCell>  
312 - </jr:column>  
313 - </jr:columnGroup>  
314 - </jr:table>  
315 - </componentElement>  
316 - </band>  
317 - </groupFooter>  
318 - </group>  
319 - <group name="cabeçalho">  
320 - <groupHeader>  
321 - <band height="15">  
322 - <staticText>  
323 - <reportElement x="639" y="0" width="72" height="15" uuid="979760fe-441b-4a7c-b42a-c298b9a6af93"/>  
324 - <box>  
325 - <topPen lineWidth="0.25"/>  
326 - <leftPen lineWidth="0.25"/>  
327 - <bottomPen lineWidth="0.25"/>  
328 - <rightPen lineWidth="0.25"/>  
329 - </box>  
330 - <textElement textAlignment="Center" verticalAlignment="Middle">  
331 - <font size="10" isBold="true"/>  
332 - </textElement>  
333 - <text><![CDATA[Preço  
334 - unitário]]></text>  
335 - </staticText>  
336 - <staticText>  
337 - <reportElement x="588" y="0" width="51" height="15" uuid="6141247f-3c6e-4fd4-891d-bf9c3cbaaee6"/>  
338 - <box>  
339 - <topPen lineWidth="0.25"/>  
340 - <leftPen lineWidth="0.25"/>  
341 - <bottomPen lineWidth="0.25"/>  
342 - <rightPen lineWidth="0.25"/>  
343 - </box>  
344 - <textElement textAlignment="Center" verticalAlignment="Middle">  
345 - <font size="10" isBold="true"/>  
346 - </textElement>  
347 - <text><![CDATA[Qtd]]></text>  
348 - </staticText>  
349 - <staticText>  
350 - <reportElement x="335" y="0" width="23" height="15" uuid="4a92f03c-c2ab-4593-8f99-a53cd54d412d"/>  
351 - <box>  
352 - <topPen lineWidth="0.25"/>  
353 - <leftPen lineWidth="0.25"/>  
354 - <bottomPen lineWidth="0.25"/>  
355 - <rightPen lineWidth="0.25"/>  
356 - </box>  
357 - <textElement textAlignment="Center" verticalAlignment="Middle">  
358 - <font size="10" isBold="true" isStrikeThrough="false"/>  
359 - </textElement>  
360 - <text><![CDATA[U.M.]]></text>  
361 - </staticText>  
362 - <staticText>  
363 - <reportElement x="0" y="0" width="335" height="15" uuid="572dce13-b71f-4d3d-8f60-c292cadfe507"/>  
364 - <box>  
365 - <topPen lineWidth="0.25"/>  
366 - <leftPen lineWidth="0.25"/>  
367 - <bottomPen lineWidth="0.25"/>  
368 - <rightPen lineWidth="0.25"/>  
369 - </box>  
370 - <textElement textAlignment="Center" verticalAlignment="Middle">  
371 - <font size="10" isBold="true"/>  
372 - </textElement>  
373 - <text><![CDATA[Material]]></text>  
374 - </staticText>  
375 - <staticText>  
376 - <reportElement x="711" y="0" width="91" height="15" uuid="a77fe296-7b8f-4c39-ad1b-9d31122c7d9f"/>  
377 - <box>  
378 - <topPen lineWidth="0.25"/>  
379 - <leftPen lineWidth="0.25"/>  
380 - <bottomPen lineWidth="0.25"/>  
381 - <rightPen lineWidth="0.25"/>  
382 - </box>  
383 - <textElement textAlignment="Center" verticalAlignment="Middle">  
384 - <font size="10" isBold="true"/>  
385 - </textElement>  
386 - <text><![CDATA[Valor Total (R$)]]></text>  
387 - </staticText>  
388 - <staticText>  
389 - <reportElement x="358" y="0" width="115" height="15" uuid="f055539f-b398-4f8a-8458-f2c1f180ad8f"/>  
390 - <box>  
391 - <topPen lineWidth="0.25"/>  
392 - <leftPen lineWidth="0.25"/>  
393 - <bottomPen lineWidth="0.25"/>  
394 - <rightPen lineWidth="0.25"/>  
395 - </box>  
396 - <textElement textAlignment="Center" verticalAlignment="Middle">  
397 - <font size="10" isBold="true"/>  
398 - </textElement>  
399 - <text><![CDATA[Finalidade da Compra]]></text>  
400 - </staticText>  
401 - <staticText>  
402 - <reportElement x="473" y="0" width="115" height="15" uuid="4a3823f6-4f6f-4c51-86b2-08c3f03dfeb8"/>  
403 - <box>  
404 - <topPen lineWidth="0.25"/>  
405 - <leftPen lineWidth="0.25"/>  
406 - <bottomPen lineWidth="0.25"/>  
407 - <rightPen lineWidth="0.25"/>  
408 - </box>  
409 - <textElement textAlignment="Center" verticalAlignment="Middle">  
410 - <font size="10" isBold="true"/>  
411 - </textElement>  
412 - <text><![CDATA[Finalidade do Estoque]]></text>  
413 - </staticText>  
414 - </band>  
415 - </groupHeader>  
416 - </group>  
417 - <pageHeader>  
418 - <band height="129" splitType="Stretch">  
419 - <textField isBlankWhenNull="true">  
420 - <reportElement x="0" y="34" width="802" height="20" uuid="ef8857f6-0e17-443c-b17e-3bc458d26bdd"/>  
421 - <textElement verticalAlignment="Middle" markup="styled"/>  
422 - <textFieldExpression><![CDATA["<b>Almoxarifado: </b>" + $F{nomealmoxarifado}]]></textFieldExpression>  
423 - </textField>  
424 - <textField isBlankWhenNull="true">  
425 - <reportElement x="-1" y="72" width="802" height="20" uuid="d8435ebb-5b43-4d6c-8666-ba560797874c"/>  
426 - <textElement textAlignment="Justified" verticalAlignment="Middle" markup="styled"/>  
427 - <textFieldExpression><![CDATA["<b>Fornecedor: </b> " + $F{fornecedor}]]></textFieldExpression>  
428 - </textField>  
429 - <textField pattern="dd/MM/yyyy" isBlankWhenNull="true">  
430 - <reportElement x="184" y="53" width="186" height="20" uuid="2b6b9820-7922-41a2-8659-28205e7c7830"/>  
431 - <textElement textAlignment="Justified" verticalAlignment="Middle" markup="styled"/>  
432 - <textFieldExpression><![CDATA["<b>Data de Recebimento: </b>" + new SimpleDateFormat("dd/MM/yyyy").format($F{datarecebimento})]]></textFieldExpression>  
433 - </textField>  
434 - <textField isBlankWhenNull="true">  
435 - <reportElement x="562" y="53" width="240" height="20" uuid="5985ed83-14ee-47da-ae93-c5271313940f"/>  
436 - <textElement textAlignment="Justified" verticalAlignment="Middle" markup="styled"/>  
437 - <textFieldExpression><![CDATA["<b>Tipo de Recebimento: </b>" + $F{tiporecebimento}]]></textFieldExpression>  
438 - </textField>  
439 - <textField pattern="dd/MM/yyyy" isBlankWhenNull="true">  
440 - <reportElement x="370" y="53" width="192" height="20" uuid="e327d172-77ab-4e6d-88cf-081bb7d3b127"/>  
441 - <textElement textAlignment="Justified" verticalAlignment="Middle" markup="styled">  
442 - <paragraph leftIndent="2"/>  
443 - </textElement>  
444 - <textFieldExpression><![CDATA["<b>Data de Contabilização: </b>"+new SimpleDateFormat("dd/MM/yyyy").format($F{datacontabil})]]></textFieldExpression>  
445 - </textField>  
446 - <textField>  
447 - <reportElement x="0" y="15" width="480" height="20" uuid="44a50357-a74d-4d8d-aeea-9fe90b3020a1"/>  
448 - <textElement verticalAlignment="Middle" markup="styled"/>  
449 - <textFieldExpression><![CDATA["<b>Órgão: </b>" + $P{codigoOrganizacao} + " - " + $P{organizacaoNome} + " - " + $P{siglaOrganizacao}]]></textFieldExpression>  
450 - </textField>  
451 - <textField isBlankWhenNull="true">  
452 - <reportElement x="0" y="54" width="184" height="20" uuid="c30cb635-dc3f-470c-a6ce-686454447838"/>  
453 - <textElement textAlignment="Justified" verticalAlignment="Middle" markup="styled"/>  
454 - <textFieldExpression><![CDATA["<b>Entrada: </b>" + $F{notaentrada}]]></textFieldExpression>  
455 - </textField>  
456 - <textField>  
457 - <reportElement x="0" y="93" width="62" height="20" uuid="86e9df26-3d2f-4a15-8b33-8245d72036c1"/>  
458 - <textElement verticalAlignment="Middle">  
459 - <font isBold="true"/>  
460 - </textElement>  
461 - <textFieldExpression><![CDATA["Documento:"]]></textFieldExpression>  
462 - </textField>  
463 - <textField isStretchWithOverflow="true" isBlankWhenNull="true">  
464 - <reportElement stretchType="RelativeToTallestObject" x="62" y="93" width="65" height="20" uuid="584a645c-7718-484f-bbbf-329b285dca42"/>  
465 - <textElement verticalAlignment="Middle">  
466 - <font isBold="true"/>  
467 - </textElement>  
468 - <textFieldExpression><![CDATA["Nota Fiscal: "]]></textFieldExpression>  
469 - </textField>  
470 - <textField isStretchWithOverflow="true" isBlankWhenNull="true">  
471 - <reportElement stretchType="RelativeToTallestObject" x="214" y="92" width="108" height="20" uuid="c0a0f722-bda8-40dd-a04f-644c5039b152"/>  
472 - <textElement verticalAlignment="Middle">  
473 - <font isBold="true"/>  
474 - </textElement>  
475 - <textFieldExpression><![CDATA["Processo de Entrada: "]]></textFieldExpression>  
476 - </textField>  
477 - <textField isStretchWithOverflow="true" isBlankWhenNull="true">  
478 - <reportElement stretchType="RelativeToTallestObject" x="480" y="92" width="56" height="20" uuid="9a5e3d64-5060-4336-9cea-69e18d2ef0ba"/>  
479 - <textElement verticalAlignment="Middle">  
480 - <font isBold="true"/>  
481 - </textElement>  
482 - <textFieldExpression><![CDATA["Empenho: "]]></textFieldExpression>  
483 - </textField>  
484 - <textField isStretchWithOverflow="true" isBlankWhenNull="true">  
485 - <reportElement x="639" y="92" width="50" height="20" uuid="4aca20cd-80dd-47cc-8389-fe56e1761310"/>  
486 - <textElement verticalAlignment="Middle">  
487 - <font isBold="true"/>  
488 - </textElement>  
489 - <textFieldExpression><![CDATA["Contrato:"]]></textFieldExpression>  
490 - </textField>  
491 - <textField isStretchWithOverflow="true" isBlankWhenNull="true">  
492 - <reportElement x="127" y="93" width="100" height="20" uuid="0c5d3d0f-9d8e-42a0-bfb5-f60a5bd87a9f"/>  
493 - <textElement verticalAlignment="Middle"/>  
494 - <textFieldExpression><![CDATA[$P{notaFiscal}]]></textFieldExpression>  
495 - </textField>  
496 - <textField isStretchWithOverflow="true" isBlankWhenNull="true">  
497 - <reportElement x="322" y="93" width="157" height="20" uuid="abeee51f-ad6e-4b80-8192-e9369ceeb56b"/>  
498 - <textElement verticalAlignment="Middle"/>  
499 - <textFieldExpression><![CDATA[$P{processoEntrada}]]></textFieldExpression>  
500 - </textField>  
501 - <textField isStretchWithOverflow="true" isBlankWhenNull="true">  
502 - <reportElement x="536" y="92" width="103" height="20" uuid="078608d5-0e07-4a7e-9429-846494830cf0"/>  
503 - <textElement verticalAlignment="Middle"/>  
504 - <textFieldExpression><![CDATA[$P{empenho}]]></textFieldExpression>  
505 - </textField>  
506 - <textField isStretchWithOverflow="true" isBlankWhenNull="true">  
507 - <reportElement x="689" y="93" width="112" height="20" uuid="34733942-3d5c-4c1a-808d-a36e45241f3b"/>  
508 - <textElement verticalAlignment="Middle"/>  
509 - <textFieldExpression><![CDATA[$P{contrato}]]></textFieldExpression>  
510 - </textField>  
511 - </band>  
512 - </pageHeader>  
513 - <detail>  
514 - <band height="15" splitType="Stretch">  
515 - <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">  
516 - <reportElement stretchType="RelativeToBandHeight" x="639" y="0" width="72" height="15" uuid="0b105f6b-f108-4927-aba7-9405ba2391a2"/>  
517 - <box rightPadding="3">  
518 - <topPen lineWidth="0.25"/>  
519 - <leftPen lineWidth="0.25"/>  
520 - <bottomPen lineWidth="0.25"/>  
521 - <rightPen lineWidth="0.25"/>  
522 - </box>  
523 - <textElement textAlignment="Right" verticalAlignment="Middle">  
524 - <font size="10"/>  
525 - <paragraph rightIndent="2"/>  
526 - </textElement>  
527 - <textFieldExpression><![CDATA[$F{valorunitario}]]></textFieldExpression>  
528 - </textField>  
529 - <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">  
530 - <reportElement stretchType="RelativeToBandHeight" x="711" y="0" width="91" height="15" uuid="c9440374-03af-4638-a3be-8b043a4b2627"/>  
531 - <box rightPadding="3">  
532 - <topPen lineWidth="0.25"/>  
533 - <leftPen lineWidth="0.25"/>  
534 - <bottomPen lineWidth="0.25"/>  
535 - <rightPen lineWidth="0.25"/>  
536 - </box>  
537 - <textElement textAlignment="Right" verticalAlignment="Middle">  
538 - <font size="10"/>  
539 - <paragraph rightIndent="2"/>  
540 - </textElement>  
541 - <textFieldExpression><![CDATA[$F{valortotal}]]></textFieldExpression>  
542 - </textField>  
543 - <textField isStretchWithOverflow="true" pattern="###0" isBlankWhenNull="true">  
544 - <reportElement stretchType="RelativeToBandHeight" x="588" y="0" width="51" height="15" uuid="0e937bba-a434-4290-8d1a-ad1fc6e2e4e1"/>  
545 - <box>  
546 - <topPen lineWidth="0.25"/>  
547 - <leftPen lineWidth="0.25"/>  
548 - <bottomPen lineWidth="0.25"/>  
549 - <rightPen lineWidth="0.25"/>  
550 - </box>  
551 - <textElement textAlignment="Center" verticalAlignment="Middle">  
552 - <font size="10"/>  
553 - </textElement>  
554 - <textFieldExpression><![CDATA[$F{quantidade}]]></textFieldExpression>  
555 - </textField>  
556 - <textField isStretchWithOverflow="true" isBlankWhenNull="true">  
557 - <reportElement stretchType="RelativeToBandHeight" x="0" y="0" width="335" height="15" uuid="ba0e82f9-f36e-421d-bc76-ef15ab51bbe0"/>  
558 - <box leftPadding="3">  
559 - <topPen lineWidth="0.25"/>  
560 - <leftPen lineWidth="0.25"/>  
561 - <bottomPen lineWidth="0.25"/>  
562 - <rightPen lineWidth="0.25"/>  
563 - </box>  
564 - <textElement textAlignment="Left" verticalAlignment="Middle">  
565 - <font size="10" isBold="false"/>  
566 - <paragraph lineSpacing="Single"/>  
567 - </textElement>  
568 - <textFieldExpression><![CDATA[( $F{codigomaterial} != null ? $F{codigomaterial} + " - " : "" ) + $F{nomematerial}]]></textFieldExpression>  
569 - </textField>  
570 - <textField isStretchWithOverflow="true" isBlankWhenNull="true">  
571 - <reportElement stretchType="RelativeToBandHeight" x="358" y="0" width="115" height="15" uuid="290d82a5-71af-4158-b826-6ec67ef9263a"/>  
572 - <box>  
573 - <topPen lineWidth="0.25"/>  
574 - <leftPen lineWidth="0.25"/>  
575 - <bottomPen lineWidth="0.25"/>  
576 - <rightPen lineWidth="0.25"/>  
577 - </box>  
578 - <textElement textAlignment="Center" verticalAlignment="Middle">  
579 - <font size="10"/>  
580 - </textElement>  
581 - <textFieldExpression><![CDATA[$F{finalidadecompra}]]></textFieldExpression>  
582 - </textField>  
583 - <textField isStretchWithOverflow="true" isBlankWhenNull="true">  
584 - <reportElement stretchType="RelativeToBandHeight" x="335" y="0" width="23" height="15" uuid="efa92d3c-723b-491e-80da-9a5862c85fdb"/>  
585 - <box>  
586 - <topPen lineWidth="0.25"/>  
587 - <leftPen lineWidth="0.25"/>  
588 - <bottomPen lineWidth="0.25"/>  
589 - <rightPen lineWidth="0.25"/>  
590 - </box>  
591 - <textElement textAlignment="Center" verticalAlignment="Middle">  
592 - <font size="10"/>  
593 - </textElement>  
594 - <textFieldExpression><![CDATA[$F{unidade}]]></textFieldExpression>  
595 - </textField>  
596 - <textField isStretchWithOverflow="true" isBlankWhenNull="true">  
597 - <reportElement stretchType="RelativeToBandHeight" x="473" y="0" width="115" height="15" uuid="3023825f-84a7-4f75-ba82-3e28d7dc4bee"/>  
598 - <box>  
599 - <topPen lineWidth="0.25"/>  
600 - <leftPen lineWidth="0.25"/>  
601 - <bottomPen lineWidth="0.25"/>  
602 - <rightPen lineWidth="0.25"/>  
603 - </box>  
604 - <textElement textAlignment="Center" verticalAlignment="Middle">  
605 - <font size="10"/>  
606 - </textElement>  
607 - <textFieldExpression><![CDATA[$F{finalidadecompra}]]></textFieldExpression>  
608 - </textField>  
609 - </band>  
610 - </detail>  
611 - <noData>  
612 - <band height="24">  
613 - <staticText>  
614 - <reportElement x="0" y="0" width="802" height="21" uuid="4037aeb6-041e-4f4b-9dd1-0ff89df88a0a"/>  
615 - <textElement textAlignment="Center" verticalAlignment="Middle">  
616 - <font isBold="true"/>  
617 - </textElement>  
618 - <text><![CDATA[Seção Vazia]]></text>  
619 - </staticText>  
620 - </band>  
621 - </noData>  
622 -</jasperReport>  
cit-almoxarifado-web/target/classes/reports/rma.jrxml
@@ -1,455 +0,0 @@ @@ -1,455 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="relatorioMovimentoAlmoxarifado" language="groovy" pageWidth="555" pageHeight="802" whenNoDataType="NoDataSection" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="2a9bde7e-349d-4f0b-b96c-98310606be6f">  
3 - <property name="ireport.zoom" value="1.8150000000000037"/>  
4 - <property name="ireport.x" value="0"/>  
5 - <property name="ireport.y" value="0"/>  
6 - <parameter name="UNIDADE_GESTORA" class="java.lang.String"/>  
7 - <parameter name="DATA_REFERENCIA" class="java.lang.String"/>  
8 - <parameter name="ORGANIZACAO_ID" class="java.lang.Long">  
9 - <defaultValueExpression><![CDATA[]]></defaultValueExpression>  
10 - </parameter>  
11 - <parameter name="TIPO_MATERIAL_ID" class="java.lang.Long">  
12 - <defaultValueExpression><![CDATA[]]></defaultValueExpression>  
13 - </parameter>  
14 - <parameter name="ANO_REFERENCIA_INICIAL" class="java.lang.Integer">  
15 - <defaultValueExpression><![CDATA[]]></defaultValueExpression>  
16 - </parameter>  
17 - <parameter name="MES_REFERENCIA_INICIAL" class="java.lang.Integer">  
18 - <defaultValueExpression><![CDATA[]]></defaultValueExpression>  
19 - </parameter>  
20 - <parameter name="ANO_REFERENCIA_FINAL" class="java.lang.Integer">  
21 - <defaultValueExpression><![CDATA[]]></defaultValueExpression>  
22 - </parameter>  
23 - <parameter name="MES_REFERENCIA_FINAL" class="java.lang.Integer">  
24 - <defaultValueExpression><![CDATA[]]></defaultValueExpression>  
25 - </parameter>  
26 - <parameter name="DIA_REFERENCIA_FINAL" class="java.lang.Integer">  
27 - <defaultValueExpression><![CDATA[]]></defaultValueExpression>  
28 - </parameter>  
29 - <parameter name="MES_REFERENCIA_ANTERIOR" class="java.lang.Integer">  
30 - <defaultValueExpression><![CDATA[]]></defaultValueExpression>  
31 - </parameter>  
32 - <parameter name="ANO_REFERENCIA_ANTERIOR" class="java.lang.Integer">  
33 - <defaultValueExpression><![CDATA[]]></defaultValueExpression>  
34 - </parameter>  
35 - <parameter name="APURACAO" class="java.lang.String"/>  
36 - <queryString>  
37 - <![CDATA[select distinct  
38 - contaContabil.codigo,  
39 - (contaContabil.codigo || ' - ' || contaContabil.descricao) as conta,  
40 - saldo.valor as saldoAnterior,  
41 - (select sum(mov.valor)  
42 - from ContaContabilMovimento mov  
43 - left join contaContabil cc on cc.id = mov.contacontabil_id  
44 - where cc.organizacao_id = $P{ORGANIZACAO_ID} and  
45 - mov.dataInativo is null and  
46 - mov.contaContabil_id = contaContabil.id and  
47 - mov.tipomovimentocontacontabil_id = (select id from Dominio where chave = 'tipoMovimentoContaContabil' and codigo = 1)  
48 - and mov.dataReferencia BETWEEN (TO_TIMESTAMP($P{ANO_REFERENCIA_INICIAL}||'-'||$P{MES_REFERENCIA_INICIAL}||'-'||1,'YYYY-MM-DD')::timestamp without time zone)  
49 - and (TO_TIMESTAMP($P{ANO_REFERENCIA_FINAL}||'-'||$P{MES_REFERENCIA_FINAL}||'-'||$P{DIA_REFERENCIA_FINAL}||' 23:59:59','YYYY-MM-DD HH24:MI:SS')::timestamp without time zone)) as entradaOrcamentaria,  
50 -  
51 - (select sum(mov.valor)  
52 - from ContaContabilMovimento mov  
53 - left join contaContabil cc on cc.id = mov.contacontabil_id  
54 - where cc.organizacao_id = $P{ORGANIZACAO_ID} and  
55 - mov.dataInativo is null and  
56 - mov.contaContabil_id = contaContabil.id and  
57 - mov.tipomovimentocontacontabil_id = (select id from Dominio where chave = 'tipoMovimentoContaContabil' and codigo = 3)  
58 - and mov.dataReferencia BETWEEN (TO_TIMESTAMP($P{ANO_REFERENCIA_INICIAL}||'-'||$P{MES_REFERENCIA_INICIAL}||'-'||1,'YYYY-MM-DD')::timestamp without time zone)  
59 - and (TO_TIMESTAMP($P{ANO_REFERENCIA_FINAL}||'-'||$P{MES_REFERENCIA_FINAL}||'-'||$P{DIA_REFERENCIA_FINAL}||' 23:59:59','YYYY-MM-DD HH24:MI:SS')::timestamp without time zone)) as entradaExtraOrcamentaria,  
60 -  
61 - (select sum(mov.valor)  
62 - from ContaContabilMovimento mov  
63 - left join contaContabil cc on cc.id = mov.contacontabil_id  
64 - where cc.organizacao_id = $P{ORGANIZACAO_ID} and  
65 - mov.dataInativo is null and  
66 - mov.contaContabil_id = contaContabil.id and  
67 - mov.tipomovimentocontacontabil_id in (select id from Dominio where chave = 'tipoMovimentoContaContabil' and (codigo = 2 or codigo = 4))  
68 - and mov.dataReferencia BETWEEN (TO_TIMESTAMP($P{ANO_REFERENCIA_INICIAL}||'-'||$P{MES_REFERENCIA_INICIAL}||'-'||1,'YYYY-MM-DD')::timestamp without time zone) and (TO_TIMESTAMP($P{ANO_REFERENCIA_FINAL}||'-'||$P{MES_REFERENCIA_FINAL}||'-'||$P{DIA_REFERENCIA_FINAL}||' 23:59:59','YYYY-MM-DD HH24:MI:SS')::timestamp without time zone)  
69 - ) as saida  
70 -  
71 -from contaContabil  
72 -left join ContaContabilSaldo saldo on saldo.contaContabil_id = contaContabil.id and EXTRACT(month FROM saldo.dataReferencia) = $P{MES_REFERENCIA_ANTERIOR} and EXTRACT(year FROM saldo.dataReferencia) = $P{ANO_REFERENCIA_ANTERIOR}  
73 -inner join contacontabilconfigreferencia confRef on confRef.contaContabil_id = contaContabil.id and confRef.mesReferencia BETWEEN (TO_TIMESTAMP($P{ANO_REFERENCIA_INICIAL}||'-'||$P{MES_REFERENCIA_INICIAL}||'-'||1,'YYYY-MM-DD')::timestamp without time zone) and (TO_TIMESTAMP($P{ANO_REFERENCIA_FINAL}||'-'||$P{MES_REFERENCIA_FINAL}||'-'||$P{DIA_REFERENCIA_FINAL}||' 23:59:59','YYYY-MM-DD HH24:MI:SS')::timestamp without time zone)  
74 -and confRef.apresentarma = true  
75 -where contaContabil.organizacao_id = $P{ORGANIZACAO_ID} and contaContabil.dataInativo is null and contaContabil.dominiotipomaterial_id = $P{TIPO_MATERIAL_ID}  
76 -order by contaContabil.codigo]]>  
77 - </queryString>  
78 - <field name="codigo" class="java.lang.String"/>  
79 - <field name="conta" class="java.lang.String"/>  
80 - <field name="saldoanterior" class="java.math.BigDecimal"/>  
81 - <field name="entradaorcamentaria" class="java.math.BigDecimal"/>  
82 - <field name="entradaextraorcamentaria" class="java.math.BigDecimal"/>  
83 - <field name="saida" class="java.math.BigDecimal"/>  
84 - <variable name="totalEntradaOrcamentaria" class="java.lang.Double" calculation="Sum">  
85 - <variableExpression><![CDATA[$F{entradaorcamentaria}]]></variableExpression>  
86 - </variable>  
87 - <variable name="totalEntradaExtraOrcamentaria" class="java.lang.Double" calculation="Sum">  
88 - <variableExpression><![CDATA[$F{entradaextraorcamentaria}]]></variableExpression>  
89 - </variable>  
90 - <variable name="totalSaida" class="java.lang.Double" calculation="Sum">  
91 - <variableExpression><![CDATA[$F{saida}.abs()]]></variableExpression>  
92 - </variable>  
93 - <variable name="totalSaldoAtual" class="java.lang.Double" calculation="Sum">  
94 - <variableExpression><![CDATA[$F{saldoanterior} + ($F{entradaorcamentaria} == null ? new Double(0) : $F{entradaorcamentaria} ) + ($F{entradaextraorcamentaria} == null ? new Double(0) : $F{entradaextraorcamentaria}) + ($F{saida} == null ? new Double(0) : $F{saida})]]></variableExpression>  
95 - </variable>  
96 - <variable name="totalSaldoAnterior" class="java.lang.Double" calculation="Sum">  
97 - <variableExpression><![CDATA[$F{saldoanterior}]]></variableExpression>  
98 - </variable>  
99 - <background>  
100 - <band splitType="Stretch"/>  
101 - </background>  
102 - <pageHeader>  
103 - <band height="31" splitType="Stretch">  
104 - <textField isBlankWhenNull="true">  
105 - <reportElement x="77" y="0" width="478" height="11" uuid="d6a5159b-be44-4ec9-a5b6-d6ebd69a5411"/>  
106 - <textElement>  
107 - <font fontName="SansSerif" size="8"/>  
108 - </textElement>  
109 - <textFieldExpression><![CDATA[$P{UNIDADE_GESTORA}]]></textFieldExpression>  
110 - </textField>  
111 - <staticText>  
112 - <reportElement x="0" y="0" width="77" height="11" uuid="397d228a-423a-43fb-ad62-2438f72d7902"/>  
113 - <textElement>  
114 - <font size="8" isBold="true"/>  
115 - </textElement>  
116 - <text><![CDATA[Unidade:]]></text>  
117 - </staticText>  
118 - <staticText>  
119 - <reportElement x="0" y="11" width="77" height="11" uuid="c04ca055-87d8-4785-97b2-0d0537aeda82"/>  
120 - <textElement>  
121 - <font size="8" isBold="true"/>  
122 - </textElement>  
123 - <text><![CDATA[Referência:]]></text>  
124 - </staticText>  
125 - <textField pattern="MMMMM &apos;de&apos; yyyy" isBlankWhenNull="true">  
126 - <reportElement x="77" y="11" width="135" height="11" uuid="aab1dff6-5dd4-4f23-9ab5-82dece3611f4"/>  
127 - <textElement>  
128 - <font fontName="SansSerif" size="8"/>  
129 - </textElement>  
130 - <textFieldExpression><![CDATA[$P{DATA_REFERENCIA}]]></textFieldExpression>  
131 - </textField>  
132 - <textField pattern="MMMMM &apos;de&apos; yyyy" isBlankWhenNull="true">  
133 - <reportElement x="289" y="11" width="135" height="11" uuid="db6e47ee-4f94-4308-b967-ff4fcab32712"/>  
134 - <textElement verticalAlignment="Middle">  
135 - <font fontName="SansSerif" size="8"/>  
136 - </textElement>  
137 - <textFieldExpression><![CDATA[$P{APURACAO}]]></textFieldExpression>  
138 - </textField>  
139 - <staticText>  
140 - <reportElement x="212" y="11" width="77" height="11" uuid="0e913f16-faa1-4652-903b-cb23df92d971"/>  
141 - <textElement verticalAlignment="Middle">  
142 - <font size="8" isBold="true"/>  
143 - </textElement>  
144 - <text><![CDATA[Apuração:]]></text>  
145 - </staticText>  
146 - </band>  
147 - </pageHeader>  
148 - <columnHeader>  
149 - <band height="22" splitType="Stretch">  
150 - <staticText>  
151 - <reportElement x="0" y="0" width="180" height="22" uuid="63bc5f2d-b599-4067-8d7e-ba4832469c89"/>  
152 - <box>  
153 - <pen lineWidth="0.0"/>  
154 - <topPen lineWidth="0.5"/>  
155 - <leftPen lineWidth="0.5"/>  
156 - <bottomPen lineWidth="0.5"/>  
157 - <rightPen lineWidth="0.5"/>  
158 - </box>  
159 - <textElement textAlignment="Center" verticalAlignment="Middle">  
160 - <font fontName="SansSerif" size="8" isBold="true"/>  
161 - </textElement>  
162 - <text><![CDATA[Conta]]></text>  
163 - </staticText>  
164 - <staticText>  
165 - <reportElement x="180" y="0" width="75" height="22" uuid="98d05e4c-0085-4f8b-97b3-fe05b0b60b4e"/>  
166 - <box>  
167 - <pen lineWidth="0.0"/>  
168 - <topPen lineWidth="0.5"/>  
169 - <leftPen lineWidth="0.0"/>  
170 - <bottomPen lineWidth="0.5"/>  
171 - <rightPen lineWidth="0.0"/>  
172 - </box>  
173 - <textElement textAlignment="Center" verticalAlignment="Middle">  
174 - <font fontName="SansSerif" size="8" isBold="true"/>  
175 - </textElement>  
176 - <text><![CDATA[Saldo Anterior]]></text>  
177 - </staticText>  
178 - <staticText>  
179 - <reportElement x="255" y="11" width="75" height="11" uuid="a0443ff4-b5ef-4b2b-98fd-eb27435c164f"/>  
180 - <box>  
181 - <pen lineWidth="0.0"/>  
182 - <topPen lineWidth="0.5"/>  
183 - <leftPen lineWidth="0.5"/>  
184 - <bottomPen lineWidth="0.5"/>  
185 - <rightPen lineWidth="0.5"/>  
186 - </box>  
187 - <textElement textAlignment="Center" verticalAlignment="Middle">  
188 - <font fontName="SansSerif" size="8" isBold="true"/>  
189 - </textElement>  
190 - <text><![CDATA[Orçamentária]]></text>  
191 - </staticText>  
192 - <staticText>  
193 - <reportElement x="330" y="11" width="75" height="11" uuid="7ee9c889-01b7-482a-982c-b3e9051e9cf6"/>  
194 - <box>  
195 - <pen lineWidth="0.0"/>  
196 - <topPen lineWidth="0.5"/>  
197 - <leftPen lineWidth="0.5"/>  
198 - <bottomPen lineWidth="0.5"/>  
199 - <rightPen lineWidth="0.5"/>  
200 - </box>  
201 - <textElement textAlignment="Center" verticalAlignment="Middle">  
202 - <font fontName="SansSerif" size="8" isBold="true"/>  
203 - </textElement>  
204 - <text><![CDATA[Ex. Orçamentarias]]></text>  
205 - </staticText>  
206 - <staticText>  
207 - <reportElement x="405" y="0" width="75" height="22" uuid="2c4d6887-0dd0-464d-bf61-8e69a6829acd"/>  
208 - <box>  
209 - <pen lineWidth="0.0"/>  
210 - <topPen lineWidth="0.5"/>  
211 - <leftPen lineWidth="0.0"/>  
212 - <bottomPen lineWidth="0.5"/>  
213 - <rightPen lineWidth="0.5"/>  
214 - </box>  
215 - <textElement textAlignment="Center" verticalAlignment="Middle">  
216 - <font fontName="SansSerif" size="8" isBold="true"/>  
217 - </textElement>  
218 - <text><![CDATA[Saídas]]></text>  
219 - </staticText>  
220 - <staticText>  
221 - <reportElement x="480" y="0" width="75" height="22" uuid="670bed1d-c565-4d60-8202-263baefb675a"/>  
222 - <box>  
223 - <pen lineWidth="0.0"/>  
224 - <topPen lineWidth="0.5"/>  
225 - <leftPen lineWidth="0.0"/>  
226 - <bottomPen lineWidth="0.5"/>  
227 - <rightPen lineWidth="0.5"/>  
228 - </box>  
229 - <textElement textAlignment="Center" verticalAlignment="Middle">  
230 - <font fontName="SansSerif" size="8" isBold="true"/>  
231 - </textElement>  
232 - <text><![CDATA[Saldo Atual]]></text>  
233 - </staticText>  
234 - <staticText>  
235 - <reportElement x="255" y="0" width="150" height="11" uuid="c938c23c-f8e5-4a74-bfd5-1fec4d4d8a87"/>  
236 - <box>  
237 - <pen lineWidth="0.0"/>  
238 - <topPen lineWidth="0.5"/>  
239 - <leftPen lineWidth="0.5"/>  
240 - <bottomPen lineWidth="0.0"/>  
241 - <rightPen lineWidth="0.5"/>  
242 - </box>  
243 - <textElement textAlignment="Center" verticalAlignment="Middle">  
244 - <font fontName="SansSerif" size="8" isBold="true"/>  
245 - </textElement>  
246 - <text><![CDATA[Entradas]]></text>  
247 - </staticText>  
248 - </band>  
249 - </columnHeader>  
250 - <detail>  
251 - <band height="11" splitType="Stretch">  
252 - <frame>  
253 - <reportElement positionType="Float" x="0" y="0" width="555" height="11" uuid="5c02e3cc-a5e6-4943-8248-0b603097c9c9"/>  
254 - <textField isStretchWithOverflow="true" evaluationTime="Auto" pattern="¤ #,##0.00" isBlankWhenNull="true">  
255 - <reportElement positionType="Float" x="480" y="0" width="75" height="11" uuid="b274cf31-7c5c-41f0-b4fb-cdc881b54bf9"/>  
256 - <box rightPadding="5">  
257 - <pen lineWidth="0.0"/>  
258 - <topPen lineWidth="0.0"/>  
259 - <leftPen lineWidth="0.0"/>  
260 - <bottomPen lineWidth="0.5"/>  
261 - <rightPen lineWidth="0.5"/>  
262 - </box>  
263 - <textElement textAlignment="Right" verticalAlignment="Middle">  
264 - <font fontName="SansSerif" size="7"/>  
265 - </textElement>  
266 - <textFieldExpression><![CDATA[$F{saldoanterior} + ($F{entradaorcamentaria} == null ? 0 : $F{entradaorcamentaria} ) + ($F{entradaextraorcamentaria} == null ? 0 : $F{entradaextraorcamentaria}) + ($F{saida} == null ? 0 : $F{saida})]]></textFieldExpression>  
267 - </textField>  
268 - <textField isStretchWithOverflow="true" evaluationTime="Auto" pattern="¤ #,##0.00" isBlankWhenNull="true">  
269 - <reportElement positionType="Float" x="405" y="0" width="75" height="11" uuid="e6306603-a307-4336-85a8-5ee264e36ace"/>  
270 - <box rightPadding="5">  
271 - <pen lineWidth="0.0"/>  
272 - <topPen lineWidth="0.0"/>  
273 - <leftPen lineWidth="0.0"/>  
274 - <bottomPen lineWidth="0.5"/>  
275 - <rightPen lineWidth="0.5"/>  
276 - </box>  
277 - <textElement textAlignment="Right" verticalAlignment="Middle">  
278 - <font fontName="SansSerif" size="7"/>  
279 - </textElement>  
280 - <textFieldExpression><![CDATA[$F{saida} == null ? 0 : $F{saida}.abs()]]></textFieldExpression>  
281 - </textField>  
282 - <textField isStretchWithOverflow="true" evaluationTime="Auto" pattern="¤ #,##0.00" isBlankWhenNull="true">  
283 - <reportElement positionType="Float" x="330" y="0" width="75" height="11" uuid="cf78575e-de6c-4ee2-9a94-76c68fb45ccd"/>  
284 - <box rightPadding="5">  
285 - <pen lineWidth="0.0"/>  
286 - <topPen lineWidth="0.0"/>  
287 - <leftPen lineWidth="0.0"/>  
288 - <bottomPen lineWidth="0.5"/>  
289 - <rightPen lineWidth="0.5"/>  
290 - </box>  
291 - <textElement textAlignment="Right" verticalAlignment="Middle">  
292 - <font fontName="SansSerif" size="7"/>  
293 - </textElement>  
294 - <textFieldExpression><![CDATA[$F{entradaextraorcamentaria} == null ? 0 : $F{entradaextraorcamentaria}]]></textFieldExpression>  
295 - </textField>  
296 - <textField isStretchWithOverflow="true" evaluationTime="Auto" pattern="¤ #,##0.00" isBlankWhenNull="true">  
297 - <reportElement positionType="Float" x="180" y="0" width="75" height="11" uuid="65dac464-35ed-4f88-93f0-e625c3b54da8"/>  
298 - <box rightPadding="5">  
299 - <pen lineWidth="0.0"/>  
300 - <topPen lineWidth="0.0"/>  
301 - <leftPen lineWidth="0.0"/>  
302 - <bottomPen lineWidth="0.5"/>  
303 - <rightPen lineWidth="0.0"/>  
304 - </box>  
305 - <textElement textAlignment="Right" verticalAlignment="Middle">  
306 - <font fontName="SansSerif" size="7"/>  
307 - </textElement>  
308 - <textFieldExpression><![CDATA[$F{saldoanterior}]]></textFieldExpression>  
309 - </textField>  
310 - <textField isBlankWhenNull="true">  
311 - <reportElement positionType="Float" x="0" y="0" width="180" height="11" isPrintWhenDetailOverflows="true" uuid="5ec09fbe-9853-46c9-a19d-ecf0f1c8fe80"/>  
312 - <box leftPadding="5">  
313 - <pen lineWidth="0.0"/>  
314 - <topPen lineWidth="0.5"/>  
315 - <leftPen lineWidth="0.5"/>  
316 - <bottomPen lineWidth="0.5"/>  
317 - <rightPen lineWidth="0.5"/>  
318 - </box>  
319 - <textElement verticalAlignment="Middle">  
320 - <font fontName="SansSerif" size="7"/>  
321 - </textElement>  
322 - <textFieldExpression><![CDATA[$F{conta}]]></textFieldExpression>  
323 - </textField>  
324 - <textField isStretchWithOverflow="true" evaluationTime="Auto" pattern="¤ #,##0.00" isBlankWhenNull="true">  
325 - <reportElement positionType="Float" x="255" y="0" width="75" height="11" uuid="fd25b71e-b09a-45c5-8c7a-3df54f4449b5"/>  
326 - <box rightPadding="5">  
327 - <pen lineWidth="0.0"/>  
328 - <topPen lineWidth="0.0"/>  
329 - <leftPen lineWidth="0.5"/>  
330 - <bottomPen lineWidth="0.5"/>  
331 - <rightPen lineWidth="0.5"/>  
332 - </box>  
333 - <textElement textAlignment="Right" verticalAlignment="Middle">  
334 - <font fontName="SansSerif" size="7"/>  
335 - </textElement>  
336 - <textFieldExpression><![CDATA[$F{entradaorcamentaria} == null ? 0 : $F{entradaorcamentaria}]]></textFieldExpression>  
337 - </textField>  
338 - </frame>  
339 - </band>  
340 - </detail>  
341 - <columnFooter>  
342 - <band splitType="Stretch"/>  
343 - </columnFooter>  
344 - <pageFooter>  
345 - <band splitType="Stretch"/>  
346 - </pageFooter>  
347 - <summary>  
348 - <band height="44" splitType="Stretch">  
349 - <staticText>  
350 - <reportElement x="12" y="18" width="65" height="13" uuid="15adafa5-a312-4dda-84c7-478c683b8b29"/>  
351 - <textElement textAlignment="Center" verticalAlignment="Middle">  
352 - <font size="8" isBold="true"/>  
353 - </textElement>  
354 - <text><![CDATA[Local e Data:]]></text>  
355 - </staticText>  
356 - <staticText>  
357 - <reportElement x="344" y="31" width="159" height="13" uuid="546d7209-00cf-4d29-9f03-730f4eadff92"/>  
358 - <textElement textAlignment="Center" verticalAlignment="Middle">  
359 - <font size="8" isBold="true"/>  
360 - </textElement>  
361 - <text><![CDATA[Seção de Almoxarifado]]></text>  
362 - </staticText>  
363 - <line>  
364 - <reportElement x="344" y="30" width="159" height="1" uuid="c3f4f9e5-e667-4361-a8a0-dc22018bd862"/>  
365 - </line>  
366 - <staticText>  
367 - <reportElement x="77" y="18" width="217" height="13" uuid="a4641ac4-dd95-4505-88aa-7f4e6f56bc53"/>  
368 - <text><![CDATA[_______________, _____ / _____ / _________ .]]></text>  
369 - </staticText>  
370 - <frame>  
371 - <reportElement positionType="Float" x="0" y="0" width="555" height="11" uuid="90755399-4d6c-44eb-ac00-6e100fe1ce21"/>  
372 - <textField isStretchWithOverflow="true" pattern="¤ #,##0.00" isBlankWhenNull="true">  
373 - <reportElement positionType="Float" stretchType="RelativeToBandHeight" x="255" y="0" width="75" height="11" uuid="7ae834a0-908f-4002-87f4-750c6622cc4f"/>  
374 - <box rightPadding="5">  
375 - <leftPen lineWidth="0.5"/>  
376 - <bottomPen lineWidth="0.5"/>  
377 - <rightPen lineWidth="0.5"/>  
378 - </box>  
379 - <textElement textAlignment="Right" verticalAlignment="Middle">  
380 - <font fontName="SansSerif" size="7"/>  
381 - </textElement>  
382 - <textFieldExpression><![CDATA[$V{totalEntradaOrcamentaria} == null ? 0 : $V{totalEntradaOrcamentaria}]]></textFieldExpression>  
383 - </textField>  
384 - <textField isStretchWithOverflow="true" pattern="¤ #,##0.00" isBlankWhenNull="true">  
385 - <reportElement positionType="Float" stretchType="RelativeToBandHeight" x="330" y="0" width="75" height="11" uuid="fda3ba59-b94e-4751-b17a-b061911be71b"/>  
386 - <box rightPadding="5">  
387 - <bottomPen lineWidth="0.5"/>  
388 - <rightPen lineWidth="0.5"/>  
389 - </box>  
390 - <textElement textAlignment="Right" verticalAlignment="Middle">  
391 - <font fontName="SansSerif" size="7"/>  
392 - </textElement>  
393 - <textFieldExpression><![CDATA[$V{totalEntradaExtraOrcamentaria} == null ? 0 : $V{totalEntradaExtraOrcamentaria}]]></textFieldExpression>  
394 - </textField>  
395 - <textField isStretchWithOverflow="true" pattern="¤ #,##0.00" isBlankWhenNull="true">  
396 - <reportElement positionType="Float" stretchType="RelativeToBandHeight" x="405" y="0" width="75" height="11" uuid="4ce664b0-8f64-4f7f-894a-74b4ca02ee92"/>  
397 - <box rightPadding="5">  
398 - <bottomPen lineWidth="0.5"/>  
399 - <rightPen lineWidth="0.5"/>  
400 - </box>  
401 - <textElement textAlignment="Right" verticalAlignment="Middle">  
402 - <font fontName="SansSerif" size="7"/>  
403 - </textElement>  
404 - <textFieldExpression><![CDATA[$V{totalSaida} == null ? 0 : $V{totalSaida}]]></textFieldExpression>  
405 - </textField>  
406 - <textField isStretchWithOverflow="true" pattern="¤ #,##0.00" isBlankWhenNull="true">  
407 - <reportElement positionType="Float" stretchType="RelativeToBandHeight" x="480" y="0" width="75" height="11" uuid="8b8bac6b-3a53-4f60-8c03-371bae2b6c82"/>  
408 - <box rightPadding="5">  
409 - <leftPen lineWidth="0.0"/>  
410 - <bottomPen lineWidth="0.5"/>  
411 - <rightPen lineWidth="0.5"/>  
412 - </box>  
413 - <textElement textAlignment="Right" verticalAlignment="Middle">  
414 - <font fontName="SansSerif" size="7"/>  
415 - </textElement>  
416 - <textFieldExpression><![CDATA[$V{totalSaldoAtual}]]></textFieldExpression>  
417 - </textField>  
418 - <staticText>  
419 - <reportElement positionType="Float" stretchType="RelativeToBandHeight" x="0" y="0" width="180" height="11" uuid="b3325066-f2f1-49fa-8618-3c350ebc0402"/>  
420 - <box rightPadding="5">  
421 - <leftPen lineWidth="0.5"/>  
422 - <bottomPen lineWidth="0.5"/>  
423 - <rightPen lineWidth="0.5"/>  
424 - </box>  
425 - <textElement textAlignment="Right" verticalAlignment="Middle">  
426 - <font fontName="SansSerif" size="8" isBold="true"/>  
427 - </textElement>  
428 - <text><![CDATA[Total]]></text>  
429 - </staticText>  
430 - <textField isStretchWithOverflow="true" pattern="¤ #,##0.00" isBlankWhenNull="true">  
431 - <reportElement positionType="Float" stretchType="RelativeToBandHeight" x="180" y="0" width="75" height="11" uuid="9f96721a-b6ad-456c-876a-7c504e45c7ca"/>  
432 - <box rightPadding="5">  
433 - <leftPen lineWidth="0.0"/>  
434 - <bottomPen lineWidth="0.5"/>  
435 - </box>  
436 - <textElement textAlignment="Right" verticalAlignment="Middle">  
437 - <font fontName="SansSerif" size="7"/>  
438 - </textElement>  
439 - <textFieldExpression><![CDATA[$V{totalSaldoAnterior}]]></textFieldExpression>  
440 - </textField>  
441 - </frame>  
442 - </band>  
443 - </summary>  
444 - <noData>  
445 - <band height="20">  
446 - <staticText>  
447 - <reportElement x="0" y="0" width="555" height="20" uuid="5ca338cd-0f13-4eb0-ab7a-3003196e57c3"/>  
448 - <textElement textAlignment="Center" verticalAlignment="Middle">  
449 - <font isBold="true"/>  
450 - </textElement>  
451 - <text><![CDATA[Seção vazia]]></text>  
452 - </staticText>  
453 - </band>  
454 - </noData>  
455 -</jasperReport>  
cit-almoxarifado-web/target/classes/reports/saidaAlmoxarifado.jrxml
@@ -1,297 +0,0 @@ @@ -1,297 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="saidaAlmoxarifado" language="groovy" pageWidth="802" pageHeight="555" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="79853430-162e-47a5-8bc9-a1f82ea35803">  
3 - <property name="ireport.zoom" value="1.3660269107301424"/>  
4 - <property name="ireport.x" value="0"/>  
5 - <property name="ireport.y" value="0"/>  
6 - <parameter name="orgaoNome" class="java.lang.String" isForPrompting="false"/>  
7 - <parameter name="dataInicio" class="java.lang.String" isForPrompting="false"/>  
8 - <parameter name="dataFim" class="java.lang.String" isForPrompting="false"/>  
9 - <parameter name="idsMateriais" class="java.util.Collection" isForPrompting="false"/>  
10 - <parameter name="idAlmoxarifado" class="java.lang.Long" isForPrompting="false"/>  
11 - <parameter name="idTipoSaida" class="java.lang.Integer" isForPrompting="false"/>  
12 - <parameter name="nomeTipoSaida" class="java.lang.String" isForPrompting="false"/>  
13 - <parameter name="idTipoBaixa" class="java.lang.Long" isForPrompting="false"/>  
14 - <parameter name="nomeTipoBaixa" class="java.lang.String" isForPrompting="false"/>  
15 - <parameter name="query_requisicao" class="java.lang.String" isForPrompting="false">  
16 - <defaultValueExpression><![CDATA[($P{nomeTipoSaida}.equals("Baixa") ? "" : "select "+  
17 - "m.descricao as nomeMaterial, "+  
18 - "rc.numerorequisicao as numeroDocumentoRequisicao, "+  
19 - "null as numeroDocumentoBaixa, "+  
20 - "rc.datarequisicao as data, "+  
21 - "'Requisição' as tipoSaida, "+  
22 - "eo.nome as destino, "+  
23 - "rci.quantidade as quantidadePedida, "+  
24 - "arci.quantidade as quantidadeFornecida, "+  
25 - "m.id as idMaterial "+  
26 -"from atendimentorequisicaoconsumo arc "+  
27 - "inner join requisicaoconsumo rc on arc.requisicaoconsumo_id = rc.id "+  
28 - "inner join requisicaoconsumoitem rci on rc.id = rci.requisicaoconsumo_id "+  
29 - "inner join estruturaorganizacional eo on eo.id = rc.unidaderequisitante_id "+  
30 - "left join atendimentoreqconsumoitem arci on arci.atendimentoreqconsumo_id = arc.id "+  
31 - "left join material m on m.id = rci.materialconsumo_id "+  
32 -"where rc.almoxarifado_id = " + $P{idAlmoxarifado} +  
33 - " and rc.datarequisicao between (TO_TIMESTAMP('"+$P{dataInicio}+"','YYYY-MM-DD HH24:MI:SS')::timestamp without time zone) and (TO_TIMESTAMP('"+ $P{dataFim} +"','YYYY-MM-DD HH24:MI:SS')::timestamp without time zone) " +  
34 - " and arc.datainativo is null")]]></defaultValueExpression>  
35 - </parameter>  
36 - <parameter name="query_union" class="java.lang.String" isForPrompting="false">  
37 - <defaultValueExpression><![CDATA[( $P{idTipoSaida} != null ? "" : " UNION " )]]></defaultValueExpression>  
38 - </parameter>  
39 - <parameter name="query_filtro_tipoBaixa" class="java.lang.String" isForPrompting="false">  
40 - <defaultValueExpression><![CDATA[($P{idTipoBaixa} != null ? " and bm.dominiotipobaixa_id = " + $P{idTipoBaixa} : "")]]></defaultValueExpression>  
41 - </parameter>  
42 - <parameter name="query_baixa" class="java.lang.String">  
43 - <defaultValueExpression><![CDATA[($P{nomeTipoSaida}.equals("Requisição")? "" : "select "+  
44 - "m.descricao as nomeMaterial, "+  
45 - "null as numeroDocumentoRequisicao, "+  
46 - "bm.numerobaixa as numeroDocumentoBaixa, "+  
47 - "bm.databaixa as data, "+  
48 - "'Baixa' as tipoSaida, "+  
49 - "pp.nome as destino, "+  
50 - "null as quantidadePedida, "+  
51 - "bmi.quantidade as quantidadeFornecida, "+  
52 - "m.id as idMaterial "+  
53 -"from baixaalmoxarifado bm "+  
54 - "inner join baixaalmoxarifadoitem bmi on bm.id = bmi.baixaalmoxarifado_id "+  
55 - "inner join parceiro p on p.id = bm.destino_id "+  
56 - "inner join pessoa pp on pp.id = p.pessoa_id "+  
57 - "left join material m on m.id = bmi.materialconsumo_id "+  
58 - "left join dominio d on d.id = bm.dominiotipobaixa_id " +  
59 -"where bm.almoxarifado_id = " + $P{idAlmoxarifado} + $P{query_filtro_tipoBaixa} +  
60 -" and bm.databaixa between (TO_TIMESTAMP('" + $P{dataInicio} + "','YYYY-MM-DD HH24:MI:SS')::timestamp without time zone) and (TO_TIMESTAMP('"+ $P{dataFim}+ "','YYYY-MM-DD HH24:MI:SS')::timestamp without time zone)")]]></defaultValueExpression>  
61 - </parameter>  
62 - <queryString>  
63 - <![CDATA[select  
64 - nomeMaterial,  
65 - numeroDocumentoRequisicao,  
66 - numeroDocumentoBaixa,  
67 - data,  
68 - tipoSaida,  
69 - destino,  
70 - quantidadePedida,  
71 - quantidadeFornecida,  
72 - idMaterial  
73 -from  
74 - (  
75 - $P!{query_requisicao}  
76 - $P!{query_union}  
77 - $P!{query_baixa}  
78 - ) view  
79 -where $X{IN,idMaterial,idsMateriais}  
80 -order by nomeMaterial]]>  
81 - </queryString>  
82 - <field name="nomematerial" class="java.lang.String"/>  
83 - <field name="numerodocumentorequisicao" class="java.lang.String"/>  
84 - <field name="numerodocumentobaixa" class="java.lang.Long"/>  
85 - <field name="data" class="java.sql.Timestamp"/>  
86 - <field name="tiposaida" class="java.lang.String"/>  
87 - <field name="destino" class="java.lang.String"/>  
88 - <field name="quantidadepedida" class="java.math.BigDecimal"/>  
89 - <field name="quantidadefornecida" class="java.math.BigDecimal"/>  
90 - <field name="idmaterial" class="java.lang.Long"/>  
91 - <group name="groupMaterial">  
92 - <groupExpression><![CDATA[$F{nomematerial}]]></groupExpression>  
93 - <groupHeader>  
94 - <band height="53">  
95 - <staticText>  
96 - <reportElement x="0" y="23" width="79" height="30" uuid="52142d79-a3a0-4a41-9ced-acfe701c7ea8"/>  
97 - <box>  
98 - <topPen lineWidth="0.25"/>  
99 - <leftPen lineWidth="0.25"/>  
100 - <bottomPen lineWidth="0.25"/>  
101 - <rightPen lineWidth="0.25"/>  
102 - </box>  
103 - <textElement textAlignment="Center" verticalAlignment="Middle">  
104 - <font isBold="true"/>  
105 - </textElement>  
106 - <text><![CDATA[Nº  
107 -Documento]]></text>  
108 - </staticText>  
109 - <staticText>  
110 - <reportElement x="79" y="23" width="100" height="30" uuid="fc2d7b74-7d3f-40a3-87da-b1f8453670bc"/>  
111 - <box>  
112 - <topPen lineWidth="0.25"/>  
113 - <leftPen lineWidth="0.25"/>  
114 - <bottomPen lineWidth="0.25"/>  
115 - <rightPen lineWidth="0.25"/>  
116 - </box>  
117 - <textElement textAlignment="Center" verticalAlignment="Middle">  
118 - <font isBold="true"/>  
119 - </textElement>  
120 - <text><![CDATA[Data]]></text>  
121 - </staticText>  
122 - <staticText>  
123 - <reportElement x="179" y="23" width="98" height="30" uuid="48e0583c-a7aa-4bc5-a3ea-f61261fb7103"/>  
124 - <box>  
125 - <topPen lineWidth="0.25"/>  
126 - <leftPen lineWidth="0.25"/>  
127 - <bottomPen lineWidth="0.25"/>  
128 - <rightPen lineWidth="0.25"/>  
129 - </box>  
130 - <textElement textAlignment="Center" verticalAlignment="Middle">  
131 - <font isBold="true"/>  
132 - </textElement>  
133 - <text><![CDATA[Tipo  
134 -de Saída]]></text>  
135 - </staticText>  
136 - <staticText>  
137 - <reportElement x="277" y="23" width="325" height="30" uuid="5310c6c4-d464-4b76-b608-29ab3e1537fc"/>  
138 - <box>  
139 - <topPen lineWidth="0.25"/>  
140 - <leftPen lineWidth="0.25"/>  
141 - <bottomPen lineWidth="0.25"/>  
142 - <rightPen lineWidth="0.25"/>  
143 - </box>  
144 - <textElement textAlignment="Center" verticalAlignment="Middle">  
145 - <font isBold="true"/>  
146 - </textElement>  
147 - <text><![CDATA[Destino]]></text>  
148 - </staticText>  
149 - <staticText>  
150 - <reportElement x="602" y="23" width="101" height="30" uuid="e1b3e02a-c01a-48fe-ad9f-e1a67c4587c4"/>  
151 - <box>  
152 - <topPen lineWidth="0.25"/>  
153 - <leftPen lineWidth="0.25"/>  
154 - <bottomPen lineWidth="0.25"/>  
155 - <rightPen lineWidth="0.25"/>  
156 - </box>  
157 - <textElement textAlignment="Center" verticalAlignment="Middle">  
158 - <font isBold="true"/>  
159 - </textElement>  
160 - <text><![CDATA[Qtd.  
161 - Pedido]]></text>  
162 - </staticText>  
163 - <staticText>  
164 - <reportElement x="703" y="23" width="99" height="30" uuid="67877905-35d9-45c8-bf9b-68d560773f01"/>  
165 - <box>  
166 - <topPen lineWidth="0.25"/>  
167 - <leftPen lineWidth="0.25"/>  
168 - <bottomPen lineWidth="0.25"/>  
169 - <rightPen lineWidth="0.25"/>  
170 - </box>  
171 - <textElement textAlignment="Center" verticalAlignment="Middle">  
172 - <font isBold="true"/>  
173 - </textElement>  
174 - <text><![CDATA[Qtd.  
175 - Fornececida]]></text>  
176 - </staticText>  
177 - <textField>  
178 - <reportElement x="0" y="0" width="802" height="20" uuid="3e968f45-34ee-4182-9a67-5d39f472ab55"/>  
179 - <box leftPadding="3"/>  
180 - <textElement verticalAlignment="Middle" markup="styled"/>  
181 - <textFieldExpression><![CDATA["<b>Material: </b>" + $F{nomematerial}]]></textFieldExpression>  
182 - </textField>  
183 - </band>  
184 - </groupHeader>  
185 - </group>  
186 - <pageHeader>  
187 - <band height="52" splitType="Stretch">  
188 - <textField>  
189 - <reportElement x="0" y="9" width="802" height="20" uuid="a71c31f5-f7e5-4674-9e78-17eb44a1f0f0"/>  
190 - <textElement verticalAlignment="Middle" markup="styled"/>  
191 - <textFieldExpression><![CDATA["<b>Almoxarifado: </b>" + $P{orgaoNome}]]></textFieldExpression>  
192 - </textField>  
193 - <textField>  
194 - <reportElement x="0" y="28" width="267" height="20" uuid="32009cbe-e49d-4dad-bb80-a65df5704d33"/>  
195 - <textElement verticalAlignment="Middle" markup="styled"/>  
196 - <textFieldExpression><![CDATA["<b>Período: </b>" +  
197 -new SimpleDateFormat("dd/MM/yyyy").format(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse($P{dataInicio}))  
198 -+ " a " +  
199 -new SimpleDateFormat("dd/MM/yyyy").format(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse($P{dataFim}))]]></textFieldExpression>  
200 - </textField>  
201 - <textField isBlankWhenNull="true">  
202 - <reportElement x="267" y="28" width="267" height="20" uuid="7fb57d0d-4432-4b1a-879e-5585a1962c76"/>  
203 - <textElement verticalAlignment="Middle" markup="styled"/>  
204 - <textFieldExpression><![CDATA[( $P{nomeTipoSaida} != null ? "<b>Tipo de Saída: </b>" + $P{nomeTipoSaida} : "" )]]></textFieldExpression>  
205 - </textField>  
206 - <textField isBlankWhenNull="true">  
207 - <reportElement x="534" y="28" width="268" height="20" uuid="88d5b9a0-c3c7-468f-8d3b-a7fc8ec1c658"/>  
208 - <box leftPadding="3"/>  
209 - <textElement verticalAlignment="Middle" markup="styled"/>  
210 - <textFieldExpression><![CDATA[($P{nomeTipoBaixa} != null ? "<b>Tipo de Baixa: </b>" + $P{nomeTipoBaixa} : "")]]></textFieldExpression>  
211 - </textField>  
212 - </band>  
213 - </pageHeader>  
214 - <detail>  
215 - <band height="21" splitType="Stretch">  
216 - <textField>  
217 - <reportElement stretchType="RelativeToBandHeight" x="0" y="0" width="79" height="20" uuid="e42a1515-0d79-4ba6-bb53-53b1f83cbd76"/>  
218 - <box>  
219 - <topPen lineWidth="0.25"/>  
220 - <leftPen lineWidth="0.25"/>  
221 - <bottomPen lineWidth="0.25"/>  
222 - <rightPen lineWidth="0.25"/>  
223 - </box>  
224 - <textElement textAlignment="Center" verticalAlignment="Middle"/>  
225 - <textFieldExpression><![CDATA[($F{tiposaida}.equals("Baixa") ? $F{numerodocumentobaixa} : $F{numerodocumentorequisicao} )]]></textFieldExpression>  
226 - </textField>  
227 - <textField pattern="dd/MM/yyyy">  
228 - <reportElement stretchType="RelativeToBandHeight" x="79" y="0" width="100" height="20" uuid="18c94f2c-556d-4612-b74f-b83b587b7199"/>  
229 - <box>  
230 - <topPen lineWidth="0.25"/>  
231 - <leftPen lineWidth="0.25"/>  
232 - <bottomPen lineWidth="0.25"/>  
233 - <rightPen lineWidth="0.25"/>  
234 - </box>  
235 - <textElement textAlignment="Center" verticalAlignment="Middle"/>  
236 - <textFieldExpression><![CDATA[$F{data}]]></textFieldExpression>  
237 - </textField>  
238 - <textField>  
239 - <reportElement stretchType="RelativeToBandHeight" x="179" y="0" width="98" height="20" uuid="2aac3bd1-9ffa-4c2f-bc8b-0e16d317a04f"/>  
240 - <box>  
241 - <topPen lineWidth="0.25"/>  
242 - <leftPen lineWidth="0.25"/>  
243 - <bottomPen lineWidth="0.25"/>  
244 - <rightPen lineWidth="0.25"/>  
245 - </box>  
246 - <textElement textAlignment="Center" verticalAlignment="Middle"/>  
247 - <textFieldExpression><![CDATA[$F{tiposaida}]]></textFieldExpression>  
248 - </textField>  
249 - <textField isStretchWithOverflow="true">  
250 - <reportElement stretchType="RelativeToBandHeight" x="277" y="0" width="325" height="20" uuid="15c4dc76-a13c-4495-9aa1-8ed0591be3a7"/>  
251 - <box>  
252 - <topPen lineWidth="0.25"/>  
253 - <leftPen lineWidth="0.25"/>  
254 - <bottomPen lineWidth="0.25"/>  
255 - <rightPen lineWidth="0.25"/>  
256 - </box>  
257 - <textElement textAlignment="Left" verticalAlignment="Middle">  
258 - <paragraph leftIndent="3" rightIndent="3"/>  
259 - </textElement>  
260 - <textFieldExpression><![CDATA[$F{destino}]]></textFieldExpression>  
261 - </textField>  
262 - <textField pattern="#,##0">  
263 - <reportElement stretchType="RelativeToBandHeight" x="602" y="0" width="101" height="20" uuid="9f22c49d-edb3-4aae-a6c2-31ae6f480ff8"/>  
264 - <box rightPadding="4">  
265 - <topPen lineWidth="0.25"/>  
266 - <leftPen lineWidth="0.25"/>  
267 - <bottomPen lineWidth="0.25"/>  
268 - <rightPen lineWidth="0.25"/>  
269 - </box>  
270 - <textElement textAlignment="Center" verticalAlignment="Middle"/>  
271 - <textFieldExpression><![CDATA[( $F{quantidadepedida} != null ? $F{quantidadepedida} : "-" )]]></textFieldExpression>  
272 - </textField>  
273 - <textField pattern="#,##0">  
274 - <reportElement stretchType="RelativeToBandHeight" x="703" y="0" width="99" height="20" uuid="5d191345-ee2f-41fc-858d-855ec0122586"/>  
275 - <box rightPadding="4">  
276 - <topPen lineWidth="0.25"/>  
277 - <leftPen lineWidth="0.25"/>  
278 - <bottomPen lineWidth="0.25"/>  
279 - <rightPen lineWidth="0.25"/>  
280 - </box>  
281 - <textElement textAlignment="Center" verticalAlignment="Middle"/>  
282 - <textFieldExpression><![CDATA[($F{quantidadefornecida} != null ? $F{quantidadefornecida} : "-" )]]></textFieldExpression>  
283 - </textField>  
284 - </band>  
285 - </detail>  
286 - <noData>  
287 - <band height="20">  
288 - <staticText>  
289 - <reportElement x="0" y="0" width="802" height="20" uuid="782bb71c-66f1-4a70-9929-a61ced38ffe3"/>  
290 - <textElement textAlignment="Center" verticalAlignment="Middle">  
291 - <font isBold="true"/>  
292 - </textElement>  
293 - <text><![CDATA[Seção vazia]]></text>  
294 - </staticText>  
295 - </band>  
296 - </noData>  
297 -</jasperReport>  
cit-almoxarifado-web/target/classes/reports/templatePaisagem.jrxml
@@ -1,97 +0,0 @@ @@ -1,97 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="templatePaisagem" language="groovy" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="AllSectionsNoDetail" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="2a9bde7e-349d-4f0b-b96c-98310606be6f">  
3 - <property name="ireport.zoom" value="1.5"/>  
4 - <property name="ireport.x" value="131"/>  
5 - <property name="ireport.y" value="0"/>  
6 - <parameter name="ORGANIZACAO_ID" class="java.lang.Long" isForPrompting="false">  
7 - <defaultValueExpression><![CDATA[1]]></defaultValueExpression>  
8 - </parameter>  
9 - <parameter name="SUBREPORT_DIR" class="java.lang.Object" isForPrompting="false">  
10 - <defaultValueExpression><![CDATA[]]></defaultValueExpression>  
11 - </parameter>  
12 - <parameter name="SUBREPORT_PARAMETERS_MAP" class="java.util.Map" isForPrompting="false">  
13 - <parameterDescription><![CDATA[Parametros do SubReport]]></parameterDescription>  
14 - </parameter>  
15 - <parameter name="TITULO" class="java.lang.String"/>  
16 - <queryString>  
17 - <![CDATA[select aImagem.anexo as logo,  
18 - (select param.valor from configuracaoparametrosistema param where param.configuracao_id = conf.id and param.chave = 'RELATORIO_PRIMEIRO_TITULO') as titulo1,  
19 - (select param.valor from configuracaoparametrosistema param where param.configuracao_id = conf.id and param.chave = 'RELATORIO_SEGUNDO_TITULO') as titulo2,  
20 - (select param.valor from configuracaoparametrosistema param where param.configuracao_id = conf.id and param.chave = 'RELATORIO_TERCEIRO_TITULO') as titulo3  
21 -from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id = conf.id where conf.organizacao_id = $P{ORGANIZACAO_ID};]]>  
22 - </queryString>  
23 - <field name="titulo1" class="java.lang.String"/>  
24 - <field name="titulo2" class="java.lang.String"/>  
25 - <field name="titulo3" class="java.lang.String"/>  
26 - <field name="logo" class="java.lang.Object"/>  
27 - <title>  
28 - <band height="130" splitType="Stretch">  
29 - <image>  
30 - <reportElement positionType="Float" x="23" y="20" width="85" height="60" uuid="21d967cf-a639-41a7-a0af-62fc1f113936"/>  
31 - <imageExpression><![CDATA[new ByteArrayInputStream((byte[])$F{logo})]]></imageExpression>  
32 - </image>  
33 - <textField isBlankWhenNull="true">  
34 - <reportElement x="108" y="20" width="677" height="20" uuid="4e1c4a55-25b5-42c3-a656-feaaab3ee44c"/>  
35 - <box leftPadding="5"/>  
36 - <textElement verticalAlignment="Middle">  
37 - <font size="12" isBold="true"/>  
38 - </textElement>  
39 - <textFieldExpression><![CDATA[$F{titulo1}]]></textFieldExpression>  
40 - </textField>  
41 - <textField isBlankWhenNull="true">  
42 - <reportElement x="108" y="40" width="677" height="20" uuid="7ce4c085-aea3-4ae6-83ae-0134ef022bd7"/>  
43 - <box leftPadding="5"/>  
44 - <textElement verticalAlignment="Middle">  
45 - <font size="12" isBold="true"/>  
46 - </textElement>  
47 - <textFieldExpression><![CDATA[$F{titulo2}]]></textFieldExpression>  
48 - </textField>  
49 - <textField isBlankWhenNull="true">  
50 - <reportElement x="108" y="60" width="677" height="20" uuid="edd46a21-e588-4e52-8438-c70f2ede5324"/>  
51 - <box leftPadding="5"/>  
52 - <textElement verticalAlignment="Middle">  
53 - <font size="12" isBold="true"/>  
54 - </textElement>  
55 - <textFieldExpression><![CDATA[$F{titulo3}]]></textFieldExpression>  
56 - </textField>  
57 - <textField>  
58 - <reportElement x="0" y="99" width="802" height="20" uuid="53427ba1-1676-40f7-8925-170941b8b23c"/>  
59 - <textElement textAlignment="Center" verticalAlignment="Middle">  
60 - <font fontName="SansSerif" size="14" isBold="true"/>  
61 - </textElement>  
62 - <textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>  
63 - </textField>  
64 - </band>  
65 - </title>  
66 - <detail>  
67 - <band height="53">  
68 - <subreport>  
69 - <reportElement positionType="Float" x="0" y="0" width="802" height="53" uuid="f31a4070-ef73-4065-aee8-7cea1e4d1ada"/>  
70 - <parametersMapExpression><![CDATA[$P{SUBREPORT_PARAMETERS_MAP}]]></parametersMapExpression>  
71 - <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>  
72 - <subreportExpression><![CDATA[$P{SUBREPORT_DIR}]]></subreportExpression>  
73 - </subreport>  
74 - </band>  
75 - </detail>  
76 - <columnFooter>  
77 - <band height="50"/>  
78 - </columnFooter>  
79 - <pageFooter>  
80 - <band height="50">  
81 - <textField>  
82 - <reportElement x="0" y="30" width="200" height="20" uuid="f4bc8444-98f4-48a5-b3a5-43813674fb35"/>  
83 - <textElement textAlignment="Left"/>  
84 - <textFieldExpression><![CDATA["Emitido em: " + new java.text.SimpleDateFormat("dd/MM/yyyy HH:mm:ss").format(new Date())]]></textFieldExpression>  
85 - </textField>  
86 - <textField>  
87 - <reportElement x="683" y="30" width="80" height="20" uuid="9f137445-0868-4fef-bb4c-07757d58f33b"/>  
88 - <textElement textAlignment="Right"/>  
89 - <textFieldExpression><![CDATA["Página "+$V{PAGE_NUMBER}+" de"]]></textFieldExpression>  
90 - </textField>  
91 - <textField evaluationTime="Report">  
92 - <reportElement x="765" y="30" width="37" height="20" uuid="e7a26c29-1d3e-41e4-8ad3-35dd31513707"/>  
93 - <textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>  
94 - </textField>  
95 - </band>  
96 - </pageFooter>  
97 -</jasperReport>  
cit-almoxarifado-web/target/classes/reports/templatePaisagemRepeat.jrxml
@@ -1,97 +0,0 @@ @@ -1,97 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="templatePaisagem" language="groovy" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="2a9bde7e-349d-4f0b-b96c-98310606be6f">  
3 - <property name="ireport.zoom" value="1.8150000000000004"/>  
4 - <property name="ireport.x" value="0"/>  
5 - <property name="ireport.y" value="0"/>  
6 - <parameter name="ORGANIZACAO_ID" class="java.lang.Long" isForPrompting="false">  
7 - <defaultValueExpression><![CDATA[1]]></defaultValueExpression>  
8 - </parameter>  
9 - <parameter name="SUBREPORT_DIR" class="java.lang.Object" isForPrompting="false">  
10 - <defaultValueExpression><![CDATA[]]></defaultValueExpression>  
11 - </parameter>  
12 - <parameter name="SUBREPORT_PARAMETERS_MAP" class="java.util.Map" isForPrompting="false">  
13 - <parameterDescription><![CDATA[Parametros do SubReport]]></parameterDescription>  
14 - </parameter>  
15 - <parameter name="TITULO" class="java.lang.String"/>  
16 - <queryString>  
17 - <![CDATA[select aImagem.anexo as logo,  
18 - (select param.valor from configuracaoparametrosistema param where param.configuracao_id = conf.id and param.chave = 'RELATORIO_PRIMEIRO_TITULO') as titulo1,  
19 - (select param.valor from configuracaoparametrosistema param where param.configuracao_id = conf.id and param.chave = 'RELATORIO_SEGUNDO_TITULO') as titulo2,  
20 - (select param.valor from configuracaoparametrosistema param where param.configuracao_id = conf.id and param.chave = 'RELATORIO_TERCEIRO_TITULO') as titulo3  
21 -from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id = conf.id where conf.organizacao_id = $P{ORGANIZACAO_ID};]]>  
22 - </queryString>  
23 - <field name="titulo1" class="java.lang.String"/>  
24 - <field name="titulo2" class="java.lang.String"/>  
25 - <field name="titulo3" class="java.lang.String"/>  
26 - <field name="logo" class="java.lang.Object"/>  
27 - <pageHeader>  
28 - <band height="99">  
29 - <image>  
30 - <reportElement positionType="Float" x="23" y="0" width="85" height="60" uuid="21d967cf-a639-41a7-a0af-62fc1f113936"/>  
31 - <imageExpression><![CDATA[new ByteArrayInputStream((byte[])$F{logo})]]></imageExpression>  
32 - </image>  
33 - <textField>  
34 - <reportElement x="108" y="0" width="677" height="20" uuid="4e1c4a55-25b5-42c3-a656-feaaab3ee44c"/>  
35 - <box leftPadding="5"/>  
36 - <textElement verticalAlignment="Middle">  
37 - <font size="12" isBold="true"/>  
38 - </textElement>  
39 - <textFieldExpression><![CDATA[$F{titulo1}]]></textFieldExpression>  
40 - </textField>  
41 - <textField>  
42 - <reportElement x="108" y="20" width="677" height="20" uuid="7ce4c085-aea3-4ae6-83ae-0134ef022bd7"/>  
43 - <box leftPadding="5"/>  
44 - <textElement verticalAlignment="Middle">  
45 - <font size="12" isBold="true"/>  
46 - </textElement>  
47 - <textFieldExpression><![CDATA[$F{titulo2}]]></textFieldExpression>  
48 - </textField>  
49 - <textField>  
50 - <reportElement x="108" y="40" width="677" height="20" uuid="edd46a21-e588-4e52-8438-c70f2ede5324"/>  
51 - <box leftPadding="5"/>  
52 - <textElement verticalAlignment="Middle">  
53 - <font size="12" isBold="true"/>  
54 - </textElement>  
55 - <textFieldExpression><![CDATA[$F{titulo3}]]></textFieldExpression>  
56 - </textField>  
57 - <textField>  
58 - <reportElement x="0" y="79" width="802" height="20" uuid="53427ba1-1676-40f7-8925-170941b8b23c"/>  
59 - <textElement textAlignment="Center" verticalAlignment="Middle">  
60 - <font fontName="SansSerif" size="14" isBold="true"/>  
61 - </textElement>  
62 - <textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>  
63 - </textField>  
64 - </band>  
65 - </pageHeader>  
66 - <detail>  
67 - <band height="53">  
68 - <subreport>  
69 - <reportElement positionType="Float" x="0" y="0" width="802" height="53" uuid="f31a4070-ef73-4065-aee8-7cea1e4d1ada"/>  
70 - <parametersMapExpression><![CDATA[$P{SUBREPORT_PARAMETERS_MAP}]]></parametersMapExpression>  
71 - <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>  
72 - <subreportExpression><![CDATA[$P{SUBREPORT_DIR}]]></subreportExpression>  
73 - </subreport>  
74 - </band>  
75 - </detail>  
76 - <columnFooter>  
77 - <band height="50"/>  
78 - </columnFooter>  
79 - <pageFooter>  
80 - <band height="50">  
81 - <textField>  
82 - <reportElement x="0" y="30" width="200" height="20" uuid="c5728b46-67a7-4b8f-b2e0-5168c3724fca"/>  
83 - <textElement textAlignment="Left"/>  
84 - <textFieldExpression><![CDATA["Emitido em: " + new java.text.SimpleDateFormat("dd/MM/yyyy HH:mm:ss").format(new Date())]]></textFieldExpression>  
85 - </textField>  
86 - <textField>  
87 - <reportElement x="685" y="30" width="80" height="20" uuid="c36795e1-fc18-4cc3-a882-9ad838226c5c"/>  
88 - <textElement textAlignment="Right"/>  
89 - <textFieldExpression><![CDATA["Página "+$V{PAGE_NUMBER}+" de"]]></textFieldExpression>  
90 - </textField>  
91 - <textField evaluationTime="Report">  
92 - <reportElement x="765" y="30" width="37" height="20" uuid="530fe75e-3daa-41ab-9ccb-8ae327cb2242"/>  
93 - <textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>  
94 - </textField>  
95 - </band>  
96 - </pageFooter>  
97 -</jasperReport>  
cit-almoxarifado-web/target/classes/reports/templateRetrato.jrxml
@@ -1,105 +0,0 @@ @@ -1,105 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="templateRetrato" language="groovy" pageWidth="595" pageHeight="842" whenNoDataType="AllSectionsNoDetail" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="2a9bde7e-349d-4f0b-b96c-98310606be6f">  
3 - <property name="ireport.zoom" value="2.0"/>  
4 - <property name="ireport.x" value="0"/>  
5 - <property name="ireport.y" value="0"/>  
6 - <parameter name="ORGANIZACAO_ID" class="java.lang.Long">  
7 - <defaultValueExpression><![CDATA[]]></defaultValueExpression>  
8 - </parameter>  
9 - <parameter name="SUBREPORT_DIR" class="java.lang.Object" isForPrompting="false">  
10 - <defaultValueExpression><![CDATA[]]></defaultValueExpression>  
11 - </parameter>  
12 - <parameter name="SUBREPORT_PARAMETERS_MAP" class="java.util.Map" isForPrompting="false">  
13 - <parameterDescription><![CDATA[Parametros do SubReport]]></parameterDescription>  
14 - </parameter>  
15 - <parameter name="TITULO" class="java.lang.String"/>  
16 - <queryString>  
17 - <![CDATA[select aImagem.anexo as logo,  
18 - (select param.valor from configuracaoparametrosistema param where param.configuracao_id = conf.id and param.chave = 'RELATORIO_PRIMEIRO_TITULO') as titulo1,  
19 - (select param.valor from configuracaoparametrosistema param where param.configuracao_id = conf.id and param.chave = 'RELATORIO_SEGUNDO_TITULO') as titulo2,  
20 - (select param.valor from configuracaoparametrosistema param where param.configuracao_id = conf.id and param.chave = 'RELATORIO_TERCEIRO_TITULO') as titulo3  
21 -from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id = conf.id where conf.organizacao_id = $P{ORGANIZACAO_ID};]]>  
22 - </queryString>  
23 - <field name="logo" class="java.lang.Object"/>  
24 - <field name="titulo1" class="java.lang.String"/>  
25 - <field name="titulo2" class="java.lang.String"/>  
26 - <field name="titulo3" class="java.lang.String"/>  
27 - <title>  
28 - <band height="134" splitType="Stretch">  
29 - <textField isBlankWhenNull="true">  
30 - <reportElement x="102" y="37" width="353" height="20" uuid="8b7353fa-6d6b-4b7d-bd04-2564491beff4"/>  
31 - <box leftPadding="5"/>  
32 - <textElement verticalAlignment="Middle">  
33 - <font size="12" isBold="true"/>  
34 - </textElement>  
35 - <textFieldExpression><![CDATA[$F{titulo2}]]></textFieldExpression>  
36 - </textField>  
37 - <textField isBlankWhenNull="true">  
38 - <reportElement x="102" y="17" width="353" height="20" uuid="0c63ef23-5e35-4c22-81ed-dbd9a2fac964"/>  
39 - <box leftPadding="5"/>  
40 - <textElement verticalAlignment="Middle">  
41 - <font size="12" isBold="true"/>  
42 - </textElement>  
43 - <textFieldExpression><![CDATA[$F{titulo1}]]></textFieldExpression>  
44 - </textField>  
45 - <image isUsingCache="true" onErrorType="Icon">  
46 - <reportElement positionType="Float" x="17" y="17" width="85" height="60" uuid="d161cd66-d9ef-43e9-b70a-3fb2c8b4eba4"/>  
47 - <imageExpression><![CDATA[new ByteArrayInputStream((byte[])$F{logo})]]></imageExpression>  
48 - </image>  
49 - <textField isBlankWhenNull="true">  
50 - <reportElement x="102" y="57" width="353" height="20" uuid="7fc824c8-633f-40d4-8310-4d81780f2834"/>  
51 - <box leftPadding="5"/>  
52 - <textElement verticalAlignment="Middle">  
53 - <font size="12" isBold="true"/>  
54 - </textElement>  
55 - <textFieldExpression><![CDATA[$F{titulo3}]]></textFieldExpression>  
56 - </textField>  
57 - <textField>  
58 - <reportElement x="0" y="103" width="555" height="20" uuid="3405a538-3907-4101-97dd-99920d6fc78d"/>  
59 - <textElement textAlignment="Center" verticalAlignment="Middle">  
60 - <font fontName="SansSerif" size="14" isBold="true"/>  
61 - </textElement>  
62 - <textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>  
63 - </textField>  
64 - <textField pattern="dd/MM/yyyy HH:mm:ss">  
65 - <reportElement x="455" y="17" width="100" height="20" uuid="b39860ee-f27a-49d6-bd34-ae755f75e04c"/>  
66 - <textElement textAlignment="Center" verticalAlignment="Middle"/>  
67 - <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>  
68 - </textField>  
69 - </band>  
70 - </title>  
71 - <detail>  
72 - <band height="53">  
73 - <subreport>  
74 - <reportElement positionType="Float" x="0" y="0" width="555" height="53" uuid="39aa7cb4-c27a-484a-8e70-8c32a0da7922"/>  
75 - <parametersMapExpression><![CDATA[$P{SUBREPORT_PARAMETERS_MAP}]]></parametersMapExpression>  
76 - <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>  
77 - <subreportExpression><![CDATA[$P{SUBREPORT_DIR}]]></subreportExpression>  
78 - </subreport>  
79 - </band>  
80 - </detail>  
81 - <columnFooter>  
82 - <band height="50"/>  
83 - </columnFooter>  
84 - <pageFooter>  
85 - <band height="50">  
86 - <textField>  
87 - <reportElement x="436" y="30" width="80" height="20" uuid="5e321400-e0dd-41c0-9b36-09d2b35badd7"/>  
88 - <textElement textAlignment="Right"/>  
89 - <textFieldExpression><![CDATA["Página "+$V{PAGE_NUMBER}+" de"]]></textFieldExpression>  
90 - </textField>  
91 - <textField evaluationTime="Report">  
92 - <reportElement x="518" y="30" width="37" height="20" uuid="af94fb21-5bc2-47cb-a430-9e8535eafd64"/>  
93 - <textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>  
94 - </textField>  
95 - <line>  
96 - <reportElement x="0" y="29" width="555" height="1" uuid="40d7aad9-d024-4fb3-8a37-42c5412a4ee7"/>  
97 - </line>  
98 - <textField>  
99 - <reportElement x="0" y="29" width="200" height="20" uuid="b7691f50-ffd4-4f6d-b028-a2d291c918cf"/>  
100 - <textElement textAlignment="Left"/>  
101 - <textFieldExpression><![CDATA["Emitido em: " + new java.text.SimpleDateFormat("dd/MM/yyyy HH:mm:ss").format(new Date())]]></textFieldExpression>  
102 - </textField>  
103 - </band>  
104 - </pageFooter>  
105 -</jasperReport>  
cit-almoxarifado-web/target/classes/reports/templateRetratoRepeat.jrxml
@@ -1,97 +0,0 @@ @@ -1,97 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="templateRetrato" language="groovy" pageWidth="595" pageHeight="842" whenNoDataType="AllSectionsNoDetail" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="2a9bde7e-349d-4f0b-b96c-98310606be6f">  
3 - <property name="ireport.zoom" value="2.0"/>  
4 - <property name="ireport.x" value="25"/>  
5 - <property name="ireport.y" value="12"/>  
6 - <parameter name="ORGANIZACAO_ID" class="java.lang.Long">  
7 - <defaultValueExpression><![CDATA[]]></defaultValueExpression>  
8 - </parameter>  
9 - <parameter name="SUBREPORT_DIR" class="java.lang.Object" isForPrompting="false">  
10 - <defaultValueExpression><![CDATA[]]></defaultValueExpression>  
11 - </parameter>  
12 - <parameter name="SUBREPORT_PARAMETERS_MAP" class="java.util.Map" isForPrompting="false">  
13 - <parameterDescription><![CDATA[Parametros do SubReport]]></parameterDescription>  
14 - </parameter>  
15 - <parameter name="TITULO" class="java.lang.String"/>  
16 - <queryString>  
17 - <![CDATA[select aImagem.anexo as logo,  
18 - (select param.valor from configuracaoparametrosistema param where param.configuracao_id = conf.id and param.chave = 'RELATORIO_PRIMEIRO_TITULO') as titulo1,  
19 - (select param.valor from configuracaoparametrosistema param where param.configuracao_id = conf.id and param.chave = 'RELATORIO_SEGUNDO_TITULO') as titulo2,  
20 - (select param.valor from configuracaoparametrosistema param where param.configuracao_id = conf.id and param.chave = 'RELATORIO_TERCEIRO_TITULO') as titulo3  
21 -from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id = conf.id where conf.organizacao_id = $P{ORGANIZACAO_ID};]]>  
22 - </queryString>  
23 - <field name="logo" class="java.lang.Object"/>  
24 - <field name="titulo1" class="java.lang.String"/>  
25 - <field name="titulo2" class="java.lang.String"/>  
26 - <field name="titulo3" class="java.lang.String"/>  
27 - <pageHeader>  
28 - <band height="106">  
29 - <textField isBlankWhenNull="true">  
30 - <reportElement x="102" y="20" width="453" height="20" uuid="8b7353fa-6d6b-4b7d-bd04-2564491beff4"/>  
31 - <box leftPadding="5"/>  
32 - <textElement verticalAlignment="Middle">  
33 - <font size="12" isBold="true"/>  
34 - </textElement>  
35 - <textFieldExpression><![CDATA[$F{titulo2}]]></textFieldExpression>  
36 - </textField>  
37 - <textField isBlankWhenNull="true">  
38 - <reportElement x="102" y="0" width="453" height="20" uuid="0c63ef23-5e35-4c22-81ed-dbd9a2fac964"/>  
39 - <box leftPadding="5"/>  
40 - <textElement verticalAlignment="Middle">  
41 - <font size="12" isBold="true"/>  
42 - </textElement>  
43 - <textFieldExpression><![CDATA[$F{titulo1}]]></textFieldExpression>  
44 - </textField>  
45 - <image isUsingCache="true" onErrorType="Icon">  
46 - <reportElement positionType="Float" x="17" y="0" width="85" height="60" uuid="d161cd66-d9ef-43e9-b70a-3fb2c8b4eba4"/>  
47 - <imageExpression><![CDATA[new ByteArrayInputStream((byte[])$F{logo})]]></imageExpression>  
48 - </image>  
49 - <textField isBlankWhenNull="true">  
50 - <reportElement x="102" y="40" width="453" height="20" uuid="7fc824c8-633f-40d4-8310-4d81780f2834"/>  
51 - <box leftPadding="5"/>  
52 - <textElement verticalAlignment="Middle">  
53 - <font size="12" isBold="true"/>  
54 - </textElement>  
55 - <textFieldExpression><![CDATA[$F{titulo3}]]></textFieldExpression>  
56 - </textField>  
57 - <textField isBlankWhenNull="true">  
58 - <reportElement x="0" y="86" width="555" height="20" uuid="3405a538-3907-4101-97dd-99920d6fc78d"/>  
59 - <textElement textAlignment="Center" verticalAlignment="Middle">  
60 - <font fontName="SansSerif" size="14" isBold="true"/>  
61 - </textElement>  
62 - <textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>  
63 - </textField>  
64 - </band>  
65 - </pageHeader>  
66 - <detail>  
67 - <band height="53">  
68 - <subreport>  
69 - <reportElement positionType="Float" x="0" y="0" width="555" height="53" uuid="39aa7cb4-c27a-484a-8e70-8c32a0da7922"/>  
70 - <parametersMapExpression><![CDATA[$P{SUBREPORT_PARAMETERS_MAP}]]></parametersMapExpression>  
71 - <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>  
72 - <subreportExpression><![CDATA[$P{SUBREPORT_DIR}]]></subreportExpression>  
73 - </subreport>  
74 - </band>  
75 - </detail>  
76 - <columnFooter>  
77 - <band height="50"/>  
78 - </columnFooter>  
79 - <pageFooter>  
80 - <band height="50">  
81 - <textField>  
82 - <reportElement x="436" y="30" width="80" height="20" uuid="5e321400-e0dd-41c0-9b36-09d2b35badd7"/>  
83 - <textElement textAlignment="Right"/>  
84 - <textFieldExpression><![CDATA["Página "+$V{PAGE_NUMBER}+" de"]]></textFieldExpression>  
85 - </textField>  
86 - <textField evaluationTime="Report">  
87 - <reportElement x="518" y="30" width="37" height="20" uuid="af94fb21-5bc2-47cb-a430-9e8535eafd64"/>  
88 - <textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>  
89 - </textField>  
90 - <textField>  
91 - <reportElement x="0" y="30" width="200" height="20" uuid="a8005405-5789-414d-ad22-8c928ac106b8"/>  
92 - <textElement textAlignment="Left"/>  
93 - <textFieldExpression><![CDATA["Emitido em: " + new java.text.SimpleDateFormat("dd/MM/yyyy HH:mm:ss").format(new Date())]]></textFieldExpression>  
94 - </textField>  
95 - </band>  
96 - </pageFooter>  
97 -</jasperReport>  
cit-almoxarifado-web/target/classes/reports/termoBaixaAlmoxarifado.jrxml
@@ -1,480 +0,0 @@ @@ -1,480 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="termoBaixaAlmoxarifado" language="groovy" pageWidth="555" pageHeight="802" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="151318af-6127-44c9-89d0-65848a7d6d80">  
3 - <property name="ireport.zoom" value="1.2100000000000024"/>  
4 - <property name="ireport.x" value="0"/>  
5 - <property name="ireport.y" value="0"/>  
6 - <style name="table">  
7 - <box>  
8 - <pen lineWidth="1.0" lineColor="#000000"/>  
9 - </box>  
10 - </style>  
11 - <style name="table_TH" mode="Opaque" backcolor="#F0F8FF">  
12 - <box>  
13 - <pen lineWidth="0.5" lineColor="#000000"/>  
14 - </box>  
15 - </style>  
16 - <style name="table_CH" mode="Opaque" backcolor="#BFE1FF">  
17 - <box>  
18 - <pen lineWidth="0.5" lineColor="#000000"/>  
19 - </box>  
20 - </style>  
21 - <style name="table_TD" mode="Opaque" backcolor="#FFFFFF">  
22 - <box>  
23 - <pen lineWidth="0.25" lineColor="#000000"/>  
24 - <topPen lineWidth="0.25"/>  
25 - <leftPen lineWidth="0.25"/>  
26 - <bottomPen lineWidth="0.25"/>  
27 - <rightPen lineWidth="0.25"/>  
28 - </box>  
29 - </style>  
30 - <style name="table 1">  
31 - <box>  
32 - <pen lineWidth="1.0" lineColor="#000000"/>  
33 - </box>  
34 - </style>  
35 - <style name="table 1_TH" mode="Opaque" backcolor="#F0F8FF">  
36 - <box>  
37 - <pen lineWidth="0.5" lineColor="#000000"/>  
38 - </box>  
39 - </style>  
40 - <style name="table 1_CH" mode="Opaque" backcolor="#BFE1FF">  
41 - <box>  
42 - <pen lineWidth="0.5" lineColor="#000000"/>  
43 - </box>  
44 - </style>  
45 - <style name="table 1_TD" mode="Opaque" backcolor="#FFFFFF">  
46 - <box>  
47 - <pen lineWidth="0.5" lineColor="#000000"/>  
48 - </box>  
49 - </style>  
50 - <style name="table 2">  
51 - <box>  
52 - <pen lineWidth="1.0" lineColor="#000000"/>  
53 - </box>  
54 - </style>  
55 - <style name="table 2_TH" mode="Opaque" backcolor="#F0F8FF">  
56 - <box>  
57 - <pen lineWidth="0.5" lineColor="#000000"/>  
58 - </box>  
59 - </style>  
60 - <style name="table 2_CH" mode="Opaque" backcolor="#BFE1FF">  
61 - <box>  
62 - <pen lineWidth="0.5" lineColor="#000000"/>  
63 - </box>  
64 - </style>  
65 - <style name="table 2_TD" mode="Opaque" backcolor="#FFFFFF">  
66 - <box>  
67 - <pen lineWidth="0.5" lineColor="#000000"/>  
68 - </box>  
69 - </style>  
70 - <subDataset name="observacao" uuid="be116cfc-2071-45e0-879d-997b9392944d">  
71 - <parameter name="idbaixa" class="java.lang.Long"/>  
72 - <queryString language="SQL">  
73 - <![CDATA[select o.datacriacao as data, o.descricao from baixaobservacao bo inner join observacao o on o.id = bo.id where bo.baixa_id = $P{idbaixa}]]>  
74 - </queryString>  
75 - <field name="data" class="java.sql.Timestamp"/>  
76 - <field name="descricao" class="java.lang.String"/>  
77 - </subDataset>  
78 - <parameter name="idbaixa" class="java.lang.Long"/>  
79 - <parameter name="organizacaonome" class="java.lang.String"/>  
80 - <parameter name="codigoOrganizacao" class="java.lang.String"/>  
81 - <parameter name="siglaOrganizacao" class="java.lang.String"/>  
82 - <parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">  
83 - <defaultValueExpression><![CDATA["D:\\desenv\\workspaces\\Fontes\\branchHistoria\\citsmartgrp\\cit-almoxarifado\\cit-almoxarifado-web\\src\\main\\resources\\reports\\"]]></defaultValueExpression>  
84 - </parameter>  
85 - <queryString>  
86 - <![CDATA[SELECT ba.numerobaixa as numerodotermo,  
87 - ba.databaixa as databaixa,  
88 - d.descricao as tipobaixa,  
89 - p_destino.nome as destino,  
90 - m.descricao as descricaomaterial,  
91 - um.sigla as um,  
92 - bai.quantidade as quantidade,  
93 - '' as endereco,  
94 - bai.total AS total,  
95 - (bai.total/bai.quantidade) as preco  
96 -FROM baixaalmoxarifado ba  
97 -INNER JOIN baixa bx on ba.id = bx.id and bx.datainativo is null  
98 -INNER JOIN baixaalmoxarifadoitem bai ON bai.baixaalmoxarifado_id = ba.id  
99 -INNER JOIN material m ON m.id = bai.materialconsumo_id  
100 -INNER JOIN materialconsumo mc ON mc.id = m.id  
101 -INNER JOIN unidademedida um on um.id = mc.unidadearmazenamento_id  
102 -INNER JOIN dominio d ON d.id = ba.dominiotipobaixa_id  
103 -LEFT JOIN CONFIGURACAO C ON (C.ORGANIZACAO_ID = BX.ORGANIZACAO_ID)  
104 -LEFT JOIN CONFIGURACAOPARAMETROSISTEMA CP ON (CP.CONFIGURACAO_ID = C.ID AND CP.CHAVE= 'TIPO_AVALIACAO_MONETARIA_ESTOQUE')  
105 -LEFT JOIN parceiro pr_destino ON pr_destino.id = ba.destino_id  
106 -LEFT JOIN pessoa p_destino ON p_destino.id = pr_destino.pessoa_id  
107 -WHERE ba.id = $P{idbaixa}  
108 -order by m.codigo]]>  
109 - </queryString>  
110 - <field name="numerodotermo" class="java.lang.String"/>  
111 - <field name="databaixa" class="java.sql.Timestamp"/>  
112 - <field name="tipobaixa" class="java.lang.String"/>  
113 - <field name="destino" class="java.lang.String"/>  
114 - <field name="descricaomaterial" class="java.lang.String"/>  
115 - <field name="um" class="java.lang.String"/>  
116 - <field name="quantidade" class="java.math.BigDecimal"/>  
117 - <field name="endereco" class="java.lang.String"/>  
118 - <field name="total" class="java.math.BigDecimal"/>  
119 - <field name="preco" class="java.math.BigDecimal"/>  
120 - <variable name="ITENS_CONTA" class="java.lang.Integer" resetType="Group" resetGroup="conta" calculation="Count">  
121 - <variableExpression><![CDATA[$V{COLUMN_COUNT}]]></variableExpression>  
122 - </variable>  
123 - <variable name="TotalConta" class="java.math.BigDecimal" resetType="Group" resetGroup="conta" calculation="Sum">  
124 - <variableExpression><![CDATA[$F{total}]]></variableExpression>  
125 - <initialValueExpression><![CDATA[]]></initialValueExpression>  
126 - </variable>  
127 - <variable name="TotalQTD" class="java.math.BigDecimal" resetType="Group" resetGroup="conta" calculation="Sum">  
128 - <variableExpression><![CDATA[$F{quantidade}]]></variableExpression>  
129 - </variable>  
130 - <group name="conta">  
131 - <groupExpression><![CDATA[$F{numerodotermo}]]></groupExpression>  
132 - <groupHeader>  
133 - <band height="22">  
134 - <staticText>  
135 - <reportElement uuid="8420bff4-8deb-4208-be8f-b7919088f245" x="1" y="2" width="28" height="20"/>  
136 - <box>  
137 - <topPen lineWidth="0.25"/>  
138 - <leftPen lineWidth="0.25"/>  
139 - <bottomPen lineWidth="0.25"/>  
140 - <rightPen lineWidth="0.25"/>  
141 - </box>  
142 - <textElement textAlignment="Center" verticalAlignment="Middle">  
143 - <font isBold="true"/>  
144 - </textElement>  
145 - <text><![CDATA[Item]]></text>  
146 - </staticText>  
147 - <staticText>  
148 - <reportElement uuid="74728506-3c31-4062-81ad-1621e7b48b30" x="29" y="2" width="202" height="20"/>  
149 - <box>  
150 - <topPen lineWidth="0.25"/>  
151 - <leftPen lineWidth="0.25"/>  
152 - <bottomPen lineWidth="0.25"/>  
153 - <rightPen lineWidth="0.25"/>  
154 - </box>  
155 - <textElement textAlignment="Center" verticalAlignment="Middle">  
156 - <font isBold="true"/>  
157 - </textElement>  
158 - <text><![CDATA[Material]]></text>  
159 - </staticText>  
160 - <staticText>  
161 - <reportElement uuid="58addf31-22e0-4fc6-8aa3-11dd3c2975da" x="472" y="2" width="83" height="20"/>  
162 - <box>  
163 - <topPen lineWidth="0.25"/>  
164 - <leftPen lineWidth="0.25"/>  
165 - <bottomPen lineWidth="0.25"/>  
166 - <rightPen lineWidth="0.25"/>  
167 - </box>  
168 - <textElement textAlignment="Center" verticalAlignment="Middle">  
169 - <font isBold="true"/>  
170 - </textElement>  
171 - <text><![CDATA[Total]]></text>  
172 - </staticText>  
173 - <staticText>  
174 - <reportElement uuid="74728506-3c31-4062-81ad-1621e7b48b30" x="231" y="2" width="80" height="20"/>  
175 - <box>  
176 - <topPen lineWidth="0.25"/>  
177 - <leftPen lineWidth="0.25"/>  
178 - <bottomPen lineWidth="0.25"/>  
179 - <rightPen lineWidth="0.25"/>  
180 - </box>  
181 - <textElement textAlignment="Center" verticalAlignment="Middle">  
182 - <font isBold="true"/>  
183 - </textElement>  
184 - <text><![CDATA[Endereço]]></text>  
185 - </staticText>  
186 - <staticText>  
187 - <reportElement uuid="74728506-3c31-4062-81ad-1621e7b48b30" x="311" y="2" width="59" height="20"/>  
188 - <box>  
189 - <topPen lineWidth="0.25"/>  
190 - <leftPen lineWidth="0.25"/>  
191 - <bottomPen lineWidth="0.25"/>  
192 - <rightPen lineWidth="0.25"/>  
193 - </box>  
194 - <textElement textAlignment="Center" verticalAlignment="Middle">  
195 - <font isBold="true"/>  
196 - </textElement>  
197 - <text><![CDATA[U.M]]></text>  
198 - </staticText>  
199 - <staticText>  
200 - <reportElement uuid="58addf31-22e0-4fc6-8aa3-11dd3c2975da" x="370" y="2" width="44" height="20"/>  
201 - <box>  
202 - <topPen lineWidth="0.25"/>  
203 - <leftPen lineWidth="0.25"/>  
204 - <bottomPen lineWidth="0.25"/>  
205 - <rightPen lineWidth="0.25"/>  
206 - </box>  
207 - <textElement textAlignment="Center" verticalAlignment="Middle">  
208 - <font isBold="true"/>  
209 - </textElement>  
210 - <text><![CDATA[QTD]]></text>  
211 - </staticText>  
212 - <staticText>  
213 - <reportElement uuid="58addf31-22e0-4fc6-8aa3-11dd3c2975da" x="414" y="2" width="58" height="20"/>  
214 - <box>  
215 - <topPen lineWidth="0.25"/>  
216 - <leftPen lineWidth="0.25"/>  
217 - <bottomPen lineWidth="0.25"/>  
218 - <rightPen lineWidth="0.25"/>  
219 - </box>  
220 - <textElement textAlignment="Center" verticalAlignment="Middle">  
221 - <font isBold="true"/>  
222 - </textElement>  
223 - <text><![CDATA[Valor]]></text>  
224 - </staticText>  
225 - </band>  
226 - </groupHeader>  
227 - <groupFooter>  
228 - <band height="223">  
229 - <staticText>  
230 - <reportElement uuid="74624cec-e1f0-403a-8813-b4650076ea94" x="1" y="0" width="369" height="20"/>  
231 - <box>  
232 - <topPen lineWidth="0.25"/>  
233 - <leftPen lineWidth="0.25"/>  
234 - <bottomPen lineWidth="0.25"/>  
235 - <rightPen lineWidth="0.25"/>  
236 - </box>  
237 - <textElement textAlignment="Right" verticalAlignment="Middle">  
238 - <font isBold="true"/>  
239 - <paragraph rightIndent="5"/>  
240 - </textElement>  
241 - <text><![CDATA[Total:]]></text>  
242 - </staticText>  
243 - <textField pattern="#,##0.00" isBlankWhenNull="true">  
244 - <reportElement uuid="bef15797-26a9-413d-ad26-2d6181b7afdb" x="414" y="0" width="141" height="20"/>  
245 - <box>  
246 - <topPen lineWidth="0.25"/>  
247 - <leftPen lineWidth="0.25"/>  
248 - <bottomPen lineWidth="0.25"/>  
249 - <rightPen lineWidth="0.25"/>  
250 - </box>  
251 - <textElement textAlignment="Right" verticalAlignment="Middle">  
252 - <font isBold="true"/>  
253 - <paragraph rightIndent="3"/>  
254 - </textElement>  
255 - <textFieldExpression><![CDATA[$V{TotalConta}]]></textFieldExpression>  
256 - </textField>  
257 - <staticText>  
258 - <reportElement uuid="629f1e77-4708-488e-b67a-ad2f533bd8ef" x="64" y="59" width="185" height="20"/>  
259 - <textElement textAlignment="Center"/>  
260 - <text><![CDATA[____ / ____ / ________.]]></text>  
261 - </staticText>  
262 - <staticText>  
263 - <reportElement uuid="b0975ea9-b0f1-4b23-b57a-766fcff22b19" x="64" y="105" width="185" height="27"/>  
264 - <textElement textAlignment="Center"/>  
265 - <text><![CDATA[________________________  
266 -Seção de Almoxarifado]]></text>  
267 - </staticText>  
268 - <staticText>  
269 - <reportElement uuid="ea42c708-c1ed-4bd4-81ff-8fa501bff9b0" x="329" y="59" width="184" height="20"/>  
270 - <textElement textAlignment="Center"/>  
271 - <text><![CDATA[____ / ____ / ________.]]></text>  
272 - </staticText>  
273 - <staticText>  
274 - <reportElement uuid="3cfaa153-0cd8-498f-bfcb-7d14efc7b8b2" x="329" y="105" width="185" height="27"/>  
275 - <textElement textAlignment="Center"/>  
276 - <text><![CDATA[________________________  
277 -Cessionário/Donatário]]></text>  
278 - </staticText>  
279 - <textField pattern="#,##0.00">  
280 - <reportElement uuid="bef15797-26a9-413d-ad26-2d6181b7afdb" x="370" y="0" width="44" height="20"/>  
281 - <box>  
282 - <topPen lineWidth="0.25"/>  
283 - <leftPen lineWidth="0.25"/>  
284 - <bottomPen lineWidth="0.25"/>  
285 - <rightPen lineWidth="0.25"/>  
286 - </box>  
287 - <textElement textAlignment="Right" verticalAlignment="Middle">  
288 - <font isBold="true"/>  
289 - <paragraph rightIndent="3"/>  
290 - </textElement>  
291 - <textFieldExpression><![CDATA[$V{TotalQTD}]]></textFieldExpression>  
292 - </textField>  
293 - <componentElement>  
294 - <reportElement uuid="6f067464-efc6-499d-9cb4-dbe7f1a88abc" key="observacao" style="table" mode="Opaque" x="0" y="156" width="555" height="61" isRemoveLineWhenBlank="true"/>  
295 - <jr:table xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd">  
296 - <datasetRun subDataset="observacao" uuid="049cda37-2ae0-4ba2-bbea-3bd7d75fa77c">  
297 - <datasetParameter name="REPORT_CONNECTION">  
298 - <datasetParameterExpression><![CDATA[$P{REPORT_CONNECTION}]]></datasetParameterExpression>  
299 - </datasetParameter>  
300 - <datasetParameter name="idbaixa">  
301 - <datasetParameterExpression><![CDATA[$P{idbaixa}]]></datasetParameterExpression>  
302 - </datasetParameter>  
303 - <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>  
304 - </datasetRun>  
305 - <jr:column uuid="1d2f8940-09e3-4359-8d83-a728a6d429a7" width="136">  
306 - <jr:tableHeader style="table 1_TH" height="30" rowSpan="1">  
307 - <staticText>  
308 - <reportElement uuid="925d432f-8f58-4621-8599-a81e79491d3a" x="0" y="0" width="136" height="30" isRemoveLineWhenBlank="true"/>  
309 - <textElement>  
310 - <font size="12" isBold="true"/>  
311 - </textElement>  
312 - <text><![CDATA[Observações]]></text>  
313 - </staticText>  
314 - </jr:tableHeader>  
315 - <jr:columnHeader style="table" height="30" rowSpan="1">  
316 - <staticText>  
317 - <reportElement uuid="65a90270-39d0-4234-9e74-c78a1aa01b89" x="0" y="0" width="136" height="30" isRemoveLineWhenBlank="true"/>  
318 - <textElement textAlignment="Center" verticalAlignment="Middle">  
319 - <font isBold="true"/>  
320 - </textElement>  
321 - <text><![CDATA[Data]]></text>  
322 - </staticText>  
323 - </jr:columnHeader>  
324 - <jr:detailCell style="table 1_TD" height="21" rowSpan="1">  
325 - <textField pattern="dd/MM/yyyy" isBlankWhenNull="true">  
326 - <reportElement uuid="7767746d-6d72-461e-b8d3-fe84f276499e" x="0" y="0" width="136" height="21" isRemoveLineWhenBlank="true"/>  
327 - <textElement textAlignment="Center" verticalAlignment="Middle"/>  
328 - <textFieldExpression><![CDATA[$F{data}]]></textFieldExpression>  
329 - </textField>  
330 - </jr:detailCell>  
331 - </jr:column>  
332 - <jr:column uuid="01a8af98-a826-4131-ac25-d495ae4eabfc" width="417">  
333 - <jr:tableHeader style="table 1_TH" height="30" rowSpan="1"/>  
334 - <jr:columnHeader style="table" height="30" rowSpan="1">  
335 - <staticText>  
336 - <reportElement uuid="dad73b61-a7ea-40b3-9d8c-cc22a53056b5" x="0" y="0" width="417" height="30" isRemoveLineWhenBlank="true"/>  
337 - <textElement textAlignment="Center" verticalAlignment="Middle">  
338 - <font isBold="true"/>  
339 - </textElement>  
340 - <text><![CDATA[Descrição]]></text>  
341 - </staticText>  
342 - </jr:columnHeader>  
343 - <jr:detailCell style="table 1_TD" height="21" rowSpan="1">  
344 - <textField isBlankWhenNull="true">  
345 - <reportElement uuid="2f989a6c-9919-4dde-90a3-b6bc00cda410" x="0" y="0" width="417" height="21" isRemoveLineWhenBlank="true"/>  
346 - <textElement verticalAlignment="Middle"/>  
347 - <textFieldExpression><![CDATA[$F{descricao}]]></textFieldExpression>  
348 - </textField>  
349 - </jr:detailCell>  
350 - </jr:column>  
351 - </jr:table>  
352 - </componentElement>  
353 - </band>  
354 - </groupFooter>  
355 - </group>  
356 - <pageHeader>  
357 - <band height="98" splitType="Stretch">  
358 - <textField isBlankWhenNull="true">  
359 - <reportElement uuid="d1e9652e-a749-45e5-87cf-bc34f8393f3e" x="1" y="14" width="265" height="20"/>  
360 - <textElement verticalAlignment="Middle" markup="styled"/>  
361 - <textFieldExpression><![CDATA["<b>Nº do termo: </b>" + $F{numerodotermo}]]></textFieldExpression>  
362 - </textField>  
363 - <textField isBlankWhenNull="true">  
364 - <reportElement uuid="7e142933-f3e6-4376-b5a1-a0434db7da95" x="1" y="34" width="555" height="20"/>  
365 - <textElement verticalAlignment="Middle" markup="styled"/>  
366 - <textFieldExpression><![CDATA["<b>Tipo de Baixa: </b>" + $F{tipobaixa}]]></textFieldExpression>  
367 - </textField>  
368 - <textField isBlankWhenNull="true">  
369 - <reportElement uuid="a17209b3-1ee6-4d49-b501-8e04e80c805d" x="1" y="54" width="554" height="20"/>  
370 - <textElement verticalAlignment="Middle" markup="styled"/>  
371 - <textFieldExpression><![CDATA["<b>Unidade: </b>" + $P{codigoOrganizacao} + " - " + $P{organizacaonome} + " - " + $P{siglaOrganizacao}]]></textFieldExpression>  
372 - </textField>  
373 - <textField isBlankWhenNull="true">  
374 - <reportElement uuid="6363ab27-bddb-4f62-94ff-ccaefe6befa7" x="1" y="74" width="554" height="20"/>  
375 - <textElement verticalAlignment="Middle" markup="styled"/>  
376 - <textFieldExpression><![CDATA["<b>Destinatário: </b>" + ($F{destino} != null ? $F{destino} : " - " )]]></textFieldExpression>  
377 - </textField>  
378 - <textField pattern="dd/MM/yyyy" isBlankWhenNull="true">  
379 - <reportElement uuid="5ec349d5-ac59-453c-aa92-4fe1ef497cdf" x="266" y="14" width="289" height="20"/>  
380 - <textElement verticalAlignment="Middle" markup="styled">  
381 - <paragraph leftIndent="3"/>  
382 - </textElement>  
383 - <textFieldExpression><![CDATA["<b>Data da Saída: </b>" + new SimpleDateFormat("dd/MM/yyyy").format($F{databaixa})]]></textFieldExpression>  
384 - </textField>  
385 - </band>  
386 - </pageHeader>  
387 - <detail>  
388 - <band height="20" splitType="Prevent">  
389 - <textField isStretchWithOverflow="true" pattern="#,##0">  
390 - <reportElement uuid="b6cc11d5-3aa3-449c-9ae2-1424c2bcf578" stretchType="RelativeToBandHeight" x="1" y="0" width="28" height="20"/>  
391 - <box>  
392 - <topPen lineWidth="0.25"/>  
393 - <leftPen lineWidth="0.25"/>  
394 - <bottomPen lineWidth="0.25"/>  
395 - <rightPen lineWidth="0.25"/>  
396 - </box>  
397 - <textElement textAlignment="Center" verticalAlignment="Middle"/>  
398 - <textFieldExpression><![CDATA[$V{ITENS_CONTA}]]></textFieldExpression>  
399 - </textField>  
400 - <textField isStretchWithOverflow="true" isBlankWhenNull="true">  
401 - <reportElement uuid="10c2f1c3-a7a1-47b9-9859-11bf5e3821fb" stretchType="RelativeToBandHeight" x="231" y="0" width="80" height="20"/>  
402 - <box>  
403 - <topPen lineWidth="0.25"/>  
404 - <leftPen lineWidth="0.25"/>  
405 - <bottomPen lineWidth="0.25"/>  
406 - <rightPen lineWidth="0.25"/>  
407 - </box>  
408 - <textElement verticalAlignment="Middle">  
409 - <paragraph leftIndent="3" rightIndent="3"/>  
410 - </textElement>  
411 - <textFieldExpression><![CDATA[$F{endereco}]]></textFieldExpression>  
412 - </textField>  
413 - <textField isStretchWithOverflow="true" isBlankWhenNull="true">  
414 - <reportElement uuid="10c2f1c3-a7a1-47b9-9859-11bf5e3821fb" stretchType="RelativeToBandHeight" x="311" y="0" width="59" height="20"/>  
415 - <box>  
416 - <topPen lineWidth="0.25"/>  
417 - <leftPen lineWidth="0.25"/>  
418 - <bottomPen lineWidth="0.25"/>  
419 - <rightPen lineWidth="0.25"/>  
420 - </box>  
421 - <textElement verticalAlignment="Middle">  
422 - <paragraph leftIndent="3" rightIndent="3"/>  
423 - </textElement>  
424 - <textFieldExpression><![CDATA[$F{um}]]></textFieldExpression>  
425 - </textField>  
426 - <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">  
427 - <reportElement uuid="4ba98264-d28d-4d00-8918-dbf35d3f4cc5" stretchType="RelativeToBandHeight" x="370" y="0" width="44" height="20"/>  
428 - <box>  
429 - <topPen lineWidth="0.25"/>  
430 - <leftPen lineWidth="0.25"/>  
431 - <bottomPen lineWidth="0.25"/>  
432 - <rightPen lineWidth="0.25"/>  
433 - </box>  
434 - <textElement textAlignment="Right" verticalAlignment="Middle">  
435 - <paragraph rightIndent="3"/>  
436 - </textElement>  
437 - <textFieldExpression><![CDATA[$F{quantidade}]]></textFieldExpression>  
438 - </textField>  
439 - <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">  
440 - <reportElement uuid="4ba98264-d28d-4d00-8918-dbf35d3f4cc5" stretchType="RelativeToBandHeight" x="472" y="0" width="83" height="20"/>  
441 - <box>  
442 - <topPen lineWidth="0.25"/>  
443 - <leftPen lineWidth="0.25"/>  
444 - <bottomPen lineWidth="0.25"/>  
445 - <rightPen lineWidth="0.25"/>  
446 - </box>  
447 - <textElement textAlignment="Right" verticalAlignment="Middle">  
448 - <paragraph rightIndent="3"/>  
449 - </textElement>  
450 - <textFieldExpression><![CDATA[$F{total}]]></textFieldExpression>  
451 - </textField>  
452 - <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="false">  
453 - <reportElement uuid="4ba98264-d28d-4d00-8918-dbf35d3f4cc5" stretchType="RelativeToBandHeight" x="414" y="0" width="58" height="20"/>  
454 - <box>  
455 - <topPen lineWidth="0.25"/>  
456 - <leftPen lineWidth="0.25"/>  
457 - <bottomPen lineWidth="0.25"/>  
458 - <rightPen lineWidth="0.25"/>  
459 - </box>  
460 - <textElement textAlignment="Right" verticalAlignment="Middle">  
461 - <paragraph rightIndent="3"/>  
462 - </textElement>  
463 - <textFieldExpression><![CDATA[$F{preco}]]></textFieldExpression>  
464 - </textField>  
465 - <textField isStretchWithOverflow="true" isBlankWhenNull="true">  
466 - <reportElement uuid="10c2f1c3-a7a1-47b9-9859-11bf5e3821fb" stretchType="RelativeToBandHeight" x="29" y="0" width="202" height="20"/>  
467 - <box>  
468 - <topPen lineWidth="0.25"/>  
469 - <leftPen lineWidth="0.25"/>  
470 - <bottomPen lineWidth="0.25"/>  
471 - <rightPen lineWidth="0.25"/>  
472 - </box>  
473 - <textElement verticalAlignment="Middle">  
474 - <paragraph leftIndent="3" rightIndent="3"/>  
475 - </textElement>  
476 - <textFieldExpression><![CDATA[$F{descricaomaterial}]]></textFieldExpression>  
477 - </textField>  
478 - </band>  
479 - </detail>  
480 -</jasperReport>  
cit-almoxarifado-web/target/classes/reports/termoBaixaAlmoxarifadoResumoContabil.jrxml
@@ -1,241 +0,0 @@ @@ -1,241 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="termoBaixaResumoContabil" language="groovy" pageWidth="555" pageHeight="802" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="151318af-6127-44c9-89d0-65848a7d6d80">  
3 - <property name="ireport.zoom" value="1.6105100000000023"/>  
4 - <property name="ireport.x" value="0"/>  
5 - <property name="ireport.y" value="0"/>  
6 - <style name="table">  
7 - <box>  
8 - <pen lineWidth="1.0" lineColor="#000000"/>  
9 - </box>  
10 - </style>  
11 - <style name="table_TH" mode="Opaque" backcolor="#F0F8FF">  
12 - <box>  
13 - <pen lineWidth="0.5" lineColor="#000000"/>  
14 - </box>  
15 - </style>  
16 - <style name="table_CH" mode="Opaque" backcolor="#BFE1FF">  
17 - <box>  
18 - <pen lineWidth="0.5" lineColor="#000000"/>  
19 - </box>  
20 - </style>  
21 - <style name="table_TD" mode="Opaque" backcolor="#FFFFFF">  
22 - <box>  
23 - <pen lineWidth="0.5" lineColor="#000000"/>  
24 - </box>  
25 - </style>  
26 - <subDataset name="Documentos" uuid="72714eaf-46bc-4a25-bce1-591175c8a99b">  
27 - <parameter name="idbaixa" class="java.lang.Long"/>  
28 - <queryString>  
29 - <![CDATA[select  
30 -dm.descricao as tipodocumento,  
31 -d.numero as numerodocumento,  
32 -d.dataemissao as data  
33 -from baixadocumento bd  
34 -inner join documento d on d.id = bd.id  
35 -inner join dominio dm on dm.id = d.dominiotipodocumento_id  
36 -where bd.baixa_id = $P{idbaixa} and bd.baixainativo_id is null]]>  
37 - </queryString>  
38 - <field name="tipodocumento" class="java.lang.String"/>  
39 - <field name="numerodocumento" class="java.lang.String"/>  
40 - <field name="data" class="java.sql.Date"/>  
41 - </subDataset>  
42 - <parameter name="idbaixa" class="java.lang.Long"/>  
43 - <parameter name="organizacaonome" class="java.lang.String"/>  
44 - <parameter name="codigoOrganizacao" class="java.lang.String"/>  
45 - <parameter name="siglaOrganizacao" class="java.lang.String"/>  
46 - <queryString>  
47 - <![CDATA[select  
48 - t.codigo,  
49 - t.descricao,  
50 - SUM(T.QUANTIDADE) AS QTD,  
51 - sum(t.total) as total  
52 -FROM  
53 -(  
54 -SELECT ba.numerobaixa as numerodotermo,  
55 - um.sigla as um,  
56 - conta.descricao as descricao,  
57 - conta.codigo as codigo,  
58 - bai.quantidade as quantidade,  
59 - bai.total AS total  
60 -FROM baixaalmoxarifado ba  
61 -INNER JOIN baixa bx on ba.id = bx.id and bx.datainativo is null  
62 -INNER JOIN baixaalmoxarifadoitem bai ON bai.baixaalmoxarifado_id = ba.id  
63 -INNER JOIN material m ON m.id = bai.materialconsumo_id  
64 -INNER JOIN contacontabil conta on conta.id = m.contacontabil_id  
65 -INNER JOIN materialconsumo mc ON mc.id = m.id  
66 -INNER JOIN unidademedida um on um.id = mc.unidadearmazenamento_id  
67 -INNER JOIN dominio d ON d.id = ba.dominiotipobaixa_id  
68 -LEFT JOIN parceiro pr_destino ON pr_destino.id = ba.destino_id  
69 -LEFT JOIN pessoa p_destino ON p_destino.id = pr_destino.pessoa_id  
70 -WHERE ba.id = $P{idbaixa}  
71 -) AS T  
72 -GROUP BY T.CODIGO, T.DESCRICAO  
73 -ORDER BY T.CODIGO]]>  
74 - </queryString>  
75 - <field name="codigo" class="java.lang.String"/>  
76 - <field name="descricao" class="java.lang.String"/>  
77 - <field name="qtd" class="java.math.BigDecimal"/>  
78 - <field name="total" class="java.math.BigDecimal"/>  
79 - <variable name="valorTotal" class="java.math.BigDecimal" calculation="Sum">  
80 - <variableExpression><![CDATA[$F{total}]]></variableExpression>  
81 - </variable>  
82 - <variable name="totalQtd" class="java.math.BigDecimal" calculation="Sum">  
83 - <variableExpression><![CDATA[$F{qtd}]]></variableExpression>  
84 - </variable>  
85 - <pageHeader>  
86 - <band height="26" splitType="Stretch">  
87 - <staticText>  
88 - <reportElement uuid="8420bff4-8deb-4208-be8f-b7919088f245" x="0" y="5" width="83" height="20"/>  
89 - <box>  
90 - <topPen lineWidth="0.25"/>  
91 - <leftPen lineWidth="0.25"/>  
92 - <bottomPen lineWidth="0.25"/>  
93 - <rightPen lineWidth="0.25"/>  
94 - </box>  
95 - <textElement textAlignment="Center" verticalAlignment="Middle">  
96 - <font isBold="true"/>  
97 - </textElement>  
98 - <text><![CDATA[Conta]]></text>  
99 - </staticText>  
100 - <staticText>  
101 - <reportElement uuid="74728506-3c31-4062-81ad-1621e7b48b30" x="83" y="5" width="248" height="20"/>  
102 - <box>  
103 - <topPen lineWidth="0.25"/>  
104 - <leftPen lineWidth="0.25"/>  
105 - <bottomPen lineWidth="0.25"/>  
106 - <rightPen lineWidth="0.25"/>  
107 - </box>  
108 - <textElement textAlignment="Center" verticalAlignment="Middle">  
109 - <font isBold="true"/>  
110 - </textElement>  
111 - <text><![CDATA[Descrição]]></text>  
112 - </staticText>  
113 - <staticText>  
114 - <reportElement uuid="58addf31-22e0-4fc6-8aa3-11dd3c2975da" x="429" y="5" width="126" height="20"/>  
115 - <box>  
116 - <topPen lineWidth="0.25"/>  
117 - <leftPen lineWidth="0.25"/>  
118 - <bottomPen lineWidth="0.25"/>  
119 - <rightPen lineWidth="0.25"/>  
120 - </box>  
121 - <textElement textAlignment="Center" verticalAlignment="Middle">  
122 - <font isBold="true"/>  
123 - </textElement>  
124 - <text><![CDATA[Total]]></text>  
125 - </staticText>  
126 - <staticText>  
127 - <reportElement uuid="58addf31-22e0-4fc6-8aa3-11dd3c2975da" x="331" y="5" width="98" height="20"/>  
128 - <box>  
129 - <topPen lineWidth="0.25"/>  
130 - <leftPen lineWidth="0.25"/>  
131 - <bottomPen lineWidth="0.25"/>  
132 - <rightPen lineWidth="0.25"/>  
133 - </box>  
134 - <textElement textAlignment="Center" verticalAlignment="Middle">  
135 - <font isBold="true"/>  
136 - </textElement>  
137 - <text><![CDATA[QTD]]></text>  
138 - </staticText>  
139 - </band>  
140 - </pageHeader>  
141 - <detail>  
142 - <band height="20" splitType="Prevent">  
143 - <textField isBlankWhenNull="true">  
144 - <reportElement uuid="933bbdae-7c80-4ef6-8ba6-13a377037bc6" x="0" y="0" width="83" height="20"/>  
145 - <box>  
146 - <topPen lineWidth="0.25"/>  
147 - <leftPen lineWidth="0.25"/>  
148 - <bottomPen lineWidth="0.25"/>  
149 - <rightPen lineWidth="0.25"/>  
150 - </box>  
151 - <textElement textAlignment="Center" verticalAlignment="Middle"/>  
152 - <textFieldExpression><![CDATA[$F{codigo}]]></textFieldExpression>  
153 - </textField>  
154 - <textField isBlankWhenNull="true">  
155 - <reportElement uuid="10c2f1c3-a7a1-47b9-9859-11bf5e3821fb" x="83" y="0" width="248" height="20"/>  
156 - <box>  
157 - <topPen lineWidth="0.25"/>  
158 - <leftPen lineWidth="0.25"/>  
159 - <bottomPen lineWidth="0.25"/>  
160 - <rightPen lineWidth="0.25"/>  
161 - </box>  
162 - <textElement verticalAlignment="Middle">  
163 - <paragraph leftIndent="3" rightIndent="3"/>  
164 - </textElement>  
165 - <textFieldExpression><![CDATA[$F{descricao}]]></textFieldExpression>  
166 - </textField>  
167 - <textField pattern="#,##0.00" isBlankWhenNull="true">  
168 - <reportElement uuid="4ba98264-d28d-4d00-8918-dbf35d3f4cc5" x="429" y="0" width="126" height="20"/>  
169 - <box>  
170 - <topPen lineWidth="0.25"/>  
171 - <leftPen lineWidth="0.25"/>  
172 - <bottomPen lineWidth="0.25"/>  
173 - <rightPen lineWidth="0.25"/>  
174 - </box>  
175 - <textElement textAlignment="Right" verticalAlignment="Middle">  
176 - <paragraph rightIndent="3"/>  
177 - </textElement>  
178 - <textFieldExpression><![CDATA[$F{total}]]></textFieldExpression>  
179 - </textField>  
180 - <textField pattern="#,##0.00" isBlankWhenNull="true">  
181 - <reportElement uuid="4ba98264-d28d-4d00-8918-dbf35d3f4cc5" x="331" y="0" width="98" height="20"/>  
182 - <box>  
183 - <topPen lineWidth="0.25"/>  
184 - <leftPen lineWidth="0.25"/>  
185 - <bottomPen lineWidth="0.25"/>  
186 - <rightPen lineWidth="0.25"/>  
187 - </box>  
188 - <textElement textAlignment="Right" verticalAlignment="Middle">  
189 - <paragraph rightIndent="3"/>  
190 - </textElement>  
191 - <textFieldExpression><![CDATA[$F{qtd}]]></textFieldExpression>  
192 - </textField>  
193 - </band>  
194 - </detail>  
195 - <summary>  
196 - <band height="20">  
197 - <staticText>  
198 - <reportElement uuid="6bf11dd0-ce31-4c23-93a7-e636f7b5da13" x="0" y="0" width="331" height="20"/>  
199 - <box>  
200 - <topPen lineWidth="0.25"/>  
201 - <leftPen lineWidth="0.25"/>  
202 - <bottomPen lineWidth="0.25"/>  
203 - <rightPen lineWidth="0.25"/>  
204 - </box>  
205 - <textElement textAlignment="Right" verticalAlignment="Middle">  
206 - <font isBold="true"/>  
207 - <paragraph leftIndent="3" rightIndent="3"/>  
208 - </textElement>  
209 - <text><![CDATA[Total Geral:]]></text>  
210 - </staticText>  
211 - <textField pattern="#,##0.00" isBlankWhenNull="true">  
212 - <reportElement uuid="4bd447e3-9b4f-43b1-b343-5ecb6e5eb03a" x="429" y="0" width="126" height="20"/>  
213 - <box>  
214 - <topPen lineWidth="0.25"/>  
215 - <leftPen lineWidth="0.25"/>  
216 - <bottomPen lineWidth="0.25"/>  
217 - <rightPen lineWidth="0.25"/>  
218 - </box>  
219 - <textElement textAlignment="Right" verticalAlignment="Middle">  
220 - <font isBold="true"/>  
221 - <paragraph rightIndent="3"/>  
222 - </textElement>  
223 - <textFieldExpression><![CDATA[$V{valorTotal}]]></textFieldExpression>  
224 - </textField>  
225 - <textField pattern="#,##0.00" isBlankWhenNull="true">  
226 - <reportElement uuid="4bd447e3-9b4f-43b1-b343-5ecb6e5eb03a" x="331" y="0" width="98" height="20"/>  
227 - <box>  
228 - <topPen lineWidth="0.25"/>  
229 - <leftPen lineWidth="0.25"/>  
230 - <bottomPen lineWidth="0.25"/>  
231 - <rightPen lineWidth="0.25"/>  
232 - </box>  
233 - <textElement textAlignment="Right" verticalAlignment="Middle">  
234 - <font isBold="true"/>  
235 - <paragraph rightIndent="3"/>  
236 - </textElement>  
237 - <textFieldExpression><![CDATA[$V{totalQtd}]]></textFieldExpression>  
238 - </textField>  
239 - </band>  
240 - </summary>  
241 -</jasperReport>  
cit-almoxarifado-web/target/classes/spring/applicationContext.xml
@@ -1,74 +0,0 @@ @@ -1,74 +0,0 @@
1 -<beans xmlns="http://www.springframework.org/schema/beans"  
2 - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
3 - xmlns:context="http://www.springframework.org/schema/context"  
4 - xmlns:util="http://www.springframework.org/schema/util"  
5 - xmlns:p="http://www.springframework.org/schema/p"  
6 - xsi:schemaLocation="http://www.springframework.org/schema/beans  
7 - http://www.springframework.org/schema/beans/spring-beans-3.1.xsd  
8 - http://www.springframework.org/schema/context  
9 - http://www.springframework.org/schema/context/spring-context-3.1.xsd  
10 - http://www.springframework.org/schema/util  
11 - http://www.springframework.org/schema/util/spring-util-3.1.xsd">  
12 -  
13 -  
14 - <bean id="citAlmoxarifadoDataSource" class="org.springframework.jndi.JndiObjectFactoryBean">  
15 - <property name="jndiName" value="java:/env/jdbc/cit-almoxarifado" />  
16 - </bean>  
17 -  
18 - <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"  
19 - p:packagesToScan="br.com.centralit.framework.model, br.com.centralit.api.model"  
20 - p:dataSource-ref="citAlmoxarifadoDataSource"  
21 - p:jpaPropertyMap-ref="jpaPropertyMap"  
22 - p:jpaVendorAdapter-ref="jpaVendorAdapter" />  
23 -  
24 - <bean id="jpaVendorAdapter" class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter" />  
25 -  
26 - <context:component-scan base-package="br.com.centralit.listener" />  
27 -  
28 -<!-- <bean id="notificacaoRessuprimentoJob" class="br.com.centralit.api.job.NotificacaoRessuprimentoJob"/> -->  
29 -  
30 -<!-- <bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean"> -->  
31 -<!-- <property name="applicationContextSchedulerContextKey" value="context" /> -->  
32 -<!-- </bean> -->  
33 -  
34 -<!-- <bean name="configuracaoNotificacaoJobDetail" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean"> -->  
35 -<!-- <property name="targetObject" ref="notificacaoRessuprimentoJob"/> -->  
36 -<!-- <property name="jobDataAsMap"> -->  
37 -<!-- <map> -->  
38 -<!-- <entry key="configuracaoNotificacaoRessuprimentoService" value-ref="configuracaoNotificacaoRessuprimentoService" /> -->  
39 -<!-- </map> -->  
40 -<!-- </property> -->  
41 -<!-- </bean> -->  
42 -  
43 -<!-- <bean id="notificacaoRessuprimentoJobDetail" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean"> -->  
44 -<!-- <property name="targetObject" ref="notificacaoRessuprimentoJob"/> -->  
45 -<!-- <property name="targetMethod" value="executeJob"/> -->  
46 -<!-- <property name="concurrent" value="false" /> -->  
47 -<!-- </bean> -->  
48 -  
49 -<!-- <bean id="notificacaoRessuprimentoCronTrigger" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean "> -->  
50 -<!-- <property name="jobDetail" ref="notificacaoRessuprimentoJobDetail" /> -->  
51 -<!-- <property name="cronExpression" value="0 0 17 * * ?" /> -->  
52 -<!-- </bean> -->  
53 -  
54 -<!-- <bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean"> -->  
55 -<!-- <property name="triggers"> -->  
56 -<!-- <list> -->  
57 -<!-- <ref bean="notificacaoRessuprimentoCronTrigger" /> -->  
58 -<!-- </list> -->  
59 -<!-- </property> -->  
60 -<!-- </bean> -->  
61 -  
62 - <util:map id="jpaPropertyMap">  
63 - <entry key="generateDdl" value="${hibernate.generate.ddl}" />  
64 - <entry key="hibernate.hbm2ddl.auto" value="${hibernate.hbm2ddl.auto}" />  
65 - <entry key="hibernate.dialect" value="${hibernate.dialect}" />  
66 - <entry key="hibernate.show.sql" value="${hibernate.show.sql}" />  
67 - <entry key="hibernate.format_sql" value="${hibernate.format.sql}" />  
68 - </util:map>  
69 -  
70 - <import resource="webmvc-context.xml" />  
71 - <import resource="classpath*:spring/applicationContext-base.xml" />  
72 - <import resource="${authentication.method}" />  
73 -  
74 -</beans>  
cit-almoxarifado-web/target/classes/spring/spring-security-cas.xml
@@ -1,87 +0,0 @@ @@ -1,87 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<beans xmlns="http://www.springframework.org/schema/beans"  
3 - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
4 - xmlns:p="http://www.springframework.org/schema/p"  
5 - xmlns:security="http://www.springframework.org/schema/security"  
6 - xsi:schemaLocation="http://www.springframework.org/schema/beans  
7 - http://www.springframework.org/schema/beans/spring-beans.xsd  
8 - http://www.springframework.org/schema/security  
9 - http://www.springframework.org/schema/security/spring-security-3.2.xsd">  
10 -  
11 - <security:global-method-security pre-post-annotations="enabled" />  
12 -  
13 - <security:http auto-config="true" use-expressions="true" entry-point-ref="casProcessingFilterEntryPoint" access-denied-page="/denied.jsp">  
14 - <security:intercept-url pattern="/secure/extreme/**" access="ROLE_ADMIN" requires-channel="https"/>  
15 - <security:intercept-url pattern="/rest/**/existeVinculo**" access="permitAll" />  
16 - <security:intercept-url pattern="/rest/materialEstoqueSaldo/buscaQuantidadeAtual**" access="permitAll" />  
17 - <security:intercept-url pattern="/rest/materialEstoqueSaldo/buscaUltimoValorFechado**" access="permitAll" />  
18 - <security:intercept-url pattern="/rest/materialEstoqueSaldo/buscaValorAtual**" access="permitAll" />  
19 - <security:intercept-url pattern="/rest/movimentoEstoque/buscaSaldoMaterial**" access="permitAll" />  
20 - <security:intercept-url pattern="/rest/inicializarCarga/**" access="permitAll" />  
21 - <security:intercept-url pattern="/rest/localEstoque/saveLocalEstoqueAlmoxarifado**" access="permitAll" />  
22 - <security:intercept-url pattern="/rest/movimentoEstoque/buscaValorMovimentadoMaterialReferenciaAtual**" access="permitAll" />  
23 - <security:intercept-url pattern="/rest/configuracaoNotificacaoRessuprimento/findTimerIntervalNotification**" access="permitAll" />  
24 - <security:intercept-url pattern="/rest/configuracaoNotificacaoRessuprimento/montarMensagemNotificacao**" access="permitAll" />  
25 - <security:intercept-url pattern="/**" access="isFullyAuthenticated()" requires-channel="https"/>  
26 - <security:logout logout-success-url="/cas-logout.jsp"/>  
27 - <security:custom-filter ref="casAuthenticationFilter" after="CAS_FILTER"/>  
28 -  
29 - <security:session-management session-fixation-protection="newSession">  
30 - <security:concurrency-control max-sessions="1"/>  
31 - </security:session-management>  
32 - </security:http>  
33 -  
34 - <security:authentication-manager alias="authenticationManager">  
35 - <security:authentication-provider ref="casAuthenticationProvider"/>  
36 - </security:authentication-manager>  
37 -  
38 - <bean id="casAuthenticationFilter"  
39 - class="org.springframework.security.cas.web.CasAuthenticationFilter">  
40 - <property name="authenticationManager" ref="authenticationManager"/>  
41 - <property name="authenticationFailureHandler">  
42 - <bean class="org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler">  
43 - <property name="defaultFailureUrl" value="/authfailed.jsp"/>  
44 - </bean>  
45 - </property>  
46 - <property name="authenticationSuccessHandler">  
47 - <bean class="org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler">  
48 - <property name="defaultTargetUrl" value="/"/>  
49 - </bean>  
50 - </property>  
51 - <property name="proxyGrantingTicketStorage" ref="proxyGrantingTicketStorage"/>  
52 - <property name="proxyReceptorUrl" value="/secure/receptor"/>  
53 - </bean>  
54 -  
55 - <bean id="casProcessingFilterEntryPoint" class="org.springframework.security.cas.web.CasAuthenticationEntryPoint">  
56 - <property name="loginUrl" value="${authentication.url}/cas/login"/>  
57 - <property name="serviceProperties" ref="serviceProperties"/>  
58 - </bean>  
59 -  
60 - <bean id="casAuthenticationProvider"  
61 - class="org.springframework.security.cas.authentication.CasAuthenticationProvider"  
62 - p:key="central@123"  
63 - p:serviceProperties-ref="serviceProperties"  
64 - p:authenticationUserDetailsService-ref="userDetailsService">  
65 - <property name="ticketValidator">  
66 - <bean class="org.jasig.cas.client.validation.Saml11TicketValidator">  
67 - <constructor-arg index="0" value="${authentication.url}/cas"/>  
68 - </bean>  
69 - </property>  
70 - </bean>  
71 -  
72 - <bean id="proxyGrantingTicketStorage" class="org.jasig.cas.client.proxy.ProxyGrantingTicketStorageImpl"/>  
73 -  
74 - <bean id="serviceProperties" class="org.springframework.security.cas.ServiceProperties">  
75 - <property name="service" value="${authentication.url}/cit-almoxarifado-web/j_spring_cas_security_check"/>  
76 - <property name="sendRenew" value="false"/>  
77 - </bean>  
78 -  
79 - <bean id="userDetailsService" class="br.com.centralit.api.security.GrantedAuthorityFromAssertionAttributesUserDetailsService">  
80 - <constructor-arg>  
81 - <list>  
82 - <value>authorities</value>  
83 - </list>  
84 - </constructor-arg>  
85 - </bean>  
86 -  
87 -</beans>  
cit-almoxarifado-web/target/classes/spring/spring-security-db.xml
@@ -1,29 +0,0 @@ @@ -1,29 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<beans xmlns="http://www.springframework.org/schema/beans"  
3 - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
4 - xmlns:p="http://www.springframework.org/schema/p"  
5 - xmlns:security="http://www.springframework.org/schema/security"  
6 - xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd  
7 - http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security.xsd">  
8 -  
9 - <security:global-method-security secured-annotations="enabled" />  
10 -  
11 - <security:http auto-config="true" use-expressions="true" access-denied-page="/login?error=403">  
12 - <security:intercept-url pattern="/login" access="permitAll" />  
13 - <security:intercept-url pattern="/j_spring_security_check" access="permitAll" />  
14 - <security:intercept-url pattern="/assets/**" access="permitAll" />  
15 - <security:intercept-url pattern="/**" access="hasRole('ROLE_USER')" />  
16 -  
17 - <security:form-login login-page="/login" authentication-failure-url="/login?error=403" default-target-url="/index" />  
18 -  
19 - <security:logout invalidate-session="true" logout-success-url="/login" logout-url="/logout" />  
20 -  
21 - <security:remember-me key="CentralITSolutions" remember-me-parameter="j_remenberme" />  
22 - </security:http>  
23 -  
24 - <bean id="customAuthenticationProvider" class="br.com.centralit.api.security.CustomAuthenticationProvider" />  
25 -  
26 - <security:authentication-manager>  
27 - <security:authentication-provider ref="customAuthenticationProvider" />  
28 - </security:authentication-manager>  
29 -</beans>  
30 \ No newline at end of file 0 \ No newline at end of file
cit-almoxarifado-web/target/classes/spring/spring-security-openam.xml
@@ -1,372 +0,0 @@ @@ -1,372 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8" ?>  
2 -<!--  
3 -  
4 - *********************************************************************************************************************  
5 - * LICENCA*GPLv2 *  
6 - * Copyright [2011,2012,2013,2014,2015] da CentralIT Tecnologia da Informação Ltda (www.centralit.com.br) *  
7 - * *  
8 - * Este arquivo é parte do programa/software: Citsmart (www.citsmart.com.br) *  
9 - * *  
10 - * O Citsmart é um software livre; você pode redistribui-lo e/ou modificá-lo dentro dos termos da Licença *  
11 - * Pública Geral GNU como publicada pela Fundação do Software Livre (FSF); na versção 2 da Licença. *  
12 - * *  
13 - * Este programa/software é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma *  
14 - * garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral *  
15 - * GNU/GPL em português para maiores detalhes. *  
16 - * *  
17 - * Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título 'LICENCA.txt', junto com este *  
18 - * programa/software, se não, acesse o Portal do Software Público Brasileiro no endereço www.softwarepublico.gov.br *  
19 - * ou escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,USA *  
20 - *********************************************************************************************************************  
21 -  
22 --->  
23 -<beans xmlns="http://www.springframework.org/schema/beans"  
24 - xmlns:security="http://www.springframework.org/schema/security"  
25 - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
26 - xmlns:context="http://www.springframework.org/schema/context"  
27 - xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd  
28 - http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.2.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd">  
29 -  
30 - <!-- Enable auto-wiring -->  
31 - <context:annotation-config/>  
32 -  
33 - <!-- Scan for auto-wiring classes in spring saml packages -->  
34 - <context:component-scan base-package="org.springframework.security.saml"/>  
35 -  
36 - <bean id="filterSecurityInterceptor" class="org.springframework.security.web.access.intercept.FilterSecurityInterceptor">  
37 - <property name="authenticationManager" ref="authenticationManager"></property>  
38 - <property name="accessDecisionManager" ref="affirmativeBased"></property>  
39 - <property name="securityMetadataSource" ref="optionsFromDataBaseFilterInvocationSecurityMetadataSource"></property>  
40 - <property name="validateConfigAttributes" value="true"/>  
41 - </bean>  
42 -  
43 - <bean id="optionsFromDataBaseFilterInvocationSecurityMetadataSource" class="br.com.centralit.api.security.MyFilterSecurityMetadataSource" />  
44 -  
45 - <bean id="roleVoter" class="org.springframework.security.access.vote.RoleVoter" />  
46 -  
47 - <bean id="affirmativeBased" class='org.springframework.security.access.vote.AffirmativeBased'>  
48 - <property name="decisionVoters">  
49 - <list>  
50 - <ref bean="roleVoter"/>  
51 - </list>  
52 - </property>  
53 - </bean>  
54 -  
55 - <!-- Unsecured pages -->  
56 - <security:http security="none" pattern="/favicon.ico"/>  
57 - <security:http security="none" pattern="/images/**"/>  
58 - <security:http security="none" pattern="/css/**"/>  
59 - <security:http security="none" pattern="/logout.jsp"/>  
60 - <security:http security="none" pattern="/accessDeniedPage.htm"/>  
61 -  
62 - <security:global-method-security secured-annotations="enabled" />  
63 -  
64 - <!-- Security for the administration UI -->  
65 - <security:http pattern="/saml/web/**" access-denied-page="/accessDeniedPage.htm">  
66 - <security:form-login login-processing-url="/saml/web/login" login-page="/saml/web/metadata/login" default-target-url="/saml/web/metadata"/>  
67 - <security:intercept-url pattern="/saml/web/metadata/login" access="IS_AUTHENTICATED_ANONYMOUSLY"/>  
68 - <security:intercept-url pattern="/saml/web/**" access="ROLE_ADMIN"/>  
69 - <security:custom-filter before="FIRST" ref="metadataGeneratorFilter"/>  
70 - </security:http>  
71 -  
72 - <!-- Secured pages with SAML as entry point -->  
73 - <security:http entry-point-ref="samlEntryPoint" auto-config="true" access-denied-page="/accessDeniedPage.htm">  
74 - <security:intercept-url pattern="/**" access="IS_AUTHENTICATED_FULLY"/>  
75 - <security:custom-filter before="FIRST" ref="metadataGeneratorFilter"/>  
76 - <security:custom-filter after="BASIC_AUTH_FILTER" ref="samlFilter"/>  
77 - </security:http>  
78 -  
79 - <!-- Filters for processing of SAML messages -->  
80 - <bean id="samlFilter" class="org.springframework.security.web.FilterChainProxy">  
81 - <security:filter-chain-map request-matcher="ant">  
82 - <security:filter-chain pattern="/saml/login/**" filters="samlEntryPoint"/>  
83 - <security:filter-chain pattern="/saml/logout/**" filters="samlLogoutFilter"/>  
84 - <security:filter-chain pattern="/saml/metadata/**" filters="metadataDisplayFilter"/>  
85 - <security:filter-chain pattern="/saml/SSO/**" filters="samlWebSSOProcessingFilter"/>  
86 - <security:filter-chain pattern="/saml/SSOHoK/**" filters="samlWebSSOHoKProcessingFilter"/>  
87 - <security:filter-chain pattern="/saml/SingleLogout/**" filters="samlLogoutProcessingFilter"/>  
88 - <security:filter-chain pattern="/saml/discovery/**" filters="samlIDPDiscovery"/>  
89 - <security:filter-chain pattern="/html/**" filters="filterSecurityInterceptor"/>  
90 - </security:filter-chain-map>  
91 - </bean>  
92 -  
93 - <!-- Handler deciding where to redirect user after successful login -->  
94 - <bean id="successRedirectHandler" class="org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler">  
95 - <property name="defaultTargetUrl" value="/"/>  
96 - </bean>  
97 - <!--  
98 - Use the following for interpreting RelayState coming from unsolicited response as redirect URL:  
99 - <bean id="successRedirectHandler" class="org.springframework.security.saml.SAMLRelayStateSuccessHandler">  
100 - <property name="defaultTargetUrl" value="/" />  
101 - </bean>  
102 - -->  
103 -  
104 - <!-- Handler deciding where to redirect user after failed login -->  
105 - <bean id="failureRedirectHandler"  
106 - class="org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler">  
107 - <property name="useForward" value="true"/>  
108 - <property name="defaultFailureUrl" value="/error.jsp"/>  
109 - </bean>  
110 -  
111 - <!-- Handler for successful logout -->  
112 - <bean id="successLogoutHandler" class="org.springframework.security.web.authentication.logout.SimpleUrlLogoutSuccessHandler">  
113 - <property name="defaultTargetUrl" value="/logout.jsp"/>  
114 - </bean>  
115 -  
116 - <security:authentication-manager alias="authenticationManager">  
117 - <!-- Register authentication manager for SAML provider -->  
118 - <security:authentication-provider ref="samlAuthenticationProvider"/>  
119 - <!-- Register authentication manager for administration UI -->  
120 - <security:authentication-provider>  
121 - <security:user-service id="adminInterfaceService">  
122 - <security:user name="admin" password="admin" authorities="ROLE_ADMIN"/>  
123 - </security:user-service>  
124 - </security:authentication-provider>  
125 - </security:authentication-manager>  
126 -  
127 - <!-- Logger for SAML messages and events -->  
128 - <bean id="samlLogger" class="org.springframework.security.saml.log.SAMLDefaultLogger"/>  
129 -  
130 - <!-- Central storage of cryptographic keys -->  
131 - <bean id="keyManager" class="org.springframework.security.saml.key.JKSKeyManager">  
132 - <constructor-arg value="classpath:security/samlKeystore.jks"/>  
133 - <constructor-arg type="java.lang.String" value="nalle123"/>  
134 - <constructor-arg>  
135 - <map>  
136 - <entry key="apollo" value="nalle123"/>  
137 - </map>  
138 - </constructor-arg>  
139 - <constructor-arg type="java.lang.String" value="apollo"/>  
140 - </bean>  
141 -  
142 - <!-- Entry point to initialize authentication, default values taken from properties file -->  
143 - <bean id="samlEntryPoint" class="org.springframework.security.saml.SAMLEntryPoint">  
144 - <property name="defaultProfileOptions">  
145 - <bean class="org.springframework.security.saml.websso.WebSSOProfileOptions">  
146 - <property name="binding" value="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"/>  
147 - <property name="includeScoping" value="true"/>  
148 - </bean>  
149 - </property>  
150 - </bean>  
151 -  
152 - <!-- IDP Discovery Service -->  
153 - <bean id="samlIDPDiscovery" class="org.springframework.security.saml.SAMLDiscovery">  
154 - <property name="idpSelectionPath" value="/WEB-INF/security/idpSelection.jsp"/>  
155 - </bean>  
156 -  
157 - <!-- Filter automatically generates default SP metadata -->  
158 - <bean id="metadataGeneratorFilter" class="org.springframework.security.saml.metadata.MetadataGeneratorFilter">  
159 - <constructor-arg>  
160 - <bean class="org.springframework.security.saml.metadata.MetadataGenerator">  
161 - <property name="entityId" value="grp.com"/>  
162 - </bean>  
163 - </constructor-arg>  
164 - </bean>  
165 -  
166 - <!-- bean id="metadataGeneratorFilter" class="org.springframework.security.saml.metadata.MetadataGeneratorFilter">  
167 - <constructor-arg>  
168 - <bean class="org.springframework.security.saml.metadata.MetadataGenerator">  
169 - <property name="extendedMetadata">  
170 - <bean class="org.springframework.security.saml.metadata.ExtendedMetadata">  
171 - <property name="entityId" value="teste"/>  
172 - <property name="idpDiscoveryEnabled" value="true"/>  
173 - </bean>  
174 - </property>  
175 - </bean>  
176 - </constructor-arg>  
177 - </bean -->  
178 -  
179 - <!-- The filter is waiting for connections on URL suffixed with filterSuffix and presents SP metadata there -->  
180 - <bean id="metadataDisplayFilter" class="org.springframework.security.saml.metadata.MetadataDisplayFilter"/>  
181 -  
182 - <!-- IDP Metadata configuration - paths to metadata of IDPs in circle of trust is here -->  
183 - <bean id="metadata" class="org.springframework.security.saml.metadata.CachingMetadataManager">  
184 - <constructor-arg>  
185 - <list>  
186 - <!-- Example of classpath metadata with Extended Metadata -->  
187 - <bean class="org.springframework.security.saml.metadata.ExtendedMetadataDelegate">  
188 - <constructor-arg>  
189 - <bean class="org.opensaml.saml2.metadata.provider.ResourceBackedMetadataProvider">  
190 - <constructor-arg>  
191 - <bean class="java.util.Timer"/>  
192 - </constructor-arg>  
193 - <constructor-arg>  
194 - <bean class="org.opensaml.util.resource.ClasspathResource">  
195 - <constructor-arg value="/metadata/idp.xml"/>  
196 - </bean>  
197 - </constructor-arg>  
198 - <property name="parserPool" ref="parserPool"/>  
199 - </bean>  
200 - </constructor-arg>  
201 - <constructor-arg>  
202 - <bean class="org.springframework.security.saml.metadata.ExtendedMetadata">  
203 - </bean>  
204 - </constructor-arg>  
205 - </bean>  
206 - <!-- Example of HTTP metadata without Extended Metadata -->  
207 - <bean class="org.opensaml.saml2.metadata.provider.HTTPMetadataProvider">  
208 - <!-- URL containing the metadata -->  
209 - <constructor-arg>  
210 - <value type="java.lang.String">http://iam.cit.local:8080/openam/saml2/jsp/exportmetadata.jsp?realm=grp</value>  
211 - </constructor-arg>  
212 - <!-- Timeout for metadata loading in ms -->  
213 - <constructor-arg>  
214 - <value type="int">15000</value>  
215 - </constructor-arg>  
216 - <property name="parserPool" ref="parserPool"/>  
217 - </bean>  
218 - <!-- Example of file system metadata without Extended Metadata -->  
219 - <!--  
220 - <bean class="org.opensaml.saml2.metadata.provider.FilesystemMetadataProvider">  
221 - <constructor-arg>  
222 - <value type="java.io.File">/usr/local/metadata/idp.xml</value>  
223 - </constructor-arg>  
224 - <property name="parserPool" ref="parserPool"/>  
225 - </bean>  
226 - -->  
227 - </list>  
228 - </constructor-arg>  
229 - <!-- OPTIONAL used when one of the metadata files contains information about this service provider -->  
230 - <!-- <property name="hostedSPName" value=""/> -->  
231 - <!-- OPTIONAL property: can tell the system which IDP should be used for authenticating user by default. -->  
232 - <!-- <property name="defaultIDP" value="http://localhost:8080/opensso"/> -->  
233 - </bean>  
234 -  
235 - <!-- SAML Authentication Provider responsible for validating of received SAML messages -->  
236 - <bean id="samlAuthenticationProvider" class="org.springframework.security.saml.SAMLAuthenticationProvider">  
237 - <!-- OPTIONAL property: can be used to store/load user data after login -->  
238 - <!--  
239 - <property name="userDetails" ref="bean" />  
240 - -->  
241 - <property name="userDetails" ref="samlUserDetailsServiceBean" />  
242 - </bean>  
243 -  
244 - <bean id="samlUserDetailsServiceBean" class="br.com.centralit.api.security.SAMLUserDetailsServiceImpl" />  
245 -  
246 - <!-- Provider of default SAML Context -->  
247 - <bean id="contextProvider" class="org.springframework.security.saml.context.SAMLContextProviderImpl"/>  
248 -  
249 - <!-- Processing filter for WebSSO profile messages -->  
250 - <bean id="samlWebSSOProcessingFilter" class="org.springframework.security.saml.SAMLProcessingFilter">  
251 - <property name="authenticationManager" ref="authenticationManager"/>  
252 - <property name="authenticationSuccessHandler" ref="successRedirectHandler"/>  
253 - <property name="authenticationFailureHandler" ref="failureRedirectHandler"/>  
254 - </bean>  
255 -  
256 - <!-- Processing filter for WebSSO Holder-of-Key profile -->  
257 - <bean id="samlWebSSOHoKProcessingFilter" class="org.springframework.security.saml.SAMLWebSSOHoKProcessingFilter">  
258 - <property name="authenticationManager" ref="authenticationManager"/>  
259 - <property name="authenticationSuccessHandler" ref="successRedirectHandler"/>  
260 - <property name="authenticationFailureHandler" ref="failureRedirectHandler"/>  
261 - </bean>  
262 -  
263 - <!-- Logout handler terminating local session -->  
264 - <bean id="logoutHandler"  
265 - class="org.springframework.security.web.authentication.logout.SecurityContextLogoutHandler">  
266 - <property name="invalidateHttpSession" value="false"/>  
267 - </bean>  
268 -  
269 - <!-- Override default logout processing filter with the one processing SAML messages -->  
270 - <bean id="samlLogoutFilter" class="org.springframework.security.saml.SAMLLogoutFilter">  
271 - <constructor-arg index="0" ref="successLogoutHandler"/>  
272 - <constructor-arg index="1" ref="logoutHandler"/>  
273 - <constructor-arg index="2" ref="logoutHandler"/>  
274 - </bean>  
275 -  
276 - <!-- Filter processing incoming logout messages -->  
277 - <!-- First argument determines URL user will be redirected to after successful global logout -->  
278 - <bean id="samlLogoutProcessingFilter" class="org.springframework.security.saml.SAMLLogoutProcessingFilter">  
279 - <constructor-arg index="0" ref="successLogoutHandler"/>  
280 - <constructor-arg index="1" ref="logoutHandler"/>  
281 - </bean>  
282 -  
283 - <!-- Class loading incoming SAML messages from httpRequest stream -->  
284 - <bean id="processor" class="org.springframework.security.saml.processor.SAMLProcessorImpl">  
285 - <constructor-arg>  
286 - <list>  
287 - <ref bean="redirectBinding"/>  
288 - <ref bean="postBinding"/>  
289 - <ref bean="artifactBinding"/>  
290 - <ref bean="soapBinding"/>  
291 - <ref bean="paosBinding"/>  
292 - </list>  
293 - </constructor-arg>  
294 - </bean>  
295 -  
296 - <!-- SAML 2.0 WebSSO Assertion Consumer -->  
297 - <bean id="webSSOprofileConsumer" class="org.springframework.security.saml.websso.WebSSOProfileConsumerImpl">  
298 - <property name="responseSkew" value="500"></property>  
299 - </bean>  
300 -  
301 - <!-- SAML 2.0 Holder-of-Key WebSSO Assertion Consumer -->  
302 - <bean id="hokWebSSOprofileConsumer" class="org.springframework.security.saml.websso.WebSSOProfileConsumerHoKImpl"/>  
303 -  
304 - <!-- SAML 2.0 Web SSO profile -->  
305 - <bean id="webSSOprofile" class="org.springframework.security.saml.websso.WebSSOProfileImpl"/>  
306 -  
307 - <!-- SAML 2.0 Holder-of-Key Web SSO profile -->  
308 - <bean id="hokWebSSOProfile" class="org.springframework.security.saml.websso.WebSSOProfileConsumerHoKImpl"/>  
309 -  
310 - <!-- SAML 2.0 ECP profile -->  
311 - <bean id="ecpprofile" class="org.springframework.security.saml.websso.WebSSOProfileECPImpl"/>  
312 -  
313 - <!-- SAML 2.0 Logout Profile -->  
314 - <bean id="logoutprofile" class="org.springframework.security.saml.websso.SingleLogoutProfileImpl"/>  
315 -  
316 - <!-- Bindings, encoders and decoders used for creating and parsing messages -->  
317 - <bean id="postBinding" class="org.springframework.security.saml.processor.HTTPPostBinding">  
318 - <constructor-arg ref="parserPool"/>  
319 - <constructor-arg ref="velocityEngine"/>  
320 - </bean>  
321 -  
322 - <bean id="redirectBinding" class="org.springframework.security.saml.processor.HTTPRedirectDeflateBinding">  
323 - <constructor-arg ref="parserPool"/>  
324 - </bean>  
325 -  
326 - <bean id="artifactBinding" class="org.springframework.security.saml.processor.HTTPArtifactBinding">  
327 - <constructor-arg ref="parserPool"/>  
328 - <constructor-arg ref="velocityEngine"/>  
329 - <constructor-arg>  
330 - <bean class="org.springframework.security.saml.websso.ArtifactResolutionProfileImpl">  
331 - <constructor-arg>  
332 - <bean class="org.apache.commons.httpclient.HttpClient">  
333 - <constructor-arg>  
334 - <bean class="org.apache.commons.httpclient.MultiThreadedHttpConnectionManager"/>  
335 - </constructor-arg>  
336 - </bean>  
337 - </constructor-arg>  
338 - <property name="processor">  
339 - <bean class="org.springframework.security.saml.processor.SAMLProcessorImpl">  
340 - <constructor-arg ref="soapBinding"/>  
341 - </bean>  
342 - </property>  
343 - </bean>  
344 - </constructor-arg>  
345 - </bean>  
346 -  
347 - <bean id="soapBinding" class="org.springframework.security.saml.processor.HTTPSOAP11Binding">  
348 - <constructor-arg ref="parserPool"/>  
349 - </bean>  
350 -  
351 - <bean id="paosBinding" class="org.springframework.security.saml.processor.HTTPPAOS11Binding">  
352 - <constructor-arg ref="parserPool"/>  
353 - </bean>  
354 -  
355 - <!-- Initialization of OpenSAML library-->  
356 - <bean class="org.springframework.security.saml.SAMLBootstrap"/>  
357 -  
358 - <!-- Initialization of the velocity engine -->  
359 - <bean id="velocityEngine" class="org.springframework.security.saml.util.VelocityFactory" factory-method="getEngine"/>  
360 -  
361 - <!-- XML parser pool needed for OpenSAML parsing -->  
362 - <bean id="parserPool" class="org.opensaml.xml.parse.StaticBasicParserPool" init-method="initialize">  
363 - <property name="builderFeatures">  
364 - <map>  
365 - <entry key="http://apache.org/xml/features/dom/defer-node-expansion" value="false"/>  
366 - </map>  
367 - </property>  
368 - </bean>  
369 -  
370 - <bean id="parserPoolHolder" class="org.springframework.security.saml.parser.ParserPoolHolder"/>  
371 -  
372 -</beans>  
cit-almoxarifado-web/target/classes/spring/webmvc-context.xml
@@ -1,51 +0,0 @@ @@ -1,51 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<beans xmlns="http://www.springframework.org/schema/beans"  
3 - xmlns:p="http://www.springframework.org/schema/p" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
4 - xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:context="http://www.springframework.org/schema/context"  
5 - xsi:schemaLocation="  
6 - http://www.springframework.org/schema/beans  
7 - http://www.springframework.org/schema/beans/spring-beans-3.1.xsd  
8 - http://www.springframework.org/schema/context  
9 - http://www.springframework.org/schema/context/spring-context-3.1.xsd  
10 - http://www.springframework.org/schema/mvc  
11 - http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd">  
12 -  
13 - <mvc:annotation-driven>  
14 - <mvc:message-converters register-defaults="true">  
15 - <bean id="jacksonMessageConverter" class="br.com.centralit.framework.json.CustomMappingJackson2"/>  
16 - </mvc:message-converters>  
17 - </mvc:annotation-driven>  
18 -  
19 - <mvc:default-servlet-handler />  
20 -  
21 - <mvc:resources mapping="/resources/**" location="/resources/" />  
22 - <mvc:resources mapping="/assets/**" location="/assets/" />  
23 -  
24 - <!-- i18n -->  
25 - <bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource">  
26 - <property name="basename" value="WEB-INF/i18n" />  
27 - <property name="defaultEncoding" value="UTF-8" />  
28 - <property name="useCodeAsDefaultMessage" value="true" />  
29 - </bean>  
30 -  
31 - <bean id="localeResolver" class="org.springframework.web.servlet.i18n.FixedLocaleResolver">  
32 - <property name="defaultLocale" value="pt_BR" />  
33 - </bean>  
34 -  
35 - <!-- View Handler -->  
36 - <bean id="velocityConfig" class="org.springframework.web.servlet.view.velocity.VelocityConfigurer">  
37 - <property name="resourceLoaderPath" value="/html/" />  
38 - </bean>  
39 -  
40 - <bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">  
41 - <property name="viewClass" value="org.springframework.web.servlet.view.JstlView" />  
42 - <property name="prefix" value="/html/" />  
43 - <property name="suffix" value=".jsp" />  
44 - </bean>  
45 -  
46 - <bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">  
47 - <!-- setting maximum upload size -->  
48 - <property name="maxUploadSize" value="52428800" />  
49 -  
50 - </bean>  
51 -</beans>  
cit-almoxarifado-web/target/m2e-wtp/web-resources/META-INF/MANIFEST.MF
@@ -1,5 +0,0 @@ @@ -1,5 +0,0 @@
1 -Manifest-Version: 1.0  
2 -Built-By: gabriel.damasceno  
3 -Build-Jdk: 1.8.0_45  
4 -Created-By: Maven Integration for Eclipse  
5 -  
cit-almoxarifado-web/target/m2e-wtp/web-resources/META-INF/maven/br.com.centralit/cit-almoxarifado-web/pom.properties
@@ -1,7 +0,0 @@ @@ -1,7 +0,0 @@
1 -#Generated by Maven Integration for Eclipse  
2 -#Mon Mar 21 08:35:34 BRT 2016  
3 -version=1.8.0-SNAPSHOT  
4 -groupId=br.com.centralit  
5 -m2e.projectName=cit-almoxarifado-web  
6 -m2e.projectLocation=D\:\\repositorios_git\\citsmartgrp\\cit-almoxarifado\\cit-almoxarifado-web  
7 -artifactId=cit-almoxarifado-web  
cit-almoxarifado-web/target/m2e-wtp/web-resources/META-INF/maven/br.com.centralit/cit-almoxarifado-web/pom.xml
@@ -1,50 +0,0 @@ @@ -1,50 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!-- ******************************************************************************************************************** -->  
3 -<!-- * LICENCA*GPLv2 * -->  
4 -<!-- * Copyright [2011,2012,2013,2014,2015] da CentralIT Tecnologia da Informação Ltda (www.centralit.com.br) * -->  
5 -<!-- * * -->  
6 -<!-- * Este arquivo é parte do programa/software: Citsmart (www.citsmart.com.br) * -->  
7 -<!-- * * -->  
8 -<!-- * O Citsmart é um software livre; você pode redistribui-lo e/ou modificá-lo dentro dos termos da Licença * -->  
9 -<!-- * Pública Geral GNU como publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença. * -->  
10 -<!-- * * -->  
11 -<!-- * Este programa/software é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma * -->  
12 -<!-- * garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral * -->  
13 -<!-- * GNU/GPL em português para maiores detalhes. * -->  
14 -<!-- * * -->  
15 -<!-- * Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título 'LICENCA.txt', junto com este * -->  
16 -<!-- * programa/software, se não, acesse o Portal do Software Público Brasileiro no endereço www.softwarepublico.gov.br * -->  
17 -<!-- * ou escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,USA * -->  
18 -<!-- ******************************************************************************************************************** -->  
19 -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
20 - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">  
21 - <modelVersion>4.0.0</modelVersion>  
22 -  
23 - <parent>  
24 - <groupId>br.com.centralit</groupId>  
25 - <artifactId>cit-almoxarifado</artifactId>  
26 - <version>1.8.0-SNAPSHOT</version>  
27 - </parent>  
28 -  
29 - <artifactId>cit-almoxarifado-web</artifactId>  
30 - <packaging>war</packaging>  
31 -  
32 - <name>cit-almoxarifado-web</name>  
33 -  
34 - <properties>  
35 - <findbugs.config.path>${project.parent.parent.parent.basedir}/filterfile.xml</findbugs.config.path>  
36 - <license.config.path>${project.parent.parent.basedir}/src/licensing</license.config.path>  
37 - <maven-antrun-plugin.phase>package</maven-antrun-plugin.phase>  
38 - <minify-maven-plugin.phase>prepare-package</minify-maven-plugin.phase>  
39 - </properties>  
40 -  
41 - <dependencies>  
42 - <dependency>  
43 - <groupId>br.com.centralit</groupId>  
44 - <artifactId>cit-almoxarifado-api</artifactId>  
45 - <version>${project.version}</version>  
46 - </dependency>  
47 - </dependencies>  
48 -  
49 -  
50 -</project>  
cit-almoxarifado-web/target/test-classes/br/com/centralit/controller/GenericControllerTest.class
No preview for this file type
cit-almoxarifado-web/target/test-classes/br/com/centralit/controller/impl/AtendimentoRequisicaoConsumoControllerTest.class
No preview for this file type
cit-almoxarifado-web/target/test-classes/br/com/centralit/controller/impl/AtendimentoRequisicaoConsumoItemControllerTest.class
No preview for this file type
cit-almoxarifado-web/target/test-classes/br/com/centralit/controller/impl/BaixaAlmoxarifadoControllerTest.class
No preview for this file type
cit-almoxarifado-web/target/test-classes/br/com/centralit/controller/impl/BaixaAlmoxarifadoItemControllerTest.class
No preview for this file type
cit-almoxarifado-web/target/test-classes/br/com/centralit/controller/impl/BemAlmoxarifadoCaracteristicaControllerTest.class
No preview for this file type
cit-almoxarifado-web/target/test-classes/br/com/centralit/controller/impl/CatalogoMaterialControllerTest.class
No preview for this file type
cit-almoxarifado-web/target/test-classes/br/com/centralit/controller/impl/CatalogoMaterialItemControllerTest.class
No preview for this file type
cit-almoxarifado-web/target/test-classes/br/com/centralit/controller/impl/CatalogoMaterialUnidadeConsumidoraRequisitanteItemControllerTest.class
No preview for this file type
cit-almoxarifado-web/target/test-classes/br/com/centralit/controller/impl/ConfiguracaoNotificacaoRessuprimentoControllerTest.class
No preview for this file type
cit-almoxarifado-web/target/test-classes/br/com/centralit/controller/impl/ConfiguracaoNotificacaoRessuprimentoGrupoControllerTest.class
No preview for this file type
cit-almoxarifado-web/target/test-classes/br/com/centralit/controller/impl/ConfiguracaoNotificacaoRessuprimentoUsuarioControllerTest.class
No preview for this file type
cit-almoxarifado-web/target/test-classes/br/com/centralit/controller/impl/DevolucaoControllerTest.class
No preview for this file type
cit-almoxarifado-web/target/test-classes/br/com/centralit/controller/impl/DevolucaoItemControllerTest.class
No preview for this file type
cit-almoxarifado-web/target/test-classes/br/com/centralit/controller/impl/DevolucaoObservacaoControllerTest.class
No preview for this file type
cit-almoxarifado-web/target/test-classes/br/com/centralit/controller/impl/EntradaAlmoxarifadoControllerTest.class
No preview for this file type
cit-almoxarifado-web/target/test-classes/br/com/centralit/controller/impl/GenericControllerTestImpl.class
No preview for this file type
cit-almoxarifado-web/target/test-classes/br/com/centralit/controller/impl/LocalEstoqueControllerTest.class
No preview for this file type
cit-almoxarifado-web/target/test-classes/br/com/centralit/controller/impl/LocalEstoqueSaldoControllerTest.class
No preview for this file type
cit-almoxarifado-web/target/test-classes/br/com/centralit/controller/impl/MaterialConsumoTipoUnidadeMedidaEntradaControllerTest.class
No preview for this file type
cit-almoxarifado-web/target/test-classes/br/com/centralit/controller/impl/MovimentoEstoqueControllerTest.class
No preview for this file type
cit-almoxarifado-web/target/test-classes/br/com/centralit/controller/impl/RequisicaoConsumoControllerTest.class
No preview for this file type
cit-almoxarifado-web/target/test-classes/br/com/centralit/controller/impl/RequisicaoConsumoItemControllerTest.class
No preview for this file type
cit-almoxarifado-web/target/test-classes/br/com/centralit/controller/test/utils/TestUtil.class
No preview for this file type
cit-almoxarifado-web/target/test-classes/br/com/centralit/controller/test/utils/package-info.class
No preview for this file type
cit-almoxarifado-web/target/test-classes/data.sql
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 --- Neste arquivo vc coloca querys com dados especificos para o funcionamento do sistema  
cit-almoxarifado-web/target/test-classes/entitiesJson/AtendimentoRequisicaoConsumo.json
cit-almoxarifado-web/target/test-classes/entitiesJson/AtendimentoRequisicaoConsumoItem.json
cit-almoxarifado-web/target/test-classes/entitiesJson/BaixaAlmoxarifado.json
cit-almoxarifado-web/target/test-classes/entitiesJson/BaixaAlmoxarifadoDocumento.json
cit-almoxarifado-web/target/test-classes/entitiesJson/BaixaAlmoxarifadoItem.json
cit-almoxarifado-web/target/test-classes/entitiesJson/BemAlmoxarifadoCaracteristica.json
cit-almoxarifado-web/target/test-classes/entitiesJson/CatalogoMaterial.json
cit-almoxarifado-web/target/test-classes/entitiesJson/CatalogoMaterialItem.json
cit-almoxarifado-web/target/test-classes/entitiesJson/CatalogoMaterialUnidadeConsumidoraRequisitanteItem.json
cit-almoxarifado-web/target/test-classes/entitiesJson/CentroCusto.json
cit-almoxarifado-web/target/test-classes/entitiesJson/ConfiguracaoNotificacaoRessuprimento.json
cit-almoxarifado-web/target/test-classes/entitiesJson/ConfiguracaoNotificacaoRessuprimentoGrupo.json
cit-almoxarifado-web/target/test-classes/entitiesJson/ConfiguracaoNotificacaoRessuprimentoItem.json
cit-almoxarifado-web/target/test-classes/entitiesJson/ConfiguracaoNotificacaoRessuprimentoUsuario.json
cit-almoxarifado-web/target/test-classes/entitiesJson/Devolucao.json
cit-almoxarifado-web/target/test-classes/entitiesJson/DevolucaoItem.json
cit-almoxarifado-web/target/test-classes/entitiesJson/DevolucaoObservacao.json
cit-almoxarifado-web/target/test-classes/entitiesJson/EntradaAlmoxarifado.json
cit-almoxarifado-web/target/test-classes/entitiesJson/EntradaAlmoxarifadoDocumento.json
cit-almoxarifado-web/target/test-classes/entitiesJson/EntradaItemAlmoxarifado.json
cit-almoxarifado-web/target/test-classes/entitiesJson/LocalEstoque.json
cit-almoxarifado-web/target/test-classes/entitiesJson/LocalEstoqueSaldo.json
cit-almoxarifado-web/target/test-classes/entitiesJson/MaterialConsumoTipoUnidadeMedidaEntrada.json
cit-almoxarifado-web/target/test-classes/entitiesJson/MovimentoEstoque.json
cit-almoxarifado-web/target/test-classes/entitiesJson/RequisicaoConsumo.json
cit-almoxarifado-web/target/test-classes/entitiesJson/RequisicaoConsumoItem.json
cit-almoxarifado-web/target/test-classes/entitiesJson/RequisicaoConsumoObservacao.json
cit-almoxarifado-web/target/test-classes/entitiesJson/TransferenciaContaContabil.json
cit-almoxarifado-web/target/test-classes/import.sql
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
1 --- Arquivo necessario para o hibernate.  
2 ---NAO APAGAR  
3 \ No newline at end of file 0 \ No newline at end of file
cit-almoxarifado-web/target/test-classes/schema.sql
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 --- Neste arquivo vc coloca o schema especifico para o funcionamento do sistema  
2 \ No newline at end of file 0 \ No newline at end of file
cit-almoxarifado-web/target/test-classes/spring/applicationContext-base-test.xml
@@ -1,85 +0,0 @@ @@ -1,85 +0,0 @@
1 -<beans xmlns="http://www.springframework.org/schema/beans"  
2 - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
3 - xmlns:tx="http://www.springframework.org/schema/tx"  
4 - xmlns:context="http://www.springframework.org/schema/context"  
5 - xmlns:aop="http://www.springframework.org/schema/aop"  
6 - xmlns:int-security="http://www.springframework.org/schema/integration/security"  
7 - xmlns:sec="http://www.springframework.org/schema/security"  
8 - xmlns:task="http://www.springframework.org/schema/task"  
9 - xmlns:util="http://www.springframework.org/schema/util"  
10 - xmlns:p="http://www.springframework.org/schema/p"  
11 - xsi:schemaLocation="http://www.springframework.org/schema/beans  
12 - http://www.springframework.org/schema/beans/spring-beans-3.1.xsd  
13 - http://www.springframework.org/schema/tx  
14 - http://www.springframework.org/schema/tx/spring-tx-3.1.xsd  
15 - http://www.springframework.org/schema/context  
16 - http://www.springframework.org/schema/context/spring-context-3.1.xsd  
17 - http://www.springframework.org/schema/aop  
18 - http://www.springframework.org/schema/aop/spring-aop-3.1.xsd  
19 - http://www.springframework.org/schema/task  
20 - http://www.springframework.org/schema/task/spring-task-3.1.xsd  
21 - http://www.springframework.org/schema/security  
22 - http://www.springframework.org/schema/security/spring-security-3.1.xsd  
23 - http://www.springframework.org/schema/util  
24 - http://www.springframework.org/schema/util/spring-util-3.1.xsd  
25 - http://www.springframework.org/schema/integration  
26 - http://www.springframework.org/schema/integration/spring-integration.xsd  
27 - http://www.springframework.org/schema/integration/security  
28 - http://www.springframework.org/schema/integration/security/spring-integration-security-3.1.xsd">  
29 -  
30 - <bean id="searchProcessor" class="com.googlecode.genericdao.search.jpa.JPASearchProcessor">  
31 - <constructor-arg ref="metadataUtil" />  
32 - </bean>  
33 -  
34 - <bean id="metadataUtil" class="com.googlecode.genericdao.search.jpa.hibernate.HibernateMetadataUtil"  
35 - factory-method="getInstanceForEntityManagerFactory">  
36 - <constructor-arg ref="entityManagerFactory" />  
37 - </bean>  
38 -  
39 - <!-- Injects EntityManager to the DAO layer. -->  
40 - <bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor" />  
41 -  
42 - <!-- Publishing session factory to be able view statistics -->  
43 - <bean id="sessionFactory" factory-bean="entityManagerFactory" factory-method="getSessionFactory" />  
44 -  
45 - <bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager">  
46 - <property name="entityManagerFactory" ref="entityManagerFactory" />  
47 - </bean>  
48 -  
49 - <tx:advice id="txAdvice" transaction-manager="transactionManager">  
50 - <!-- the transactional semantics... -->  
51 - <tx:attributes>  
52 - <!-- all methods starting with 'find' are read-only -->  
53 - <tx:method name="find*" read-only="true" />  
54 - <!-- all methods starting with 'get' are read-only -->  
55 - <tx:method name="get*" read-only="true" />  
56 - <!-- other methods use the default transaction settings (see below) -->  
57 - <tx:method name="*" propagation="REQUIRED" />  
58 - </tx:attributes>  
59 - </tx:advice>  
60 -  
61 - <aop:config>  
62 - <aop:advisor id="managerTx" advice-ref="txAdvice" pointcut="execution(* *..controller..*.*(..))" />  
63 - </aop:config>  
64 -  
65 - <tx:annotation-driven transaction-manager="transactionManager" />  
66 -  
67 - <task:scheduler id="scheduler" pool-size="1" />  
68 - <task:annotation-driven scheduler="scheduler" />  
69 -  
70 - <!-- CITCORE -->  
71 - <context:component-scan base-package="br.com.centralit.framework.dao" />  
72 - <context:component-scan base-package="br.com.centralit.framework.service" />  
73 - <context:component-scan base-package="br.com.centralit.framework.controller" />  
74 -  
75 - <!-- CIT-PORTAL-API -->  
76 - <context:component-scan base-package="br.com.centralit.api.dao" />  
77 - <context:component-scan base-package="br.com.centralit.api.service" />  
78 - <context:component-scan base-package="br.com.centralit.api.security" />  
79 -  
80 - <!-- CIT-PORTAL-WEB -->  
81 - <context:component-scan base-package="br.com.centralit.controller" />  
82 -  
83 - <bean id="passwordEncoder" class="org.springframework.security.authentication.encoding.ShaPasswordEncoder" />  
84 - <bean id="saltSource" class="org.springframework.security.authentication.dao.ReflectionSaltSource" p:userPropertyToUse="username" />  
85 -</beans>  
86 \ No newline at end of file 0 \ No newline at end of file
cit-almoxarifado-web/target/test-classes/spring/applicationContext-test.xml
@@ -1,51 +0,0 @@ @@ -1,51 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<beans xmlns="http://www.springframework.org/schema/beans"  
3 - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
4 - xmlns:context="http://www.springframework.org/schema/context"  
5 - xmlns:jdbc="http://www.springframework.org/schema/jdbc"  
6 - xmlns:jpa="http://www.springframework.org/schema/data/jpa"  
7 - xmlns:p="http://www.springframework.org/schema/p"  
8 - xmlns:util="http://www.springframework.org/schema/util"  
9 - xsi:schemaLocation="http://www.springframework.org/schema/beans  
10 - http://www.springframework.org/schema/beans/spring-beans-3.2.xsd  
11 - http://www.springframework.org/schema/context  
12 - http://www.springframework.org/schema/context/spring-context-3.1.xsd  
13 - http://www.springframework.org/schema/jdbc  
14 - http://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd  
15 - http://www.springframework.org/schema/data/jpa  
16 - http://www.springframework.org/schema/data/jpa/spring-jpa-1.3.xsd  
17 - http://www.springframework.org/schema/util  
18 - http://www.springframework.org/schema/util/spring-util-3.1.xsd">  
19 -  
20 - <import resource="applicationContext-base-test.xml" />  
21 - <import resource="webmvc-context.xml" />  
22 -  
23 - <!-- Configuracoes do banco em memoria para os testes -->  
24 - <jdbc:embedded-database id="citTestDataSource" type="HSQL">  
25 - <jdbc:script location="classpath:schema.sql" />  
26 - <jdbc:script location="classpath:data.sql" />  
27 - </jdbc:embedded-database>  
28 -  
29 - <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"  
30 - p:packagesToScan="br.com.centralit.framework.model, br.com.centralit.api.model"  
31 - p:dataSource-ref="citTestDataSource"  
32 - p:jpaPropertyMap-ref="jpaPropertyMap"  
33 - p:jpaVendorAdapter-ref="jpaVendorAdapter" />  
34 -  
35 - <bean id="jpaVendorAdapter" class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter" />  
36 -  
37 - <bean id="citTestDataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">  
38 - <property name="driverClassName" value="org.hsqldb.jdbcDriver"/>  
39 - <property name="url" value="jdbc:hsqldb:mem:testdb"/>  
40 - </bean>  
41 -  
42 - <util:map id="jpaPropertyMap">  
43 - <entry key="generateDdl" value="true" />  
44 - <entry key="hibernate.hbm2ddl.auto" value="update" />  
45 - <entry key="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect" />  
46 - <entry key="hibernate.show_sql" value="true" />  
47 - <entry key="hibernate.format_sql" value="false" />  
48 - <entry key="hibernate.enable_lazy_load_no_trans" value="true" />  
49 - </util:map>  
50 -  
51 -</beans>