ryjcxx-pdf.jrxml 4.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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="ryjcxx" language="groovy" pageWidth="290" pageHeight="340" columnWidth="250" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" isIgnorePagination="true" uuid="6ba495ef-8263-45ad-a2fd-2d5f92c4f9fd">
  3. <property name="ireport.zoom" value="1.0"/>
  4. <property name="ireport.x" value="0"/>
  5. <property name="ireport.y" value="0"/>
  6. <parameter name="zp" class="byte[]"/>
  7. <parameter name="qrcode" class="byte[]"/>
  8. <parameter name="portrait" class="java.lang.String"/>
  9. <queryString>
  10. <![CDATA[]]>
  11. </queryString>
  12. <field name="lxdh" class="java.lang.String">
  13. <fieldDescription><![CDATA[lxdh]]></fieldDescription>
  14. </field>
  15. <field name="rylx" class="com.jtgh.yjpt.entity.common.CodeEntity">
  16. <fieldDescription><![CDATA[rylx]]></fieldDescription>
  17. </field>
  18. <field name="ssjyr" class="com.jtgh.yjpt.entity.jyr.JyrEntity">
  19. <fieldDescription><![CDATA[ssjyr]]></fieldDescription>
  20. </field>
  21. <field name="xm" class="java.lang.String">
  22. <fieldDescription><![CDATA[xm]]></fieldDescription>
  23. </field>
  24. <background>
  25. <band splitType="Stretch"/>
  26. </background>
  27. <detail>
  28. <band height="300" splitType="Immediate">
  29. <textField isBlankWhenNull="true">
  30. <reportElement x="65" y="214" width="100" height="30" forecolor="#242424" uuid="c2a0e6e5-5a10-459c-855e-0d43c40f1ec1"/>
  31. <textElement verticalAlignment="Middle">
  32. <font fontName="宋体"/>
  33. </textElement>
  34. <textFieldExpression><![CDATA[$F{rylx}.getBz()]]></textFieldExpression>
  35. </textField>
  36. <staticText>
  37. <reportElement x="15" y="184" width="50" height="30" forecolor="#A8A8A8" uuid="0d76b95d-7544-49da-9ed0-8b2f32e78d8d"/>
  38. <textElement verticalAlignment="Middle">
  39. <font fontName="宋体" size="12"/>
  40. </textElement>
  41. <text><![CDATA[ 姓 名]]></text>
  42. </staticText>
  43. <staticText>
  44. <reportElement x="15" y="244" width="50" height="30" forecolor="#A8A8A8" uuid="1710a381-2dc5-45fe-bb12-95f10050592f"/>
  45. <textElement verticalAlignment="Middle">
  46. <font fontName="宋体" size="12"/>
  47. </textElement>
  48. <text><![CDATA[联系电话]]></text>
  49. </staticText>
  50. <staticText>
  51. <reportElement x="15" y="214" width="50" height="30" forecolor="#A8A8A8" uuid="aba4540a-7616-4c35-a671-29cc791e89a5"/>
  52. <textElement verticalAlignment="Middle">
  53. <font fontName="宋体" size="12"/>
  54. </textElement>
  55. <text><![CDATA[人员类型]]></text>
  56. </staticText>
  57. <textField isBlankWhenNull="true">
  58. <reportElement x="65" y="244" width="100" height="30" forecolor="#242424" uuid="0231e712-d427-4ebb-95f6-d68c1c86a563"/>
  59. <textElement verticalAlignment="Middle">
  60. <font fontName="宋体"/>
  61. </textElement>
  62. <textFieldExpression><![CDATA[$F{lxdh}]]></textFieldExpression>
  63. </textField>
  64. <textField isBlankWhenNull="true">
  65. <reportElement x="0" y="0" width="250" height="50" forecolor="#616161" uuid="e9b6cc7a-e72d-4b76-abb6-19b4478f2b3b"/>
  66. <textElement verticalAlignment="Middle">
  67. <font fontName="宋体" size="18" isBold="true"/>
  68. </textElement>
  69. <textFieldExpression><![CDATA[$F{ssjyr}.getGkjyr()]]></textFieldExpression>
  70. </textField>
  71. <textField isBlankWhenNull="true">
  72. <reportElement x="65" y="184" width="100" height="30" forecolor="#242424" uuid="7a513df3-74a6-4a8a-8de1-806c64b935b1"/>
  73. <textElement verticalAlignment="Middle">
  74. <font fontName="宋体"/>
  75. </textElement>
  76. <textFieldExpression><![CDATA[$F{xm}]]></textFieldExpression>
  77. </textField>
  78. <frame>
  79. <reportElement mode="Opaque" x="0" y="50" width="250" height="125" backcolor="#21A5B6" uuid="f45b84b2-29f2-43e4-93d0-86e1b1f26771"/>
  80. <image scaleImage="Clip" isLazy="true">
  81. <reportElement isPrintRepeatedValues="false" x="0" y="0" width="100" height="125" uuid="efb32dd4-d1cd-48a8-9dc2-769a178fff0c"/>
  82. <imageExpression><![CDATA[$P{zp}==null?$P{portrait}:new java.io.ByteArrayInputStream($P{zp})]]></imageExpression>
  83. </image>
  84. <staticText>
  85. <reportElement x="129" y="21" width="100" height="40" forecolor="#FFFFFF" uuid="e7eab92c-3632-4095-94fd-f37c49f60746"/>
  86. <textElement>
  87. <font fontName="宋体" size="20"/>
  88. </textElement>
  89. <text><![CDATA[工作证]]></text>
  90. </staticText>
  91. </frame>
  92. <image scaleImage="RealSize" isLazy="true">
  93. <reportElement isPrintRepeatedValues="false" x="165" y="200" width="75" height="75" uuid="438206de-fa7e-44de-b3fd-42c8db0b925d"/>
  94. <imageExpression><![CDATA[new java.io.ByteArrayInputStream($P{qrcode})]]></imageExpression>
  95. </image>
  96. </band>
  97. </detail>
  98. </jasperReport>