Merge pull request 'fixes bug#AL-1687' (#12) from AL-1687 into master
Reviewed-on: http://18.235.188.113:3000/adm/VentaBoletosAdm/pulls/12 Reviewed-by: Valdir Cordeiro <valdir.cordeiro@totvs.com.br> Reviewed-by: pinheiro <valdevir@rjconsultores.com.br>master
commit
308f7a5d97
12
README.md
12
README.md
|
@ -13,14 +13,14 @@
|
|||
* Dependências
|
||||
```
|
||||
git clone http://18.235.188.113:3000/utilidades/Auditador.git
|
||||
git clone http://18.235.188.113:3000/utilidades/generadorBoletosCNAB.git
|
||||
git clone http://18.235.188.113:3000/utilidades/flyway.git
|
||||
git clone http://18.235.188.113:3000/adm/modelWeb.git
|
||||
git clone http://18.235.188.113:3000/adm/integracaoReceitaDespesa.git
|
||||
git clone http://18.235.188.113:3000/utilidades/GeneradorBoletosCNAB.git
|
||||
git clone http://18.235.188.113:3000/utilidades/Flyway.git
|
||||
git clone http://18.235.188.113:3000/adm/ModelWeb.git
|
||||
git clone http://18.235.188.113:3000/adm/IntegracaoReceitaDespesa.git
|
||||
```
|
||||
* Principal
|
||||
```
|
||||
git clone http://18.235.188.113:3000/adm/ventaBoletosAdm.git
|
||||
git clone http://18.235.188.113:3000/adm/VentaBoletosAdm.git
|
||||
```
|
||||
|
||||
usar o <a href='http://18.235.188.113:3000/adm/ventaBoletosAdm/src/branch/master/clone.sh'>'clone.sh'</a>
|
||||
|
@ -56,7 +56,7 @@ ou usar o <a href='http://18.235.188.113:3000/adm/ventaBoletosAdm/src/branch/ma
|
|||
##### 6
|
||||
* gerar a versão no gitea idêntica a versão gerada no pom
|
||||
* * atenção: para versão intermediária, adicionar a sigla RC + sequencial na versão (exemplo: 1.0.0-RC1)
|
||||
* após gerar a versão deve ser executado no terminal os seguinte comandos para gerar o changelog `git checkout master && git pull && git log --oneline --decorate --raw --format=format:"- **%s**%n - %h - Autor: %aE - Data: %ci"`
|
||||
* após gerar a versão deve ser executado no terminal os seguinte comandos para gerar o changelog `git checkout master && git pull && git log --oneline -1 --decorate --raw --format=format:"- **%s**%n - %h - Autor: %aE - Data: %ci"`
|
||||
* adicionar o conteúdo gerado na descrição da versão
|
||||
|
||||
***
|
||||
|
|
26
pom.xml
26
pom.xml
|
@ -36,7 +36,7 @@
|
|||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-war-plugin</artifactId>
|
||||
<version>2.6</version>
|
||||
<version>3.3.1</version>
|
||||
<configuration>
|
||||
<warSourceDirectory>web</warSourceDirectory>
|
||||
<outputFileNameMapping>@{artifactId}@.@{extension}@</outputFileNameMapping>
|
||||
|
@ -58,6 +58,12 @@
|
|||
<version>1.0.7</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>br.com.rjconsultores</groupId>
|
||||
<artifactId>Flyway</artifactId>
|
||||
<version>1.0.2</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>br.com.rjconsultores</groupId>
|
||||
<artifactId>IntegracaoReceitaDespesa</artifactId>
|
||||
|
@ -78,8 +84,8 @@
|
|||
|
||||
<dependency>
|
||||
<groupId>br.com.rjconsultores</groupId>
|
||||
<artifactId>Flyway</artifactId>
|
||||
<version>1.0.2</version>
|
||||
<artifactId>Auditador</artifactId>
|
||||
<version>1.0.1</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
@ -223,11 +229,19 @@
|
|||
<artifactId>flying-saucer-pdf-itext5</artifactId>
|
||||
<version>9.1.6</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>br.com.rjconsultores</groupId>
|
||||
<artifactId>Auditador</artifactId>
|
||||
<version>1.0.1</version>
|
||||
<groupId>net.sf.jasperreports</groupId>
|
||||
<artifactId>jasperreports</artifactId>
|
||||
<version>6.0.0</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.lowagie</groupId>
|
||||
<artifactId>itext</artifactId>
|
||||
<version>2.1.7</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
</project>
|
|
@ -180,6 +180,11 @@ public class RelatorioBoletos extends Relatorio {
|
|||
sql.append(" ON e.empresa_id = fcc.empresa_id ");
|
||||
sql.append(" AND e.activo = 1 ");
|
||||
sql.append(" WHERE fb.activo = 1 ");
|
||||
sql.append(" INNER JOIN fechamento_paramptovta fppv ");
|
||||
sql.append(" ON p.puntoventa_id = fppv.puntoventa_id ");
|
||||
sql.append(" AND e.empresa_id = fppv.empresa_id ");
|
||||
sql.append(" AND tipopagamento = 'B' ");
|
||||
sql.append(" AND fppv.activo = 1 ");
|
||||
|
||||
if(fecInicio != null && fecFinal != null) {
|
||||
sql.append(" AND fcc.fecfechamento BETWEEN :fecInicio AND :fecFinal ");
|
||||
|
|
|
@ -176,10 +176,15 @@ public class RelatorioDepositos extends Relatorio {
|
|||
|
||||
sql.append(" f.FECHAMENTOCNTCORRENTE_ID as fechamentocntcorrenteId ");
|
||||
sql.append(" FROM fechamento_cntcorrente f ");
|
||||
sql.append(" LEFT JOIN punto_venta p ");
|
||||
sql.append(" INNER JOIN punto_venta p ");
|
||||
sql.append(" ON p.puntoventa_id = f.puntoventa_id ");
|
||||
sql.append(" LEFT JOIN empresa e ");
|
||||
sql.append(" INNER JOIN empresa e ");
|
||||
sql.append(" ON e.empresa_id = f.empresa_id ");
|
||||
sql.append(" INNER JOIN fechamento_paramptovta fppv ");
|
||||
sql.append(" ON p.puntoventa_id = fppv.puntoventa_id ");
|
||||
sql.append(" AND e.empresa_id = fppv.empresa_id ");
|
||||
sql.append(" AND tipopagamento = 'D' ");
|
||||
sql.append(" AND fppv.activo = 1 ");
|
||||
sql.append(" LEFT JOIN fechamento_cct_deposito fd ");
|
||||
sql.append(" ON fd.fechamentocntcorrente_id = f.fechamentocntcorrente_id ");
|
||||
sql.append(" AND fd.activo = 1 ");
|
||||
|
|
Loading…
Reference in New Issue