Blame | Last modification | View Log | Download | RSS feed
<?xml version="1.0" encoding="UTF-8"?><jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="relatorio_avaliacao_geral" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="96b0c032-951b-4918-9418-1135f2e13659"><property name="ireport.zoom" value="3.221020000000002"/><property name="ireport.x" value="0"/><property name="ireport.y" value="733"/><parameter name="pSequencialGrupoAvaliacao" class="java.lang.Long"><defaultValueExpression><![CDATA[]]></defaultValueExpression></parameter><parameter name="pCodigoUnidadeExercicio" class="java.lang.Long"><defaultValueExpression><![CDATA[]]></defaultValueExpression></parameter><parameter name="pAnoCronograma" class="java.lang.Long"/><parameter name="IMAGEM_DIR" class="java.lang.String"><defaultValueExpression><![CDATA["c://"]]></defaultValueExpression></parameter><parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false"><defaultValueExpression><![CDATA[""]]></defaultValueExpression></parameter><parameter name="pMatriculaServidor" class="java.lang.Long"><defaultValueExpression><![CDATA[]]></defaultValueExpression></parameter><parameter name="pNomeUsuario" class="java.lang.String"/><parameter name="pCpfUsuario" class="java.lang.String"/><queryString><![CDATA[SELECTad.seq_servidor_dadofuncional,ad.dsc_unidade_cadastro unidade,ad.dsc_grupo_avaliacao grupoAvaliacao,(select p.nom_pessoa from sc_scg.vw_pessoa_fisica p where p.seq_pessoa = (select sdf.seq_pessoa_servidor from sc_srv.vw_servidor_dadofuncional sdf where sdf.seq_servidor_dadofuncional = ad.seq_servidor_dadofunc_avaliador)) nomeAvaliador,ad.num_cpf numeroCpf,ad.nom_pessoa nomeServidor,(ad.num_matricula_servidor || '-' || ad.num_digito_matricula) matricula_servidor,(EXISTS(SELECT * FROM sc_rhd.rhd_avaliacao_desempenho ade join sc_rhd.rhd_questao_avaliadesemp qd ON ade.seq_questao_avaliacao = qd.seq_questao_avaliadesempWHERE ade.num_ano = ad.num_ano AND ade.seq_servidor_dadofuncional = ad.seq_servidor_dadofuncional and qd.tip_avaliacao_desempenho = 'U')) ind_autoavaliacao_realizada,(EXISTS(SELECT * FROM sc_rhd.rhd_avaliacao_desempenho ade join sc_rhd.rhd_questao_avaliadesemp qd ON ade.seq_questao_avaliacao = qd.seq_questao_avaliadesempWHERE ade.num_ano = ad.num_ano AND ade.seq_servidor_dadofuncional = ad.seq_servidor_dadofuncional and qd.tip_avaliacao_desempenho = 'A')) ind_avaliacao_realizada,ad.num_nota_desempenho notaDesempenho,ad.num_nota_assiduidade notaAssiduidade,ad.num_nota_qualificacao notaQualificacao,ad.num_nota_pontuacao_extra pontuacaoExtra,ad.num_nota_final notaFinal,(select coalesce(sum(f.qtd_falta), 0) from sc_rhd.rhd_servidor_falta f where f.num_ano = ad.num_ano and f.seq_servidor_dadofuncional = ad.seq_servidor_dadofuncional) faltas_servidorFROM sc_rhd.vw_avaliacao_desempenho adwhere ad.num_ano = $P{pAnoCronograma}and (ad.seq_grupo_avaliacao = $P{pSequencialGrupoAvaliacao} OR $P{pSequencialGrupoAvaliacao} IS NULL)and (ad.cod_unidade_cadastro = $P{pCodigoUnidadeExercicio} OR $P{pCodigoUnidadeExercicio} IS NULL)and ((ad.num_matricula_servidor) = $P{pMatriculaServidor} OR $P{pMatriculaServidor} IS NULL)ORDER BY ad.dsc_unidade_cadastro, ad.dsc_grupo_avaliacao, ad.nom_pessoa]]></queryString><field name="seq_servidor_dadofuncional" class="java.lang.Long"/><field name="unidade" class="java.lang.String"/><field name="grupoavaliacao" class="java.lang.String"/><field name="nomeavaliador" class="java.lang.String"/><field name="numerocpf" class="java.lang.String"/><field name="nomeservidor" class="java.lang.String"/><field name="matricula_servidor" class="java.lang.String"/><field name="ind_autoavaliacao_realizada" class="java.lang.Boolean"/><field name="ind_avaliacao_realizada" class="java.lang.Boolean"/><field name="notadesempenho" class="java.math.BigDecimal"/><field name="notaassiduidade" class="java.math.BigDecimal"/><field name="notaqualificacao" class="java.math.BigDecimal"/><field name="pontuacaoextra" class="java.math.BigDecimal"/><field name="notafinal" class="java.math.BigDecimal"/><field name="faltas_servidor" class="java.math.BigDecimal"/><group name="unidade_exercicio"><groupExpression><![CDATA[$F{unidade}]]></groupExpression><groupHeader><band height="42"><textField isStretchWithOverflow="true"><reportElement uuid="1b7ae11b-d3df-4108-8e29-221b7e53a9d4" x="0" y="21" width="555" height="20"/><textElement verticalAlignment="Bottom"><font fontName="Arial" size="12" isBold="true" isUnderline="true" pdfFontName="Helvetica-Bold"/></textElement><textFieldExpression><![CDATA["UNIDADE: " + $F{unidade}]]></textFieldExpression></textField></band></groupHeader></group><group name="grupo_avaliacao"><groupExpression><![CDATA[$F{grupoavaliacao}]]></groupExpression><groupHeader><band height="53"><textField><reportElement uuid="f0d83fb9-02c2-42c5-9a2c-d618a8de2580" mode="Opaque" x="0" y="16" width="555" height="16" forecolor="#000000" backcolor="#A9A9A9"/><textElement verticalAlignment="Middle"><font fontName="Arial" isBold="true" isUnderline="false" pdfFontName="Helvetica-Bold"/></textElement><textFieldExpression><![CDATA[" GRUPO: " + $F{grupoavaliacao}]]></textFieldExpression></textField><textField><reportElement uuid="f0d83fb9-02c2-42c5-9a2c-d618a8de2580" mode="Opaque" x="0" y="31" width="555" height="16" forecolor="#000000" backcolor="#A9A9A9"/><textElement verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="true" isUnderline="false" pdfFontName="Helvetica-Bold"/></textElement><textFieldExpression><![CDATA[" AVALIADOR(A): " + $F{nomeavaliador}]]></textFieldExpression></textField></band></groupHeader></group><background><band splitType="Stretch"/></background><title><band height="145" splitType="Stretch"><textField isBlankWhenNull="false"><reportElement uuid="7e420030-8524-414a-9258-b8ff749fc009" x="0" y="116" width="555" height="15"/><textElement textAlignment="Center"><font fontName="Arial" isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="false"/></textElement><textFieldExpression><![CDATA["CRONOGRAMA: " + $P{pAnoCronograma}]]></textFieldExpression></textField><image hAlign="Right"><reportElement uuid="9cc0d6bd-ba27-4a57-903c-0182a11a1f53" x="259" y="1" width="48" height="59"/><imageExpression><![CDATA[$P{IMAGEM_DIR} + "brasao.jpg"]]></imageExpression></image><staticText><reportElement uuid="36f361c7-c2c5-4f4b-9918-4f375cff39d2" x="0" y="95" width="555" height="16" isPrintWhenDetailOverflows="true"/><textElement textAlignment="Center" verticalAlignment="Top"><font fontName="Arial" size="10" isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="false"/></textElement><text><![CDATA[RELATÓRIO DE AVALIAÇÃO GERAL]]></text></staticText><staticText><reportElement uuid="36f361c7-c2c5-4f4b-9918-4f375cff39d2" x="0" y="64" width="555" height="26"/><textElement textAlignment="Center"><font fontName="Arial" size="10" isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="false"/></textElement><text><![CDATA[ESTADO DE ALAGOASSECRETARIA DE ESTADO DA SAÚDE DE ALAGOAS]]></text></staticText></band></title><pageHeader><band splitType="Stretch"/></pageHeader><detail><band height="91" splitType="Stretch"><rectangle><reportElement uuid="929d9137-2979-443b-a76d-d93458dbea93" x="0" y="0" width="555" height="14" forecolor="#DCDCDC" backcolor="#DCDCDC"/><graphicElement><pen lineWidth="0.0"/></graphicElement></rectangle><textField isStretchWithOverflow="true"><reportElement uuid="6061d8f0-769a-4fd2-9713-b0908f153b4c" x="318" y="0" width="55" height="14"/><textElement verticalAlignment="Middle"><font fontName="Arial" size="8"/></textElement><textFieldExpression><![CDATA[$F{matricula_servidor}]]></textFieldExpression></textField><textField isStretchWithOverflow="true"><reportElement uuid="a92ba739-a606-4b85-8c12-d540a5ba9a08" x="31" y="0" width="205" height="14"/><textElement verticalAlignment="Middle"><font fontName="Arial" size="8"/></textElement><textFieldExpression><![CDATA[$F{nomeservidor}]]></textFieldExpression></textField><textField isStretchWithOverflow="true"><reportElement uuid="04d5aaaa-8a49-4b1a-bc70-0a51baa44eba" x="431" y="0" width="74" height="14"/><textElement verticalAlignment="Middle"><font fontName="Arial" size="8"/></textElement><textFieldExpression><![CDATA[($F{numerocpf} == null)? null : (($F{numerocpf}.trim().length() == 11)? $F{numerocpf}.trim().replaceAll("(\\d{3})(\\d{3})(\\d{3})(\\d{2})", "$1.$2.$3-$4") : $F{numerocpf})]]></textFieldExpression></textField><textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"><reportElement uuid="c93aa7da-14b7-4d3c-814d-bcdb33b00027" x="63" y="37" width="38" height="14"/><textElement verticalAlignment="Middle"><font fontName="Arial" size="8"/></textElement><textFieldExpression><![CDATA[$F{notadesempenho}]]></textFieldExpression></textField><textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"><reportElement uuid="c93aa7da-14b7-4d3c-814d-bcdb33b00027" x="176" y="37" width="36" height="14"/><textElement verticalAlignment="Middle"><font fontName="Arial" size="8"/></textElement><textFieldExpression><![CDATA[$F{notaassiduidade}]]></textFieldExpression></textField><textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"><reportElement uuid="c93aa7da-14b7-4d3c-814d-bcdb33b00027" x="288" y="37" width="36" height="14"/><textElement verticalAlignment="Middle"><font fontName="Arial" size="8"/></textElement><textFieldExpression><![CDATA[$F{notaqualificacao}]]></textFieldExpression></textField><textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"><reportElement uuid="c93aa7da-14b7-4d3c-814d-bcdb33b00027" x="410" y="37" width="41" height="14"/><textElement verticalAlignment="Middle"><font fontName="Arial" size="8"/></textElement><textFieldExpression><![CDATA[$F{pontuacaoextra}]]></textFieldExpression></textField><textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"><reportElement uuid="c93aa7da-14b7-4d3c-814d-bcdb33b00027" x="510" y="37" width="45" height="14"/><textElement verticalAlignment="Middle"><font fontName="Arial" size="8"/></textElement><textFieldExpression><![CDATA[$F{notafinal}]]></textFieldExpression></textField><staticText><reportElement uuid="0f0b30e9-81e0-45d8-a61b-90a41c3c317c" x="0" y="0" width="30" height="14"/><textElement textAlignment="Right" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="true" pdfFontName="Helvetica-Bold"/></textElement><text><![CDATA[Nome:]]></text></staticText><staticText><reportElement uuid="23f0c781-e4f0-45c5-bd32-15987a7bddde" x="263" y="0" width="54" height="14"/><textElement textAlignment="Right" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="true" pdfFontName="Helvetica-Bold"/></textElement><text><![CDATA[Matrícula:]]></text></staticText><staticText><reportElement uuid="0d2e9575-caaa-4892-87d1-4192e87fa1d1" x="401" y="0" width="29" height="14"/><textElement textAlignment="Right" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="true" pdfFontName="Helvetica-Bold"/></textElement><text><![CDATA[CPF:]]></text></staticText><line><reportElement uuid="0c98e0eb-c48d-4b4c-9a0b-913909cfb210" positionType="Float" x="0" y="88" width="555" height="1" isPrintWhenDetailOverflows="true"/><graphicElement><pen lineWidth="0.5" lineStyle="Dashed"/></graphicElement></line><staticText><reportElement uuid="8923e989-fc9c-45b3-83ba-d971367f36da" x="0" y="19" width="555" height="15"/><textElement textAlignment="Center"><font fontName="Arial" size="9" isBold="true" isUnderline="true" pdfFontName="Helvetica-Bold"/></textElement><text><![CDATA[NOTAS]]></text></staticText><staticText><reportElement uuid="0f0b30e9-81e0-45d8-a61b-90a41c3c317c" x="0" y="37" width="62" height="14"/><textElement textAlignment="Right" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="true" pdfFontName="Helvetica-Bold"/></textElement><text><![CDATA[Desempenho:]]></text></staticText><staticText><reportElement uuid="0f0b30e9-81e0-45d8-a61b-90a41c3c317c" x="113" y="37" width="62" height="14"/><textElement textAlignment="Right" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="true" pdfFontName="Helvetica-Bold"/></textElement><text><![CDATA[Assiduidade:]]></text></staticText><staticText><reportElement uuid="0f0b30e9-81e0-45d8-a61b-90a41c3c317c" x="225" y="37" width="62" height="14"/><textElement textAlignment="Right" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="true" pdfFontName="Helvetica-Bold"/></textElement><text><![CDATA[Qualificação:]]></text></staticText><staticText><reportElement uuid="0f0b30e9-81e0-45d8-a61b-90a41c3c317c" x="338" y="37" width="71" height="14"/><textElement textAlignment="Right" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="true" pdfFontName="Helvetica-Bold"/></textElement><text><![CDATA[Pontuação Extra:]]></text></staticText><staticText><reportElement uuid="0f0b30e9-81e0-45d8-a61b-90a41c3c317c" x="461" y="37" width="48" height="14"/><textElement textAlignment="Right" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="true" pdfFontName="Helvetica-Bold"/></textElement><text><![CDATA[Nota Final:]]></text></staticText><subreport><reportElement uuid="300395b1-058c-43c7-b543-effe4bfca979" x="0" y="58" width="555" height="11" isPrintWhenDetailOverflows="true"/><subreportParameter name="pAnoCronograma"><subreportParameterExpression><![CDATA[$P{pAnoCronograma}]]></subreportParameterExpression></subreportParameter><subreportParameter name="pSequencialServidorDadoFuncional"><subreportParameterExpression><![CDATA[$F{seq_servidor_dadofuncional}]]></subreportParameterExpression></subreportParameter><connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression><subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "relatorio_avaliacao_geral_subreport_qualificacoes_servidor.jasper"]]></subreportExpression></subreport><staticText><reportElement uuid="0f0b30e9-81e0-45d8-a61b-90a41c3c317c" positionType="Float" x="0" y="72" width="90" height="14"/><textElement textAlignment="Right" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="true" pdfFontName="Helvetica-Bold"/></textElement><text><![CDATA[Quantidade de faltas:]]></text></staticText><textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"><reportElement uuid="c93aa7da-14b7-4d3c-814d-bcdb33b00027" positionType="Float" x="91" y="72" width="39" height="14"/><textElement verticalAlignment="Middle"><font fontName="Arial" size="8"/></textElement><textFieldExpression><![CDATA[$F{faltas_servidor}]]></textFieldExpression></textField></band></detail><pageFooter><band height="21"><textField evaluationTime="Report" isBlankWhenNull="false"><reportElement uuid="506b9991-ff6d-43b5-ab78-2832586c3dda" key="textField" x="502" y="6" width="52" height="15"/><textElement verticalAlignment="Middle"><font fontName="Arial" size="6" isBold="false"/></textElement><textFieldExpression><![CDATA["" + $V{PAGE_NUMBER} + ""]]></textFieldExpression></textField><textField isBlankWhenNull="false"><reportElement uuid="e5f06c72-11c0-479b-b234-4dcaf2bc0440" key="textField" x="428" y="6" width="73" height="15"/><textElement textAlignment="Right" verticalAlignment="Middle"><font fontName="Arial" size="6" isBold="false"/></textElement><textFieldExpression><![CDATA["PÁGINA " + $V{PAGE_NUMBER} + " DE "]]></textFieldExpression></textField><textField isBlankWhenNull="true"><reportElement uuid="0ad83100-9e7e-42de-97b6-51dc07b7dd68" x="0" y="6" width="386" height="15"/><textElement verticalAlignment="Middle"><font fontName="Arial" size="6" isBold="false"/></textElement><textFieldExpression><![CDATA["Gerado por " + $P{pNomeUsuario} + ", CPF: " + $P{pCpfUsuario} + new java.text.SimpleDateFormat("', em ' dd 'de' MMMMM 'de' yyyy ' às ' HH:mm", new Locale("pt", "BR")).format(new java.util.Date()).toUpperCase()]]></textFieldExpression></textField></band></pageFooter><summary><band splitType="Stretch"/></summary></jasperReport>