~~ODT~~ echo "
"; echo "Última atualização: "; ver('', false); echo "
";
====== Estatística dos Pagantes X Isentos Inscritos no Vestibular ====== Esse caso de uso consiste na geração de um relatório com a estatística dos pagantes x Isentos inscrição no vestibular Só os responsáveis pelo Vestibular podem acessar essa funcionalidade. ===== Descrição do Caso de Uso ===== Este caso de uso inicia quando a opçao //SIGAA -> Vestibular -> Candidato -> Consultas e Relatórios -> Estatísticas dos Pagantes X Isentos Inscritos no Vestibular// é acessada. Para a geração do relatório é necessário selecionar o processo seletivo. Em seguida, será gerado um relório com opção de impressão com os seguintes dados abaixo: * **__Processo Seletivo:__** Tipo - TEXTO. |**Candidatos beneficiados com a isenção** | 9999| |**Candidatos pagantes**| 9999| |**Candidatos pagantes (CPF's distintos)**| 9999| |**Inscrições com CPF's repetidos (candidatos pagantes)** | 9999 | |**Número de candidatos isentos inscritos como pagante** | 9999| |**Total de inscrições** | 9999| |**Total de inscrições (CPF's distintos)**| 9999| O caso de uso é finalizado. ===== Principais Regras de Negócio ===== Não se aplica. ===== Classes Persistentes e Tabelas Envolvidas ===== ^ Classe ^ Tabela | | br.ufrn.sigaa.vestibular.dominio.InscricaoVestibular | sigaa.vestibular.inscricao_vestibular | | br.ufrn.sigaa.vestibular.dominio.LinguaEstrangeira | sigaa.vestibular.lingua_estrangeira | | br.ufrn.sigaa.ensino.graduacao.dominio.MatrizCurricular | sigaa.graduacao.matriz_curricular | | br.ufrn.sigaa.vestibular.dominio.PessoaVestibular | sigaa.vestibular.pessoa_vestibular | | br.ufrn.sigaa.vestibular.dominio.ProcessoSeletivoVestibular | sigaa.vestibular.processo_seletivo | | br.ufrn.sigaa.vestibular.dominio.RegiaoPreferencialProva | sigaa.vestibular.regiao_preferencial_prova | Obs.: Nenhum dado é persistido apenas é realizada uma consulta para a geração do relatório. ====== Plano de Teste ====== Sistema: SIGAA Módulo: Vestibular Link(s): Candidato -> Consultas e Relatórios -> Estatísticas dos Pagantes X Isentos Inscritos no Vestibular Usuário: edipo Papel que usuário deve ter: SigaaPapeis.VESTIBULAR ===== Cenários de Teste ===== Verificar se o relatório está no padrão do sistema. ===== Dados para o Teste ===== Segue os sql usados na geração do relatório: Informar o seguinte campo: * PROCESSO_SELETIVO : Informar o id do processo seletivo select count(distinct(cpf)) from vestibular.isento_taxa_vestibular where id_processo_seletivo = PROCESSO_SELETIVO select count(*) from vestibular.inscricao_vestibular inner join vestibular.pessoa_vestibular pv using(id_pessoa) where id_processo_seletivo = PROCESSO_SELETIVO and cpf_cnpj not in (select cpf from vestibular.isento_taxa_vestibular where id_processo_seletivo = PROCESSO_SELETIVO select count(distinct(pv.cpf_cnpj)) from vestibular.inscricao_vestibular inner join vestibular.pessoa_vestibular pv using(id_pessoa) where id_processo_seletivo = PROCESSO_SELETIVO and cpf_cnpj not in (select cpf from vestibular.isento_taxa_vestibular where id_processo_seletivo = PROCESSO_SELETIVO select count(*) from vestibular.isento_taxa_vestibular itv inner join vestibular.pessoa_vestibular pv on (itv.cpf = pv.cpf_cnpj) inner join vestibular.inscricao_vestibular iv on (pv.id_pessoa = iv.id_pessoa) where iv.id_processo_seletivo = PROCESSO_SELETIVO select count(id_pessoa) as totalInscricoes from vestibular.inscricao_vestibular where id_processo_seletivo = PROCESSO_SELETIVO select count(distinct (id_pessoa)) as totalInscricoesDistintos from vestibular.inscricao_vestibular where id_processo_seletivo = PROCESSO_SELETIVO