container.jrxml 5.97 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="2.5937424601000028"/>
    <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" x="-4" y="10" width="112" height="162" uuid="3ac4978d-b9c9-45e1-acf1-65cdae08d983">
                    <property name="net.sf.jasperreports.export.pdf.tag.table"/>
                </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.6" textPosition="bottom">
                    <jr:codeExpression><![CDATA[$F{code}]]></jr:codeExpression>
                </jr:Code128>
            </componentElement>
            <componentElement>
                <reportElement style="containerStyle" x="121" y="10" width="112" height="162" uuid="d1d3d87e-a617-4421-aead-149e78b29970"/>
                <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.6" textPosition="bottom">
                    <jr:codeExpression><![CDATA[$F{code}]]></jr:codeExpression>
                </jr:Code128>
            </componentElement>
        </band>
    </title>
</jasperReport>