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-87c2c4800839
master
frederico 2016-04-22 19:43:38 +00:00
parent 9ce773d7ed
commit b54432aaa8
1 changed files with 2 additions and 0 deletions

View File

@ -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) ");