corrigindo constroiWhere de relatorioDAO