fixed bug #7360 - correção erro de duplicidade no Relatório Receita de Serviço
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@55208 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
9ce773d7ed
commit
b54432aaa8
|
@ -119,6 +119,8 @@ public class RelatorioReceitaServico extends Relatorio {
|
||||||
|
|
||||||
sql.append(" where cj.feccorrida >= :DATA_INICIAL ");
|
sql.append(" where cj.feccorrida >= :DATA_INICIAL ");
|
||||||
sql.append(" and cj.feccorrida <= :DATA_FINAL ");
|
sql.append(" and cj.feccorrida <= :DATA_FINAL ");
|
||||||
|
sql.append(" and cj.INDREIMPRESION = 0 ");
|
||||||
|
sql.append(" and cj.MOTIVOCANCELACION_ID is null ");
|
||||||
|
|
||||||
if (servicoSelected) {
|
if (servicoSelected) {
|
||||||
sql.append(" and cj.corrida_id IN (:CORRIDA_ID) ");
|
sql.append(" and cj.corrida_id IN (:CORRIDA_ID) ");
|
||||||
|
|
Loading…
Reference in New Issue