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_qualificacao" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="10e6462f-b0a2-406d-9d69-bee3c0361a4e"><property name="ireport.zoom" value="2.853116706110003"/><property name="ireport.x" value="0"/><property name="ireport.y" value="306"/><parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false"><defaultValueExpression><![CDATA[""]]></defaultValueExpression></parameter><parameter name="IMAGEM_DIR" class="java.lang.String"><defaultValueExpression><![CDATA["C:\\"]]></defaultValueExpression></parameter><parameter name="pNomeUsuario" class="java.lang.String"/><parameter name="pCpfUsuario" class="java.lang.String"/><parameter name="pAnoCronograma" class="java.lang.Long"/><parameter name="pCodigoUnidadeExercicio" class="java.lang.Long"/><parameter name="pSequencialGrupoAvaliacao" class="java.lang.Long"/><parameter name="pMatriculaServidor" class="java.lang.Long"/><queryString><![CDATA[SELECT ad.seq_servidor_dadofuncional,ad.dsc_unidade_cadastro unidade,ad.dsc_grupo_avaliacao grupoAvaliacao,ad.num_cpf numeroCpf,ad.nom_pessoa nomeServidor,(ad.num_matricula_servidor || '-' || ad.num_digito_matricula) matricula_servidor,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="seq_servidor_dadofuncional" class="java.lang.Long"/><field name="unidade" class="java.lang.String"/><field name="grupoavaliacao" 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="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="groupUnidadeExercicio"><groupExpression><![CDATA[$F{unidade}]]></groupExpression><groupHeader><band height="29"><textField isStretchWithOverflow="true"><reportElement uuid="1b7ae11b-d3df-4108-8e29-221b7e53a9d4" x="2" y="4" 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="groupGrupoAvaliacao"><groupExpression><![CDATA[$F{grupoavaliacao}]]></groupExpression><groupHeader><band height="19"><textField><reportElement uuid="f0d83fb9-02c2-42c5-9a2c-d618a8de2580" mode="Opaque" x="0" y="0" 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></band></groupHeader></group><group name="groupServidor"><groupExpression><![CDATA[$F{nomeservidor}]]></groupExpression><groupHeader><band height="20"><rectangle><reportElement uuid="929d9137-2979-443b-a76d-d93458dbea93" x="0" y="3" width="555" height="14" forecolor="#DCDCDC" backcolor="#DCDCDC"/><graphicElement><pen lineWidth="0.0"/></graphicElement></rectangle><textField><reportElement uuid="8c9e7a92-d83d-4c81-b766-e9a4bd04d45c" x="34" y="3" width="255" height="14"/><textElement verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="true"/></textElement><textFieldExpression><![CDATA[$F{nomeservidor}]]></textFieldExpression></textField><staticText><reportElement uuid="adae7f8f-0817-4705-a460-468877d15149" x="2" y="3" width="31" height="14"/><textElement textAlignment="Right" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="true"/></textElement><text><![CDATA[Nome:]]></text></staticText><staticText><reportElement uuid="81850e19-8f8a-4e07-97f2-7bb034d4f33c" x="438" y="3" width="21" height="14"/><textElement textAlignment="Right" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="true"/></textElement><text><![CDATA[CPF:]]></text></staticText><textField pattern="" isBlankWhenNull="true"><reportElement uuid="0fad1e92-1edb-48b9-81fd-a72739f06f2f" x="460" y="3" width="92" height="14"/><textElement verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="true"/></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><reportElement uuid="4c6c0c07-6b3e-4497-acaf-1bf017cfd7fc" x="343" y="3" width="66" height="14"/><textElement verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="true"/></textElement><textFieldExpression><![CDATA[$F{matricula_servidor}]]></textFieldExpression></textField><staticText><reportElement uuid="972dba30-0b61-4516-831d-dfabb64e7eab" x="300" y="3" width="42" height="14"/><textElement textAlignment="Right" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="true"/></textElement><text><![CDATA[Matrícula:]]></text></staticText></band></groupHeader><groupFooter><band height="28"><staticText><reportElement uuid="49351e71-14bd-4688-9d0a-7865b1094ed3" x="447" y="8" width="69" height="14"/><textElement textAlignment="Right"><font fontName="Arial" size="8" isBold="true"/></textElement><text><![CDATA[Pontuação Extra:]]></text></staticText><staticText><reportElement uuid="fc69e67e-3889-4564-80cd-e2527e5ee245" x="271" y="8" width="115" height="14"/><textElement textAlignment="Right"><font fontName="Arial" size="8" isBold="true"/></textElement><text><![CDATA[Pontuação da Qualificação:]]></text></staticText><line><reportElement uuid="4b7649e6-5f9c-4267-b78e-dad8716e1c3d" positionType="Float" mode="Transparent" x="0" y="24" width="555" height="1"/><graphicElement><pen lineWidth="0.5" lineStyle="Dashed"/></graphicElement></line><textField pattern="#,##0.00"><reportElement uuid="fb8706c8-1707-47eb-8125-1afab8e5b931" x="517" y="8" width="38" height="14"/><textElement><font fontName="Arial" size="8" isBold="true"/></textElement><textFieldExpression><![CDATA[$F{pontuacaoextra}]]></textFieldExpression></textField><textField pattern="#,##0.00"><reportElement uuid="213bdc21-5420-4819-aaf7-dd1d9327d879" x="387" y="8" width="40" height="14"/><textElement><font fontName="Arial" size="8" isBold="true"/></textElement><textFieldExpression><![CDATA[$F{notaqualificacao}]]></textFieldExpression></textField></band></groupFooter></group><background><band splitType="Stretch"/></background><title><band height="141" splitType="Stretch"><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="104" 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 QUALIFICAÇÃO]]></text></staticText><textField isBlankWhenNull="false"><reportElement uuid="7e420030-8524-414a-9258-b8ff749fc009" x="0" y="125" 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><staticText><reportElement uuid="36f361c7-c2c5-4f4b-9918-4f375cff39d2" x="0" y="69" 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><detail><band height="12" splitType="Stretch"><subreport><reportElement uuid="300395b1-058c-43c7-b543-effe4bfca979" x="0" y="0" 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></band></detail><pageFooter><band height="28" splitType="Stretch"><textField evaluationTime="Report" isBlankWhenNull="false"><reportElement uuid="506b9991-ff6d-43b5-ab78-2832586c3dda" key="textField" x="527" y="6" width="27" 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="452" 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="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></band></pageFooter></jasperReport>