container.jrxml 5.63 KB
<?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="container" pageWidth="245" pageHeight="172" whenNoDataType="AllSectionsNoDetail" columnWidth="245" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="79975b38-5e6c-4eab-9bc4-c6eb16eedad0">
	<property name="ireport.zoom" value="1.5"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<style name="containerStyle" backcolor="#FFFFFF" fill="Solid" fontSize="22" isBold="true" isItalic="true" isUnderline="true">
		<pen lineStyle="Solid"/>
	</style>
	<parameter name="containerId" class="java.lang.String">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[SELECT * FROM container WHERE id = $P{containerId}]]>
	</queryString>
	<field name="id" class="java.lang.Integer">
		<fieldDescription><![CDATA[内部号]]></fieldDescription>
	</field>
	<field name="name" class="java.lang.String">
		<fieldDescription><![CDATA[容器名字]]></fieldDescription>
	</field>
	<field name="code" class="java.lang.String">
		<fieldDescription><![CDATA[容器编码]]></fieldDescription>
	</field>
	<field name="warehouseCode" class="java.lang.String">
		<fieldDescription><![CDATA[仓库代码]]></fieldDescription>
	</field>
	<field name="companyCode" class="java.lang.String">
		<fieldDescription><![CDATA[货主编码]]></fieldDescription>
	</field>
	<field name="locationCode" class="java.lang.String">
		<fieldDescription><![CDATA[库位编码]]></fieldDescription>
	</field>
	<field name="containerType" class="java.lang.String">
		<fieldDescription><![CDATA[容器类型]]></fieldDescription>
	</field>
	<field name="status" class="java.lang.String">
		<fieldDescription><![CDATA[状态]]></fieldDescription>
	</field>
	<field name="created" class="java.sql.Timestamp">
		<fieldDescription><![CDATA[创建时间]]></fieldDescription>
	</field>
	<field name="createdBy" class="java.lang.String">
		<fieldDescription><![CDATA[创建人]]></fieldDescription>
	</field>
	<field name="lastUpdated" class="java.sql.Timestamp">
		<fieldDescription><![CDATA[最后更新时间]]></fieldDescription>
	</field>
	<field name="lastUpdatedBy" class="java.lang.String">
		<fieldDescription><![CDATA[最后更新人]]></fieldDescription>
	</field>
	<field name="enable" class="java.lang.Boolean">
		<fieldDescription><![CDATA[启用;1禁用:0]]></fieldDescription>
	</field>
	<field name="printNum" class="java.lang.Integer">
		<fieldDescription><![CDATA[打印次数]]></fieldDescription>
	</field>
	<field name="version" class="java.lang.Integer">
		<fieldDescription><![CDATA[数据版本]]></fieldDescription>
	</field>
	<field name="userDef1" class="java.lang.String">
		<fieldDescription><![CDATA[自定义字段1]]></fieldDescription>
	</field>
	<field name="userDef2" class="java.lang.String">
		<fieldDescription><![CDATA[自定义字段2]]></fieldDescription>
	</field>
	<field name="userDef3" class="java.lang.String">
		<fieldDescription><![CDATA[自定义字段3]]></fieldDescription>
	</field>
	<field name="userDef4" class="java.lang.String">
		<fieldDescription><![CDATA[自定义字段4]]></fieldDescription>
	</field>
	<field name="userDef5" class="java.lang.String">
		<fieldDescription><![CDATA[自定义字段5]]></fieldDescription>
	</field>
	<field name="userDef6" class="java.lang.String">
		<fieldDescription><![CDATA[自定义字段6]]></fieldDescription>
	</field>
	<field name="userDef7" class="java.lang.String">
		<fieldDescription><![CDATA[自定义字段7]]></fieldDescription>
	</field>
	<field name="userDef8" class="java.lang.String">
		<fieldDescription><![CDATA[自定义字段8]]></fieldDescription>
	</field>
	<field name="processStamp" class="java.lang.String">
		<fieldDescription><![CDATA[处理标记]]></fieldDescription>
	</field>
	<field name="goodsShelfNo" class="java.lang.String">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<title>
		<band height="172" splitType="Stretch">
			<componentElement>
				<reportElement style="containerStyle" stretchType="RelativeToTallestObject" mode="Opaque" x="22" y="13" width="105" height="148" backcolor="#FFFFFF" uuid="3ac4978d-b9c9-45e1-acf1-65cdae08d983">
					<propertyExpression name="net.sf.jasperreports.export.pdf.tag.table"><![CDATA[$F{code}]]></propertyExpression>
				</reportElement>
				<jr:Code128 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" orientation="90" moduleWidth="1.2" textPosition="bottom">
					<jr:codeExpression><![CDATA[$F{code}]]></jr:codeExpression>
				</jr:Code128>
			</componentElement>
			<componentElement>
				<reportElement style="containerStyle" stretchType="RelativeToTallestObject" mode="Opaque" x="132" y="14" width="98" height="148" backcolor="#FFFFFF" uuid="85dc989f-5293-48cf-a797-18d7ca6c8e2c">
					<propertyExpression name="net.sf.jasperreports.export.pdf.tag.table"><![CDATA[$F{code}]]></propertyExpression>
				</reportElement>
				<jr:Code128 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" orientation="270" moduleWidth="1.2" textPosition="bottom">
					<jr:codeExpression><![CDATA[$F{code}]]></jr:codeExpression>
				</jr:Code128>
			</componentElement>
		</band>
	</title>
</jasperReport>