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_acompanhamento_avaliacao" 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.138428376721004"/><property name="ireport.x" value="0"/><property name="ireport.y" value="414"/><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.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 notaFinalFROM 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="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"/><group name="servidores_sem_grupo_avaliacao"><groupExpression><![CDATA[$P{pAnoCronograma}]]></groupExpression><groupFooter><band height="54"><subreport><reportElement uuid="f09708ad-41eb-489f-8e24-9315f7e9f99b" x="0" y="32" width="555" height="22"/><subreportParameter name="pMatriculaServidor"><subreportParameterExpression><![CDATA[$P{pMatriculaServidor}]]></subreportParameterExpression></subreportParameter><subreportParameter name="pAnoCronograma"><subreportParameterExpression><![CDATA[$P{pAnoCronograma}]]></subreportParameterExpression></subreportParameter><subreportParameter name="pCodigoUnidadeExercicio"><subreportParameterExpression><![CDATA[$P{pCodigoUnidadeExercicio}]]></subreportParameterExpression></subreportParameter><connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression><subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "relatorio_acompanhamento_avaliacao_subreport_servidores_sem_grupo_avaliacao.jasper"]]></subreportExpression></subreport></band></groupFooter></group><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="61"><rectangle><reportElement uuid="ebb138a6-6dac-4aee-bb4b-a43843d53ba2" x="0" y="46" width="555" height="14" forecolor="#BABABA" backcolor="#BABABA"/><graphicElement><pen lineWidth="1.0"/></graphicElement></rectangle><staticText><reportElement uuid="6389c3a0-d78e-451f-b563-47d7e6136a21" x="435" y="47" width="36" height="14"/><textElement textAlignment="Center" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="false"/></textElement><text><![CDATA[Qualif.]]></text></staticText><staticText><reportElement uuid="6389c3a0-d78e-451f-b563-47d7e6136a21" x="471" y="47" width="39" height="14"/><textElement textAlignment="Center" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="false"/></textElement><text><![CDATA[Pont. Ext.]]></text></staticText><staticText><reportElement uuid="6389c3a0-d78e-451f-b563-47d7e6136a21" x="510" y="47" width="45" height="14"/><textElement textAlignment="Center" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="false"/></textElement><text><![CDATA[Nota. Fin.]]></text></staticText><staticText><reportElement uuid="b5777072-9dd1-422b-96c8-08baa2b919a8" x="165" y="47" width="55" height="14"/><textElement textAlignment="Center" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="false"/></textElement><text><![CDATA[Matrícula]]></text></staticText><staticText><reportElement uuid="429fefa5-0682-4c77-8746-0ff489e5b80b" x="1" y="47" width="164" height="14"/><textElement verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="false"/></textElement><text><![CDATA[Nome]]></text></staticText><staticText><reportElement uuid="99fb2043-08a8-4412-a02a-786a275cb654" x="220" y="47" width="74" height="14"/><textElement textAlignment="Center" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="false"/></textElement><text><![CDATA[CPF]]></text></staticText><textField><reportElement uuid="f0d83fb9-02c2-42c5-9a2c-d618a8de2580" mode="Opaque" x="0" y="24" width="555" height="16" forecolor="#000000" backcolor="#999999"/><textElement verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="true" isUnderline="false" pdfFontName="Helvetica-Bold"/></textElement><textFieldExpression><![CDATA[" AVALIADOR(A): " + $F{nomeavaliador}]]></textFieldExpression></textField><staticText><reportElement uuid="a3e49187-7580-445e-a660-2f20a1809c57" x="331" y="47" width="30" height="14"/><textElement textAlignment="Center" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="false"/></textElement><text><![CDATA[Aval.]]></text></staticText><textField><reportElement uuid="f0d83fb9-02c2-42c5-9a2c-d618a8de2580" mode="Opaque" x="0" y="8" width="555" height="16" forecolor="#000000" backcolor="#999999"/><textElement verticalAlignment="Middle"><font fontName="Arial" isBold="true" isUnderline="false" pdfFontName="Helvetica-Bold"/></textElement><textFieldExpression><![CDATA[" GRUPO: " + $F{grupoavaliacao}]]></textFieldExpression></textField><staticText><reportElement uuid="6389c3a0-d78e-451f-b563-47d7e6136a21" x="399" y="47" width="36" height="14"/><textElement textAlignment="Center" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="false"/></textElement><text><![CDATA[Assid.]]></text></staticText><staticText><reportElement uuid="a3e49187-7580-445e-a660-2f20a1809c57" x="294" y="47" width="37" height="14"/><textElement textAlignment="Center" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="false"/></textElement><text><![CDATA[Autoav.]]></text></staticText><staticText><reportElement uuid="6389c3a0-d78e-451f-b563-47d7e6136a21" x="361" y="47" width="38" height="14"/><textElement textAlignment="Center" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="false"/></textElement><text><![CDATA[Desemp.]]></text></staticText></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 ACOMPANHAMENTO DA AVALIAÇÃO]]></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="14" splitType="Stretch"><rectangle><reportElement uuid="929d9137-2979-443b-a76d-d93458dbea93" stretchType="RelativeToBandHeight" x="0" y="0" width="555" height="14" isPrintWhenDetailOverflows="true" forecolor="#DCDCDC" backcolor="#DCDCDC"><printWhenExpression><![CDATA[new Boolean(($V{COLUMN_COUNT}.intValue() % 2) == 0)]]></printWhenExpression></reportElement><graphicElement><pen lineWidth="0.0"/></graphicElement></rectangle><textField isStretchWithOverflow="true"><reportElement uuid="6061d8f0-769a-4fd2-9713-b0908f153b4c" x="165" y="0" width="55" height="14"/><textElement textAlignment="Center" 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="0" y="0" width="165" 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="220" y="0" width="74" height="14"/><textElement textAlignment="Center" 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"><reportElement uuid="46a8fda5-9660-47a6-aa8b-45881fcedc41" x="294" y="0" width="37" height="14"/><textElement textAlignment="Center" verticalAlignment="Middle"><font fontName="Arial" size="8"/></textElement><textFieldExpression><![CDATA[$F{ind_autoavaliacao_realizada}? "SIM" : "NÃO"]]></textFieldExpression></textField><textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"><reportElement uuid="c93aa7da-14b7-4d3c-814d-bcdb33b00027" x="361" y="0" width="38" height="14"/><textElement textAlignment="Center" verticalAlignment="Middle"><font fontName="Arial" size="8"/></textElement><textFieldExpression><![CDATA[$F{notadesempenho}]]></textFieldExpression></textField><textField isStretchWithOverflow="true"><reportElement uuid="46a8fda5-9660-47a6-aa8b-45881fcedc41" x="331" y="0" width="30" height="14"/><textElement textAlignment="Center" verticalAlignment="Middle"><font fontName="Arial" size="8"/></textElement><textFieldExpression><![CDATA[$F{ind_avaliacao_realizada}? "SIM" : "NÃO"]]></textFieldExpression></textField><textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"><reportElement uuid="c93aa7da-14b7-4d3c-814d-bcdb33b00027" x="399" y="0" width="36" height="14"/><textElement textAlignment="Center" 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="435" y="0" width="36" height="14"/><textElement textAlignment="Center" 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="471" y="0" width="39" height="14"/><textElement textAlignment="Center" 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="0" width="45" height="14"/><textElement textAlignment="Center" verticalAlignment="Middle"><font fontName="Arial" size="8"/></textElement><textFieldExpression><![CDATA[$F{notafinal}]]></textFieldExpression></textField></band></detail><pageFooter><band height="21"><textField isBlankWhenNull="true"><reportElement uuid="0ad83100-9e7e-42de-97b6-51dc07b7dd68" x="0" y="6" width="374" 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><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></band></pageFooter><summary><band splitType="Stretch"/></summary></jasperReport>