bug fix #8022
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@61343 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
7621ce018d
commit
aeb89098b7
|
@ -25,19 +25,19 @@ import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource;
|
|||
*
|
||||
*/
|
||||
public class RelatorioDepositosDetalhado extends Relatorio {
|
||||
|
||||
|
||||
private static Logger log = Logger.getLogger(RelatorioDepositosDetalhado.class);
|
||||
|
||||
private List<RelatorioDepositosDetalhadosBean> lsDadosRelatorio;
|
||||
|
||||
|
||||
private Timestamp fecInicio;
|
||||
private Timestamp fecFinal;
|
||||
private Integer marcaId;
|
||||
private Integer instFinanceira;
|
||||
|
||||
|
||||
public RelatorioDepositosDetalhado(Map<String, Object> parametros, Connection conexao) throws Exception {
|
||||
super(parametros, conexao);
|
||||
|
||||
|
||||
this.setCustomDataSource(new DataSource(this) {
|
||||
|
||||
@Override
|
||||
|
@ -45,13 +45,13 @@ public class RelatorioDepositosDetalhado extends Relatorio {
|
|||
Map<String, Object> parametros = this.relatorio.getParametros();
|
||||
fecInicio = (Timestamp) parametros.get("dataFiltroInicial");
|
||||
fecFinal = (Timestamp) parametros.get("dataFiltroFinal");
|
||||
if(parametros.get("MARCA_ID")!=null){
|
||||
marcaId = Integer.valueOf(parametros.get("MARCA_ID").toString());
|
||||
if (parametros.get("MARCA_ID") != null) {
|
||||
marcaId = Integer.valueOf(parametros.get("MARCA_ID").toString());
|
||||
}
|
||||
if(parametros.get("INST_FINANCEIRA")!=null){
|
||||
instFinanceira = Integer.valueOf(parametros.get("INST_FINANCEIRA").toString());
|
||||
if (parametros.get("INST_FINANCEIRA") != null) {
|
||||
instFinanceira = Integer.valueOf(parametros.get("INST_FINANCEIRA").toString());
|
||||
}
|
||||
|
||||
|
||||
Connection conexao = this.relatorio.getConexao();
|
||||
processarDepositosDetalhados(conexao);
|
||||
setLsDadosRelatorio(lsDadosRelatorio);
|
||||
|
@ -59,17 +59,18 @@ public class RelatorioDepositosDetalhado extends Relatorio {
|
|||
|
||||
});
|
||||
}
|
||||
|
||||
public void setLsDadosRelatorio(List<RelatorioDepositosDetalhadosBean> lsDadosRelatorio) {
|
||||
this.setCollectionDataSource(new JRBeanCollectionDataSource(lsDadosRelatorio));
|
||||
this.lsDadosRelatorio = lsDadosRelatorio;
|
||||
}
|
||||
|
||||
|
||||
private void processarDepositosDetalhados(Connection conexao) {
|
||||
ResultSet rset = null;
|
||||
NamedParameterStatement stmt = null;
|
||||
|
||||
|
||||
try {
|
||||
if(lsDadosRelatorio == null) {
|
||||
if (lsDadosRelatorio == null) {
|
||||
lsDadosRelatorio = new ArrayList<RelatorioDepositosDetalhadosBean>();
|
||||
}
|
||||
|
||||
|
@ -82,30 +83,30 @@ public class RelatorioDepositosDetalhado extends Relatorio {
|
|||
} catch (Exception e) {
|
||||
log.error(e.getMessage(), e);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
private NamedParameterStatement carregarNamedParameterStatement(Connection conexao) throws SQLException {
|
||||
String sql = getSqlPacotes();
|
||||
log.info(sql);
|
||||
|
||||
|
||||
NamedParameterStatement stmt = new NamedParameterStatement(conexao, sql);
|
||||
|
||||
if(fecInicio != null) {
|
||||
|
||||
if (fecInicio != null) {
|
||||
stmt.setTimestamp("fecInicio", fecInicio);
|
||||
}
|
||||
if(fecFinal != null) {
|
||||
if (fecFinal != null) {
|
||||
stmt.setTimestamp("fecFinal", fecFinal);
|
||||
}
|
||||
if(marcaId != null){
|
||||
if (marcaId != null) {
|
||||
stmt.setInt("MARCA_ID", marcaId);
|
||||
}
|
||||
if(instFinanceira != null){
|
||||
if (instFinanceira != null) {
|
||||
stmt.setInt("INST_FINANCEIRA", instFinanceira);
|
||||
}
|
||||
|
||||
return stmt;
|
||||
}
|
||||
|
||||
|
||||
private void processarResultado(ResultSet rset) throws SQLException {
|
||||
while (rset.next()) {
|
||||
RelatorioDepositosDetalhadosBean relatorioDepositosDetalhadosBean = new RelatorioDepositosDetalhadosBean();
|
||||
|
@ -113,7 +114,8 @@ public class RelatorioDepositosDetalhado extends Relatorio {
|
|||
relatorioDepositosDetalhadosBean.setNombPuntoVenta(rset.getString("Ponto_de_venda"));
|
||||
relatorioDepositosDetalhadosBean.setBanco(rset.getString("Banco"));
|
||||
relatorioDepositosDetalhadosBean.setFechaDeposito(rset.getString("data_deposito"));
|
||||
relatorioDepositosDetalhadosBean.setFechaLancamientoDeposito(rset.getString("DATA_LANCAMENTO_DEPOSITO"));
|
||||
relatorioDepositosDetalhadosBean.setFechaMovimiento(rset.getString("data_movimento"));
|
||||
relatorioDepositosDetalhadosBean.setFechaInclusion(rset.getString("data_inclusao"));
|
||||
relatorioDepositosDetalhadosBean.setNumAgencia(rset.getString("Agencia"));
|
||||
relatorioDepositosDetalhadosBean.setNumConta(rset.getString("Conta"));
|
||||
relatorioDepositosDetalhadosBean.setNumDeposito(rset.getString("Numero_deposito"));
|
||||
|
@ -121,93 +123,97 @@ public class RelatorioDepositosDetalhado extends Relatorio {
|
|||
lsDadosRelatorio.add(relatorioDepositosDetalhadosBean);
|
||||
}
|
||||
}
|
||||
|
||||
protected String getSqlPacotes() {
|
||||
StringBuilder sQuery = new StringBuilder();
|
||||
|
||||
|
||||
sQuery.append(" SELECT ");
|
||||
sQuery.append(" fd.FECHAMENTODEPOSITO_ID, ");
|
||||
sQuery.append(" E.NOMBEMPRESA Empresa, ");
|
||||
sQuery.append(" PV.NOMBPUNTOVENTA Ponto_de_venda, ");
|
||||
sQuery.append(" TO_CHAR(FD.FECHA_DEPOSITO,'dd/MM/yyyy') data_deposito, ");
|
||||
sQuery.append(" FD.NUMDEPOSITO Numero_deposito, ");
|
||||
sQuery.append(" TO_CHAR(FD.FECCREACION,'dd/MM/yyyy') DATA_LANCAMENTO_DEPOSITO, ");
|
||||
sQuery.append(" if.NOME Banco, ");
|
||||
sQuery.append(" EC.NUMCONTA Conta, ");
|
||||
sQuery.append(" EC.NUMAGENCIA Agencia, ");
|
||||
sQuery.append(" FD.VALOR valor_deposito ");
|
||||
sQuery.append(" FROM ");
|
||||
sQuery.append(" FECHAMENTO_DEPOSITO fd ");
|
||||
sQuery.append(" JOIN FECHAMENTO_CCT_DEPOSITO fcd ");
|
||||
sQuery.append(" ON ");
|
||||
sQuery.append(" FCD.FECHAMENTODEPOSITO_ID = FD.FECHAMENTODEPOSITO_ID ");
|
||||
sQuery.append(" JOIN FECHAMENTO_CNTCORRENTE fc ");
|
||||
sQuery.append(" ON ");
|
||||
sQuery.append(" FCD.FECHAMENTOCNTCORRENTE_ID = FC.FECHAMENTOCNTCORRENTE_ID ");
|
||||
sQuery.append(" JOIN EMPRESA e ");
|
||||
sQuery.append(" ON ");
|
||||
sQuery.append(" E.EMPRESA_ID = FC.EMPRESA_ID ");
|
||||
sQuery.append(" JOIN PUNTO_VENTA pv ");
|
||||
sQuery.append(" ON ");
|
||||
sQuery.append(" E.NOMBEMPRESA Empresa, ");
|
||||
sQuery.append(" PV.NOMBPUNTOVENTA Ponto_de_venda, ");
|
||||
sQuery.append(" FD.NUMDEPOSITO Numero_deposito, ");
|
||||
sQuery.append(" TO_CHAR(FD.FECHA_DEPOSITO, 'dd/MM/yyyy') data_deposito, ");
|
||||
sQuery.append(" TO_CHAR(FC.FECFECHAMENTO, 'dd/MM/yyyy') data_movimento, ");
|
||||
sQuery.append(" TO_CHAR(FD.FECCREACION, 'dd/MM/yyyy') data_inclusao, ");
|
||||
sQuery.append(" if.NOME Banco, ");
|
||||
sQuery.append(" EC.NUMCONTA Conta, ");
|
||||
sQuery.append(" EC.NUMAGENCIA Agencia, ");
|
||||
sQuery.append(" FD.VALOR valor_deposito ");
|
||||
sQuery.append(" FROM ");
|
||||
sQuery.append(" FECHAMENTO_DEPOSITO fd ");
|
||||
sQuery.append(" JOIN FECHAMENTO_CCT_DEPOSITO fcd ");
|
||||
sQuery.append(" ON ");
|
||||
sQuery.append(" FCD.FECHAMENTODEPOSITO_ID = FD.FECHAMENTODEPOSITO_ID ");
|
||||
sQuery.append(" JOIN FECHAMENTO_CNTCORRENTE fc ");
|
||||
sQuery.append(" ON ");
|
||||
sQuery.append(" FCD.FECHAMENTOCNTCORRENTE_ID = FC.FECHAMENTOCNTCORRENTE_ID ");
|
||||
sQuery.append(" JOIN EMPRESA e ");
|
||||
sQuery.append(" ON ");
|
||||
sQuery.append(" E.EMPRESA_ID = FC.EMPRESA_ID ");
|
||||
sQuery.append(" JOIN PUNTO_VENTA pv ");
|
||||
sQuery.append(" ON ");
|
||||
sQuery.append(" PV.PUNTOVENTA_ID = FC.PUNTOVENTA_ID ");
|
||||
sQuery.append(" JOIN EMPRESA_CONTABANCARIA ec ");
|
||||
sQuery.append(" JOIN EMPRESA_CONTABANCARIA ec ");
|
||||
sQuery.append(" ON ");
|
||||
sQuery.append(" fd.EMPRESACONTABANCARIA_ID = EC.EMPRESACONTABANCARIA_ID ");
|
||||
sQuery.append(" JOIN INSTI_FINANCEIRA IF ");
|
||||
sQuery.append(" ON ");
|
||||
sQuery.append(" EC.INSTIFINANCEIRA_ID = if.INSTIFINANCEIRA_ID ");
|
||||
sQuery.append(" ");
|
||||
sQuery.append(" WHERE ");
|
||||
sQuery.append(" FD.ACTIVO = 1 ");
|
||||
sQuery.append(" AND FCD.ACTIVO = 1 ");
|
||||
sQuery.append(" AND FC.ACTIVO = 1 ");
|
||||
sQuery.append(" AND E.ACTIVO = 1 ");
|
||||
sQuery.append(" AND PV.ACTIVO = 1 ");
|
||||
if(parametros.get("MARCA_ID")!= null){
|
||||
sQuery.append(" JOIN INSTI_FINANCEIRA IF ");
|
||||
sQuery.append(" ON ");
|
||||
sQuery.append(" EC.INSTIFINANCEIRA_ID = if.INSTIFINANCEIRA_ID ");
|
||||
sQuery.append(" ");
|
||||
sQuery.append(" WHERE ");
|
||||
sQuery.append(" FD.ACTIVO = 1 ");
|
||||
sQuery.append(" AND FCD.ACTIVO = 1 ");
|
||||
sQuery.append(" AND FC.ACTIVO = 1 ");
|
||||
sQuery.append(" AND E.ACTIVO = 1 ");
|
||||
sQuery.append(" AND PV.ACTIVO = 1 ");
|
||||
if (parametros.get("MARCA_ID") != null) {
|
||||
sQuery.append(" and e.empresa_id =:MARCA_ID ");
|
||||
}
|
||||
if(parametros.get("INST_FINANCEIRA")!= null){
|
||||
}
|
||||
if (parametros.get("INST_FINANCEIRA") != null) {
|
||||
sQuery.append(" and if.INSTIFINANCEIRA_ID =:INST_FINANCEIRA ");
|
||||
}
|
||||
sQuery.append(" and FD.FECCREACION between :fecInicio and :fecFinal");
|
||||
sQuery.append(" GROUP BY ");
|
||||
sQuery.append(" GROUP BY ");
|
||||
sQuery.append(" fd.FECHAMENTODEPOSITO_ID, ");
|
||||
sQuery.append(" E.NOMBEMPRESA, ");
|
||||
sQuery.append(" PV.NOMBPUNTOVENTA, ");
|
||||
sQuery.append(" FD.FECHA_DEPOSITO, ");
|
||||
sQuery.append(" FD.NUMDEPOSITO, ");
|
||||
sQuery.append(" FD.FECCREACION, ");
|
||||
sQuery.append(" if.NOME, ");
|
||||
sQuery.append(" EC.NUMCONTA, ");
|
||||
sQuery.append(" EC.NUMAGENCIA, ");
|
||||
sQuery.append(" FD.VALOR ");
|
||||
sQuery.append(" E.NOMBEMPRESA, ");
|
||||
sQuery.append(" PV.NOMBPUNTOVENTA, ");
|
||||
sQuery.append(" FD.FECHA_DEPOSITO, ");
|
||||
sQuery.append(" FD.NUMDEPOSITO, ");
|
||||
sQuery.append(" FC.FECFECHAMENTO, ");
|
||||
sQuery.append(" FD.FECCREACION, ");
|
||||
sQuery.append(" if.NOME, ");
|
||||
sQuery.append(" EC.NUMCONTA, ");
|
||||
sQuery.append(" EC.NUMAGENCIA, ");
|
||||
sQuery.append(" FD.VALOR ");
|
||||
sQuery.append(" ORDER BY ");
|
||||
sQuery.append(" E.NOMBEMPRESA, ");
|
||||
sQuery.append(" E.NOMBEMPRESA, ");
|
||||
sQuery.append(" PV.NOMBPUNTOVENTA, ");
|
||||
sQuery.append(" FD.FECCREACION, ");
|
||||
sQuery.append(" FD.FECHA_DEPOSITO, ");
|
||||
sQuery.append(" FD.NUMDEPOSITO, ");
|
||||
sQuery.append(" if.NOME, ");
|
||||
sQuery.append(" EC.NUMCONTA, ");
|
||||
sQuery.append(" EC.NUMAGENCIA, ");
|
||||
sQuery.append(" FD.FECHA_DEPOSITO, ");
|
||||
sQuery.append(" FD.NUMDEPOSITO, ");
|
||||
sQuery.append(" if.NOME, ");
|
||||
sQuery.append(" EC.NUMCONTA, ");
|
||||
sQuery.append(" EC.NUMAGENCIA, ");
|
||||
sQuery.append(" FD.VALOR ");
|
||||
return sQuery.toString();
|
||||
return sQuery.toString();
|
||||
}
|
||||
|
||||
|
||||
private void fecharConexaoBanco(NamedParameterStatement stmt, ResultSet rset) {
|
||||
try {
|
||||
if(rset != null) {
|
||||
if (rset != null) {
|
||||
rset.close();
|
||||
}
|
||||
if(stmt != null) {
|
||||
if (stmt != null) {
|
||||
stmt.close();
|
||||
}
|
||||
} catch (SQLException e) {
|
||||
log.error(e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void processaParametros() throws Exception {
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -15,7 +15,8 @@ cabecalho.usuario=Usu
|
|||
label.nombPuntoVenta=Punto Venta
|
||||
label.fechaDeposito=Fecha Deposito
|
||||
label.numDeposito=N\u00B0 Deposito
|
||||
label.fechaLancamientoDeposito=Lanzamiento
|
||||
label.fechaLancamientoDeposito=Fec. Movimiento
|
||||
label.fechaInclusion=Fec. Inclusion
|
||||
label.banco=Banco
|
||||
label.numConta=Cuenta
|
||||
label.numAgencia=Agencia
|
||||
|
|
|
@ -15,7 +15,8 @@ cabecalho.usuario=Usu
|
|||
label.nombPuntoVenta=Nome Agência
|
||||
label.fechaDeposito=Data do Dep\u00F3sito
|
||||
label.numDeposito=N\u00B0 do Dep\u00F3sito
|
||||
label.fechaLancamientoDeposito=Lan\u00E7amento
|
||||
label.fechaLancamientoDeposito=Dt. Movimento
|
||||
label.fechaInclusion=Dt. Inclusão
|
||||
label.banco=Banco
|
||||
label.numConta=Conta
|
||||
label.numAgencia=Ag\u00EAncia
|
||||
|
|
Binary file not shown.
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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="RelatorioVendasComissao" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="84b9dfcf-8ec5-4f51-80cc-7339e3b158b4">
|
||||
<property name="ireport.zoom" value="0.75"/>
|
||||
<property name="ireport.zoom" value="1.0980750000000008"/>
|
||||
<property name="ireport.x" value="0"/>
|
||||
<property name="ireport.y" value="0"/>
|
||||
<parameter name="fecInicio" class="java.lang.String"/>
|
||||
|
@ -14,12 +14,13 @@
|
|||
<field name="valorDeposito" class="java.math.BigDecimal"/>
|
||||
<field name="fechaDeposito" class="java.lang.String"/>
|
||||
<field name="numDeposito" class="java.lang.String"/>
|
||||
<field name="fechaLancamientoDeposito" class="java.lang.String"/>
|
||||
<field name="fechaMovimiento" class="java.lang.String"/>
|
||||
<field name="banco" class="java.lang.String"/>
|
||||
<field name="numConta" class="java.lang.String"/>
|
||||
<field name="numAgencia" class="java.lang.String"/>
|
||||
<field name="nombPuntoVenta" class="java.lang.String"/>
|
||||
<field name="empresa" class="java.lang.String"/>
|
||||
<field name="fechaInclusion" class="java.lang.String"/>
|
||||
<variable name="total" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{valorDeposito}]]></variableExpression>
|
||||
</variable>
|
||||
|
@ -86,55 +87,73 @@
|
|||
</band>
|
||||
</pageHeader>
|
||||
<columnHeader>
|
||||
<band height="23" splitType="Stretch">
|
||||
<band height="22" splitType="Stretch">
|
||||
<textField>
|
||||
<reportElement uuid="8a39b1b1-6ebd-4f33-adea-c28a9988eaae" x="287" y="0" width="80" height="20"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<reportElement uuid="8a39b1b1-6ebd-4f33-adea-c28a9988eaae" x="181" y="0" width="106" height="20"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.fechaDeposito}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="2d666aaf-65a6-4c3f-acd3-e65483a78256" x="367" y="0" width="81" height="20"/>
|
||||
<textElement textAlignment="Center"/>
|
||||
<reportElement uuid="2d666aaf-65a6-4c3f-acd3-e65483a78256" x="287" y="1" width="81" height="20"/>
|
||||
<textElement textAlignment="Center">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.numDeposito}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="a2ea7cea-d8ab-4c0e-bee0-4dafb3866c1f" x="448" y="0" width="80" height="20"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<reportElement uuid="a2ea7cea-d8ab-4c0e-bee0-4dafb3866c1f" x="368" y="0" width="80" height="20"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.fechaLancamientoDeposito}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="43d6ee75-8459-4b9e-8cbe-ca2819d3198a" x="597" y="0" width="63" height="20"/>
|
||||
<textElement textAlignment="Center"/>
|
||||
<textElement textAlignment="Center">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.numConta}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="12a7a0b1-f60c-4819-972a-2ea87f1f07b3" x="528" y="0" width="69" height="20"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.banco}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement uuid="811af238-a027-48e9-bd6f-eee885474929" positionType="Float" x="0" y="21" width="802" height="1"/>
|
||||
</line>
|
||||
<textField>
|
||||
<reportElement uuid="cfac237e-06b7-4c98-b7f1-285f5ec2c8b3" x="194" y="0" width="93" height="20"/>
|
||||
<textElement/>
|
||||
<reportElement uuid="cfac237e-06b7-4c98-b7f1-285f5ec2c8b3" x="0" y="0" width="181" height="20"/>
|
||||
<textElement>
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.nombPuntoVenta}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="f1e309cf-c3e3-461e-86a3-bb8a3dd5eab0" x="660" y="0" width="62" height="20"/>
|
||||
<textElement textAlignment="Center"/>
|
||||
<textElement textAlignment="Center">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.numAgencia}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="d778da2b-cbb2-45a0-b40f-5547eadc225a" x="722" y="1" width="80" height="20"/>
|
||||
<textElement textAlignment="Center"/>
|
||||
<textElement textAlignment="Center">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.valorDeposito}]]></textFieldExpression>
|
||||
</textField>
|
||||
<staticText>
|
||||
<reportElement uuid="924759aa-e9f1-4dcd-bf38-6159750422a1" x="2" y="0" width="192" height="20"/>
|
||||
<textElement/>
|
||||
<text><![CDATA[Empresa]]></text>
|
||||
</staticText>
|
||||
<textField>
|
||||
<reportElement uuid="a2ce5783-cb4c-4cb4-9e86-c166f73c88aa" x="448" y="0" width="80" height="20"/>
|
||||
<textElement markup="none">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.fechaInclusion}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</columnHeader>
|
||||
<detail>
|
||||
|
@ -145,7 +164,7 @@
|
|||
<textFieldExpression><![CDATA[$F{banco}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="8cdbdd14-c9f1-45d8-bf41-a4066930f5a4" stretchType="RelativeToTallestObject" x="287" y="0" width="80" height="20" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement uuid="8cdbdd14-c9f1-45d8-bf41-a4066930f5a4" stretchType="RelativeToTallestObject" x="181" y="0" width="106" height="20" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{fechaDeposito}]]></textFieldExpression>
|
||||
</textField>
|
||||
|
@ -155,19 +174,9 @@
|
|||
<textFieldExpression><![CDATA[$F{numConta}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="b18fae2e-6454-42b0-a68c-04cf790ddfd6" stretchType="RelativeToTallestObject" x="448" y="0" width="80" height="20" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement uuid="b18fae2e-6454-42b0-a68c-04cf790ddfd6" stretchType="RelativeToTallestObject" x="368" y="1" width="80" height="20" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{fechaLancamientoDeposito}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
|
||||
<reportElement uuid="09b0cd36-1946-406f-923a-172b8a4f1ac6" stretchType="RelativeToTallestObject" x="367" y="0" width="81" height="20" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center"/>
|
||||
<textFieldExpression><![CDATA[$F{numDeposito}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="cebb836f-d485-4d50-98e0-0678bb715fb9" stretchType="RelativeToTallestObject" x="194" y="0" width="93" height="20" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$F{nombPuntoVenta}]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{fechaMovimiento}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="5fc60f32-0c1e-43ba-8dec-cfc5d6c085fc" stretchType="RelativeToTallestObject" x="660" y="0" width="62" height="20" isPrintWhenDetailOverflows="true"/>
|
||||
|
@ -179,10 +188,20 @@
|
|||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{valorDeposito}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="fd73cdf1-4bc5-440e-8b76-5a67a818e5ae" x="2" y="0" width="192" height="20"/>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="cebb836f-d485-4d50-98e0-0678bb715fb9" stretchType="RelativeToTallestObject" x="0" y="0" width="181" height="20" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$F{empresa}]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{nombPuntoVenta}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
|
||||
<reportElement uuid="09b0cd36-1946-406f-923a-172b8a4f1ac6" stretchType="RelativeToTallestObject" x="287" y="0" width="81" height="20" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center"/>
|
||||
<textFieldExpression><![CDATA[$F{numDeposito}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="73306897-830c-4101-a1cc-758f37515d2b" x="448" y="1" width="80" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$F{fechaInclusion}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</detail>
|
||||
|
@ -210,7 +229,7 @@
|
|||
</band>
|
||||
</summary>
|
||||
<noData>
|
||||
<band height="24">
|
||||
<band height="27">
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="d7df66c6-4dc0-4f3b-88f4-b22094d29091" positionType="Float" x="0" y="0" width="555" height="20" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement verticalAlignment="Middle"/>
|
||||
|
|
|
@ -10,81 +10,103 @@ import java.math.BigDecimal;
|
|||
*
|
||||
*/
|
||||
public class RelatorioDepositosDetalhadosBean {
|
||||
|
||||
|
||||
private String empresa;
|
||||
private String nombPuntoVenta;
|
||||
private String fechaDeposito;
|
||||
private String numDeposito;
|
||||
private String fechaLancamientoDeposito;
|
||||
private String fechaMovimiento;
|
||||
private String fechaInclusion;
|
||||
private String banco;
|
||||
private String numConta;
|
||||
private String numAgencia;
|
||||
private BigDecimal valorDeposito;
|
||||
|
||||
/**
|
||||
* @return the empresa
|
||||
*/
|
||||
public String getEmpresa() {
|
||||
return empresa;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param empresa the empresa to set
|
||||
* @param empresa
|
||||
* the empresa to set
|
||||
*/
|
||||
public void setEmpresa(String empresa) {
|
||||
this.empresa = empresa;
|
||||
}
|
||||
|
||||
public String getNombPuntoVenta() {
|
||||
return nombPuntoVenta;
|
||||
}
|
||||
|
||||
public void setNombPuntoVenta(String nombPuntoVenta) {
|
||||
this.nombPuntoVenta = nombPuntoVenta;
|
||||
}
|
||||
|
||||
public String getFechaDeposito() {
|
||||
return fechaDeposito;
|
||||
}
|
||||
|
||||
public void setFechaDeposito(String fechaDeposito) {
|
||||
this.fechaDeposito = fechaDeposito;
|
||||
}
|
||||
|
||||
public String getNumDeposito() {
|
||||
return numDeposito;
|
||||
}
|
||||
|
||||
public void setNumDeposito(String numDeposito) {
|
||||
this.numDeposito = numDeposito;
|
||||
}
|
||||
public String getFechaLancamientoDeposito() {
|
||||
return fechaLancamientoDeposito;
|
||||
|
||||
public String getFechaMovimiento() {
|
||||
return fechaMovimiento;
|
||||
}
|
||||
public void setFechaLancamientoDeposito(String fechaLancamientoDeposito) {
|
||||
this.fechaLancamientoDeposito = fechaLancamientoDeposito;
|
||||
|
||||
public void setFechaMovimiento(String fechaMovimiento) {
|
||||
this.fechaMovimiento = fechaMovimiento;
|
||||
}
|
||||
|
||||
public String getFechaInclusion() {
|
||||
return fechaInclusion;
|
||||
}
|
||||
|
||||
public void setFechaInclusion(String fechaInclusion) {
|
||||
this.fechaInclusion = fechaInclusion;
|
||||
}
|
||||
|
||||
public String getBanco() {
|
||||
return banco;
|
||||
}
|
||||
|
||||
public void setBanco(String banco) {
|
||||
this.banco = banco;
|
||||
}
|
||||
|
||||
public String getNumConta() {
|
||||
return numConta;
|
||||
}
|
||||
|
||||
public void setNumConta(String numConta) {
|
||||
this.numConta = numConta;
|
||||
}
|
||||
|
||||
public String getNumAgencia() {
|
||||
return numAgencia;
|
||||
}
|
||||
|
||||
public void setNumAgencia(String numAgencia) {
|
||||
this.numAgencia = numAgencia;
|
||||
}
|
||||
|
||||
public BigDecimal getValorDeposito() {
|
||||
return valorDeposito;
|
||||
}
|
||||
|
||||
public void setValorDeposito(BigDecimal valorDeposito) {
|
||||
this.valorDeposito = valorDeposito;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue