Merge pull request 'fixes bug#AL-2602' (#3) from AL-2602 into master
Reviewed-on: adm/IntegracaoReceitaDespesa#3 Reviewed-by: Valdir Cordeiro <valdir.cordeiro@totvs.com.br> Reviewed-by: pinheiro <valdevir@rjconsultores.com.br>master
commit
40c6d03340
2
pom.xml
2
pom.xml
|
@ -3,7 +3,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>br.com.rjconsultores</groupId>
|
||||
<artifactId>IntegracaoReceitaDespesa</artifactId>
|
||||
<version>1.2.1</version>
|
||||
<version>1.2.2</version>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
|
|
|
@ -556,7 +556,7 @@ public class Totalbus {
|
|||
sb.append(" cd.feccorte AS fechorvta, ");
|
||||
sb.append(" e.empresa_id AS empresa, ");
|
||||
sb.append(" pv.puntoventa_id AS puntoventaId, ");
|
||||
sb.append(" sum(cdp.importe) AS valor, ");
|
||||
sb.append(" cdp.importe AS valor, ");
|
||||
sb.append(" tee.contacontabil AS contacontabil, ");
|
||||
sb.append(" pv.numpuntoventa AS numpuntoventa, ");
|
||||
sb.append(" ev.tipoeventoextra_id, ");
|
||||
|
@ -582,18 +582,7 @@ public class Totalbus {
|
|||
adicionaFiltroQuery(empresaId, sb, " and e.empresa_id = ", empresaId != null);
|
||||
sb.append(" and cd.activo = 1 ");
|
||||
sb.append(" and cdp.formapago_id in (2,3) ");
|
||||
sb.append(" and tee.indtipo = 0 ");
|
||||
sb.append(" group by ");
|
||||
sb.append(" cd.feccorte, ");
|
||||
sb.append(" e.empresa_id, ");
|
||||
sb.append(" pv.puntoventa_id, ");
|
||||
sb.append(" tee.contacontabil, ");
|
||||
sb.append(" pv.numpuntoventa, ev.tipoeventoextra_id, ");
|
||||
sb.append(" cdp.formapago_id, ");
|
||||
sb.append(" ct.numautorizacion, ");
|
||||
sb.append(" pte.numsitef, ");
|
||||
sb.append(" b.numfoliosistema,");
|
||||
sb.append(" ct.tx_id");
|
||||
sb.append(" and tee.indtipo = 0 ");
|
||||
|
||||
PreparedStatement stmt = null;
|
||||
ResultSet rs = null;
|
||||
|
|
Loading…
Reference in New Issue