Skip to content
Permalink
Browse files

ignorando lixo

  • Loading branch information...
andrefaria committed Jun 20, 2012
1 parent 78802b0 commit 89321893f962c4a16e4f76f91f2c2f824ae6418e
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/groovy/br/com/bluesoft/pronto/dao/TicketDao.groovy
@@ -967,8 +967,8 @@ public class TicketDao extends DaoHibernate {

sql = """
select t.projeto_key, p.nome as nome_projeto, t.cliente_key, c.nome as nome_cliente,
sum(case when t.data_de_pronto is null then 0 else 1 end) as pronto,
sum(case when t.data_de_pronto is null then 1 else 0 end) as pendente,
sum(case when (t.data_de_pronto is null or t.backlog_key = 4) then 0 else 1 end) as pronto,
sum(case when (t.data_de_pronto is null and t.backlog_key != 4) then 1 else 0 end) as pendente,
count(*) as total
from ticket t
inner join cliente c on c.cliente_key = t.cliente_key

0 comments on commit 8932189

Please sign in to comment.
You can’t perform that action at this time.