yjwz.jrxml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  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="yjwz" language="groovy" pageWidth="855" pageHeight="595" orientation="Landscape" columnWidth="815" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="93315f1f-90fb-431d-9c32-face9db197c8">
  3. <property name="ireport.zoom" value="1.0"/>
  4. <property name="ireport.x" value="0"/>
  5. <property name="ireport.y" value="0"/>
  6. <style name="table">
  7. <box>
  8. <pen lineWidth="1.0" lineColor="#000000"/>
  9. </box>
  10. </style>
  11. <style name="table_TH" mode="Opaque" backcolor="#F0FFFF">
  12. <box>
  13. <pen lineWidth="0.5" lineColor="#000000"/>
  14. </box>
  15. </style>
  16. <style name="table_CH" mode="Opaque" backcolor="#BFFFFF">
  17. <box>
  18. <pen lineWidth="0.5" lineColor="#000000"/>
  19. </box>
  20. </style>
  21. <style name="table_TD" mode="Opaque" backcolor="#FFFFFF">
  22. <box>
  23. <pen lineWidth="0.5" lineColor="#000000"/>
  24. </box>
  25. </style>
  26. <parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
  27. <defaultValueExpression><![CDATA["G:\\workplace\\yjpt-ireport\\"]]></defaultValueExpression>
  28. </parameter>
  29. <queryString>
  30. <![CDATA[]]>
  31. </queryString>
  32. <field name="addDate" class="java.util.Date">
  33. <fieldDescription><![CDATA[addDate]]></fieldDescription>
  34. </field>
  35. <field name="addUser" class="com.jtgh.yjpt.entity.auth.UserEntity">
  36. <fieldDescription><![CDATA[addUser]]></fieldDescription>
  37. </field>
  38. <field name="byzd1" class="java.lang.String">
  39. <fieldDescription><![CDATA[byzd1]]></fieldDescription>
  40. </field>
  41. <field name="byzd2" class="java.lang.String">
  42. <fieldDescription><![CDATA[byzd2]]></fieldDescription>
  43. </field>
  44. <field name="byzd3" class="java.lang.String">
  45. <fieldDescription><![CDATA[byzd3]]></fieldDescription>
  46. </field>
  47. <field name="byzd4" class="java.lang.String">
  48. <fieldDescription><![CDATA[byzd4]]></fieldDescription>
  49. </field>
  50. <field name="byzd5" class="java.lang.String">
  51. <fieldDescription><![CDATA[byzd5]]></fieldDescription>
  52. </field>
  53. <field name="bz" class="java.lang.String">
  54. <fieldDescription><![CDATA[bz]]></fieldDescription>
  55. </field>
  56. <field name="class" class="java.lang.Class">
  57. <fieldDescription><![CDATA[class]]></fieldDescription>
  58. </field>
  59. <field name="gkdw" class="com.jtgh.yjpt.entity.jyr.JyrEntity">
  60. <fieldDescription><![CDATA[gkdw]]></fieldDescription>
  61. </field>
  62. <field name="gq" class="com.jtgh.yjpt.entity.gkgq.GqEntity">
  63. <fieldDescription><![CDATA[gq]]></fieldDescription>
  64. </field>
  65. <field name="id" class="java.lang.Long">
  66. <fieldDescription><![CDATA[id]]></fieldDescription>
  67. </field>
  68. <field name="lxdh" class="java.lang.String">
  69. <fieldDescription><![CDATA[lxdh]]></fieldDescription>
  70. </field>
  71. <field name="lxr" class="java.lang.String">
  72. <fieldDescription><![CDATA[lxr]]></fieldDescription>
  73. </field>
  74. <field name="qylb" class="java.lang.String">
  75. <fieldDescription><![CDATA[qylb]]></fieldDescription>
  76. </field>
  77. <field name="recordCode" class="java.lang.String">
  78. <fieldDescription><![CDATA[recordCode]]></fieldDescription>
  79. </field>
  80. <field name="recordStatus" class="java.lang.Integer">
  81. <fieldDescription><![CDATA[recordStatus]]></fieldDescription>
  82. </field>
  83. <field name="sequenceName" class="java.lang.String">
  84. <fieldDescription><![CDATA[sequenceName]]></fieldDescription>
  85. </field>
  86. <field name="sftb" class="java.lang.String">
  87. <fieldDescription><![CDATA[sftb]]></fieldDescription>
  88. </field>
  89. <field name="szd" class="com.jtgh.yjpt.entity.common.CodeEntity">
  90. <fieldDescription><![CDATA[szd]]></fieldDescription>
  91. </field>
  92. <field name="szdgkj" class="java.lang.String">
  93. <fieldDescription><![CDATA[szdgkj]]></fieldDescription>
  94. </field>
  95. <field name="tbdyid" class="java.lang.Long">
  96. <fieldDescription><![CDATA[tbdyid]]></fieldDescription>
  97. </field>
  98. <field name="tbzt" class="java.lang.String">
  99. <fieldDescription><![CDATA[tbzt]]></fieldDescription>
  100. </field>
  101. <field name="updateDate" class="java.util.Date">
  102. <fieldDescription><![CDATA[updateDate]]></fieldDescription>
  103. </field>
  104. <field name="updateUser" class="com.jtgh.yjpt.entity.auth.UserEntity">
  105. <fieldDescription><![CDATA[updateUser]]></fieldDescription>
  106. </field>
  107. <field name="yjwzFlxx" class="java.util.List">
  108. <fieldDescription><![CDATA[yjwzFlxx]]></fieldDescription>
  109. </field>
  110. <background>
  111. <band splitType="Stretch"/>
  112. </background>
  113. <title>
  114. <band height="40" splitType="Stretch">
  115. <staticText>
  116. <reportElement x="0" y="0" width="815" height="40" uuid="67ebf0e9-6273-4331-ac43-7e73bc074384"/>
  117. <textElement textAlignment="Center" verticalAlignment="Middle">
  118. <font fontName="宋体" size="20" isBold="true" pdfEncoding="Cp1252" isPdfEmbedded="true"/>
  119. </textElement>
  120. <text><![CDATA[应急救援装置设备及物资储备情况]]></text>
  121. </staticText>
  122. </band>
  123. </title>
  124. <detail>
  125. <band height="239" splitType="Stretch">
  126. <subreport isUsingCache="true">
  127. <reportElement positionType="Float" x="0" y="134" width="815" height="105" uuid="98b8e956-387f-48f2-8f6e-e87040b3c9bd"/>
  128. <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{yjwzFlxx})]]></dataSourceExpression>
  129. <subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "yjwz_flxx.jasper"]]></subreportExpression>
  130. </subreport>
  131. <frame>
  132. <reportElement positionType="Float" x="0" y="0" width="815" height="30" uuid="86dc1c4c-c1c4-4c33-9d53-23ac23141a4a"/>
  133. <staticText>
  134. <reportElement stretchType="RelativeToTallestObject" x="420" y="0" width="117" height="30" uuid="aa6d782c-74c5-400e-9afe-d9fc06f6c488"/>
  135. <box leftPadding="5" rightPadding="0">
  136. <topPen lineWidth="0.5"/>
  137. <leftPen lineWidth="0.5"/>
  138. <bottomPen lineWidth="0.5"/>
  139. <rightPen lineWidth="0.5"/>
  140. </box>
  141. <textElement verticalAlignment="Middle">
  142. <font fontName="宋体" size="12" isBold="true"/>
  143. </textElement>
  144. <text><![CDATA[港区]]></text>
  145. </staticText>
  146. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  147. <reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="537" y="0" width="278" height="30" forecolor="#000000" backcolor="#FFFFFF" uuid="3a8e8a0d-bf08-47d4-976f-824aea2a408c"/>
  148. <box leftPadding="5">
  149. <topPen lineWidth="0.5"/>
  150. <leftPen lineWidth="0.5"/>
  151. <bottomPen lineWidth="0.5"/>
  152. <rightPen lineWidth="0.5"/>
  153. </box>
  154. <textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
  155. <font fontName="Serif" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
  156. <paragraph lineSpacing="Single"/>
  157. </textElement>
  158. <textFieldExpression><![CDATA[$F{gq}.getGqmc()]]></textFieldExpression>
  159. </textField>
  160. <staticText>
  161. <reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="150" height="30" uuid="2545a9dc-1ce3-4a4c-a554-8aacedbc00de"/>
  162. <box leftPadding="5" rightPadding="5">
  163. <topPen lineWidth="0.5"/>
  164. <leftPen lineWidth="0.5"/>
  165. <bottomPen lineWidth="0.5"/>
  166. <rightPen lineWidth="0.5"/>
  167. </box>
  168. <textElement verticalAlignment="Middle">
  169. <font fontName="宋体" size="12" isBold="true"/>
  170. </textElement>
  171. <text><![CDATA[所在地]]></text>
  172. </staticText>
  173. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  174. <reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="150" y="0" width="270" height="30" forecolor="#000000" backcolor="#FFFFFF" uuid="6fb54f8a-d89d-4d73-9613-3071a30aef0e"/>
  175. <box leftPadding="5">
  176. <topPen lineWidth="0.5"/>
  177. <leftPen lineWidth="0.5"/>
  178. <bottomPen lineWidth="0.5"/>
  179. <rightPen lineWidth="0.5"/>
  180. </box>
  181. <textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
  182. <font fontName="Serif" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
  183. <paragraph lineSpacing="Single"/>
  184. </textElement>
  185. <textFieldExpression><![CDATA[com.yjpt.util.PropReader.getProperty($F{szd}.getName())]]></textFieldExpression>
  186. </textField>
  187. </frame>
  188. <frame>
  189. <reportElement positionType="Float" x="0" y="30" width="815" height="30" uuid="4df4e59a-86cd-4460-adec-69a06280dc2e"/>
  190. <staticText>
  191. <reportElement stretchType="RelativeToTallestObject" x="420" y="0" width="117" height="30" uuid="0b2479cf-5fc3-4c0a-985e-079eec420e25"/>
  192. <box leftPadding="5" rightPadding="0">
  193. <topPen lineWidth="0.5"/>
  194. <leftPen lineWidth="0.5"/>
  195. <bottomPen lineWidth="0.5"/>
  196. <rightPen lineWidth="0.5"/>
  197. </box>
  198. <textElement verticalAlignment="Middle">
  199. <font fontName="宋体" size="12" isBold="true"/>
  200. </textElement>
  201. <text><![CDATA[联系电话]]></text>
  202. </staticText>
  203. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  204. <reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="537" y="0" width="278" height="30" forecolor="#000000" backcolor="#FFFFFF" uuid="ec1538b2-4ebb-49ca-9b2a-c7553f877ca0"/>
  205. <box leftPadding="5">
  206. <topPen lineWidth="0.5"/>
  207. <leftPen lineWidth="0.5"/>
  208. <bottomPen lineWidth="0.5"/>
  209. <rightPen lineWidth="0.5"/>
  210. </box>
  211. <textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
  212. <font fontName="Serif" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
  213. <paragraph lineSpacing="Single"/>
  214. </textElement>
  215. <textFieldExpression><![CDATA[$F{lxdh}]]></textFieldExpression>
  216. </textField>
  217. <staticText>
  218. <reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="150" height="30" uuid="741ce44e-4c5b-442f-a947-b9c99676a36f"/>
  219. <box leftPadding="5" rightPadding="5">
  220. <topPen lineWidth="0.5"/>
  221. <leftPen lineWidth="0.5"/>
  222. <bottomPen lineWidth="0.5"/>
  223. <rightPen lineWidth="0.5"/>
  224. </box>
  225. <textElement verticalAlignment="Middle">
  226. <font fontName="宋体" size="12" isBold="true"/>
  227. </textElement>
  228. <text><![CDATA[联系人]]></text>
  229. </staticText>
  230. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  231. <reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="150" y="0" width="270" height="30" forecolor="#000000" backcolor="#FFFFFF" uuid="f2e575dc-7b9f-4a1a-8622-cbd778c7d27b"/>
  232. <box leftPadding="5">
  233. <topPen lineWidth="0.5"/>
  234. <leftPen lineWidth="0.5"/>
  235. <bottomPen lineWidth="0.5"/>
  236. <rightPen lineWidth="0.5"/>
  237. </box>
  238. <textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
  239. <font fontName="Serif" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
  240. <paragraph lineSpacing="Single"/>
  241. </textElement>
  242. <textFieldExpression><![CDATA[$F{lxr}]]></textFieldExpression>
  243. </textField>
  244. </frame>
  245. <frame>
  246. <reportElement positionType="Float" x="0" y="60" width="815" height="30" uuid="4b0e3900-2237-4c53-bcbf-3dcf376e8c88"/>
  247. <staticText>
  248. <reportElement stretchType="RelativeToTallestObject" x="420" y="0" width="117" height="30" uuid="cd2a0635-f10d-4df3-99fe-454fe7a6d409"/>
  249. <box leftPadding="5" rightPadding="0">
  250. <topPen lineWidth="0.5"/>
  251. <leftPen lineWidth="0.5"/>
  252. <bottomPen lineWidth="0.5"/>
  253. <rightPen lineWidth="0.5"/>
  254. </box>
  255. <textElement verticalAlignment="Middle">
  256. <font fontName="宋体" size="12" isBold="true"/>
  257. </textElement>
  258. <text><![CDATA[单位]]></text>
  259. </staticText>
  260. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  261. <reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="537" y="0" width="278" height="30" forecolor="#000000" backcolor="#FFFFFF" uuid="fd625bd5-8ff9-4353-89bc-05762034cc70"/>
  262. <box leftPadding="5">
  263. <topPen lineWidth="0.5"/>
  264. <leftPen lineWidth="0.5"/>
  265. <bottomPen lineWidth="0.5"/>
  266. <rightPen lineWidth="0.5"/>
  267. </box>
  268. <textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
  269. <font fontName="Serif" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
  270. <paragraph lineSpacing="Single"/>
  271. </textElement>
  272. <textFieldExpression><![CDATA[$F{szdgkj}]]></textFieldExpression>
  273. </textField>
  274. <staticText>
  275. <reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="150" height="30" uuid="9029932a-5934-44e3-b90c-be91c3b65747"/>
  276. <box leftPadding="5" rightPadding="5">
  277. <topPen lineWidth="0.5"/>
  278. <leftPen lineWidth="0.5"/>
  279. <bottomPen lineWidth="0.5"/>
  280. <rightPen lineWidth="0.5"/>
  281. </box>
  282. <textElement verticalAlignment="Middle">
  283. <font fontName="宋体" size="12" isBold="true"/>
  284. </textElement>
  285. <text><![CDATA[港口经营人名称]]></text>
  286. </staticText>
  287. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  288. <reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="150" y="0" width="270" height="30" forecolor="#000000" backcolor="#FFFFFF" uuid="cc2aeed3-a1f8-44c5-b908-1cd25b0f9b3e"/>
  289. <box leftPadding="5">
  290. <topPen lineWidth="0.5"/>
  291. <leftPen lineWidth="0.5"/>
  292. <bottomPen lineWidth="0.5"/>
  293. <rightPen lineWidth="0.5"/>
  294. </box>
  295. <textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
  296. <font fontName="Serif" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
  297. <paragraph lineSpacing="Single"/>
  298. </textElement>
  299. <textFieldExpression><![CDATA[$F{gkdw}.getGkjyr()]]></textFieldExpression>
  300. </textField>
  301. </frame>
  302. <frame>
  303. <reportElement positionType="Float" x="0" y="90" width="815" height="30" uuid="b38da767-98ae-4a43-a6e2-3dc84c60f3f1"/>
  304. <staticText>
  305. <reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="150" height="30" uuid="ade266bb-17ba-49fe-81a1-ad305788f27c"/>
  306. <box leftPadding="5" rightPadding="5">
  307. <topPen lineWidth="0.5"/>
  308. <leftPen lineWidth="0.5"/>
  309. <bottomPen lineWidth="0.5"/>
  310. <rightPen lineWidth="0.5"/>
  311. </box>
  312. <textElement verticalAlignment="Middle">
  313. <font fontName="宋体" size="12" isBold="true"/>
  314. </textElement>
  315. <text><![CDATA[应急物资储备库名称]]></text>
  316. </staticText>
  317. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  318. <reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="150" y="0" width="665" height="30" forecolor="#000000" backcolor="#FFFFFF" uuid="cb057470-8630-4e22-b6c8-0b3110496615"/>
  319. <box leftPadding="5">
  320. <topPen lineWidth="0.5"/>
  321. <leftPen lineWidth="0.5"/>
  322. <bottomPen lineWidth="0.5"/>
  323. <rightPen lineWidth="0.5"/>
  324. </box>
  325. <textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
  326. <font fontName="Serif" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
  327. <paragraph lineSpacing="Single"/>
  328. </textElement>
  329. <textFieldExpression><![CDATA[$F{bz}]]></textFieldExpression>
  330. </textField>
  331. </frame>
  332. </band>
  333. </detail>
  334. </jasperReport>