feat: 添加Qwen3嵌入模型及JRXML报告相关文件
添加Qwen3-4B嵌入模型配置文件及权重文件 添加多个JRXML报告的数据查询和字段定义文件 添加PdfEncryptReport.jrxml示例报告文件
This commit is contained in:
@@ -0,0 +1,116 @@
|
||||
<jasperReport name="NorthwindOrdersReport" language="java" pageWidth="595" pageHeight="842" columnWidth="515" leftMargin="40" rightMargin="40" topMargin="50" bottomMargin="50" uuid="bbe115b5-a5a0-4b39-9b73-7092dc59ab6d">
|
||||
<property name="net.sf.jasperreports.data.adapter" value="data/northwindDataAdapter.jrdax"/>
|
||||
<style name="Sans_Normal" default="true" fontName="DejaVu Sans" fontSize="12.0" bold="false" italic="false" underline="false" strikeThrough="false"/>
|
||||
<style name="Sans_Normal_8" style="Sans_Normal" fontSize="8.0"/>
|
||||
<style name="Sans_Bold" fontName="DejaVu Sans" fontSize="12.0" bold="true" italic="false" underline="false" strikeThrough="false"/>
|
||||
<style name="Sans_Bold_8" style="Sans_Bold" fontSize="8.0"/>
|
||||
<query language="jsonql"><![CDATA[..Orders(@size > 1).*]]></query>
|
||||
<field name="Id" class="java.lang.String">
|
||||
<property name="net.sf.jasperreports.jsonql.field.expression" value="OrderID"/>
|
||||
</field>
|
||||
<field name="OrderDate" class="java.util.Date">
|
||||
<property name="net.sf.jasperreports.jsonql.field.expression" value="OrderDate"/>
|
||||
</field>
|
||||
<field name="Freight" class="java.lang.Float">
|
||||
<property name="net.sf.jasperreports.jsonql.field.expression" value="Freight"/>
|
||||
</field>
|
||||
<field name="ShipCity" class="java.lang.String">
|
||||
<description><![CDATA[Go up by two levels then select City]]></description>
|
||||
<property name="net.sf.jasperreports.jsonql.field.expression" value="^{2}.City"/>
|
||||
</field>
|
||||
<field name="CustomerID" class="java.lang.String">
|
||||
<description><![CDATA[Go up by two levels then select CustomerID]]></description>
|
||||
<property name="net.sf.jasperreports.jsonql.field.expression" value="^{2}.CustomerID"/>
|
||||
</field>
|
||||
<field name="CompanyName" class="java.lang.String">
|
||||
<description><![CDATA[Go up twice by 1 level then select CompanyName]]></description>
|
||||
<propertyExpression name="net.sf.jasperreports.jsonql.field.expression"><![CDATA["^^[\"Company Name\"]"]]></propertyExpression>
|
||||
</field>
|
||||
<variable name="OrderNumber" resetType="Group" calculation="Count" resetGroup="CustomerIdGroup" class="java.lang.Integer">
|
||||
<expression><![CDATA[Boolean.TRUE]]></expression>
|
||||
</variable>
|
||||
<variable name="TotalFreight" resetType="Group" calculation="Sum" resetGroup="CustomerIdGroup" class="java.lang.Float">
|
||||
<expression><![CDATA[$F{Freight}]]></expression>
|
||||
</variable>
|
||||
<group name="CustomerIdGroup" minHeightToStartNewPage="60">
|
||||
<expression><![CDATA[$F{CustomerID}]]></expression>
|
||||
<groupHeader>
|
||||
<band height="21">
|
||||
<element kind="textField" uuid="3ba60404-f3fd-4ed7-a6b2-c9498e15ff84" mode="Opaque" x="0" y="5" width="100" height="15" printWhenDetailOverflows="true" style="Sans_Bold">
|
||||
<expression><![CDATA[$F{CustomerID}]]></expression>
|
||||
</element>
|
||||
<element kind="textField" uuid="9a4a0a5d-4b75-4d2b-a647-aa495101df48" x="109" y="5" width="291" height="15" printWhenDetailOverflows="true" style="Sans_Bold">
|
||||
<expression><![CDATA[$F{CompanyName}]]></expression>
|
||||
</element>
|
||||
<element kind="line" uuid="6d76c22c-329f-4e77-a886-8580d3cb6bc1" x="0" y="20" width="515" height="1" printWhenDetailOverflows="true"/>
|
||||
</band>
|
||||
<band height="14">
|
||||
<element kind="frame" uuid="e9af134f-31eb-48be-bd9b-292188f2554f" mode="Opaque" x="0" y="2" width="356" height="10" forecolor="#CCFFFF" backcolor="#CCFFFF">
|
||||
<element kind="staticText" uuid="62e5e770-7b05-4ecd-a254-ab0c7f643a37" mode="Opaque" x="0" y="0" width="48" height="10" backcolor="#CCFFFF" hTextAlign="Right" style="Sans_Bold_8">
|
||||
<text><![CDATA[ID]]></text>
|
||||
</element>
|
||||
<element kind="staticText" uuid="c472f825-47f4-4e16-a782-cc4b02572cb0" mode="Opaque" x="54" y="0" width="87" height="10" backcolor="#CCFFFF" hTextAlign="Center" style="Sans_Bold_8">
|
||||
<text><![CDATA[Order Date]]></text>
|
||||
</element>
|
||||
<element kind="staticText" uuid="89b5edba-1606-4f5d-89cb-144042c1fcdd" mode="Opaque" x="146" y="0" width="108" height="10" backcolor="#CCFFFF" style="Sans_Bold_8">
|
||||
<text><![CDATA[Ship City]]></text>
|
||||
</element>
|
||||
<element kind="staticText" uuid="e7c6fbe3-ecb2-4c65-83d6-7c813448cec6" mode="Opaque" x="259" y="0" width="92" height="10" backcolor="#CCFFFF" hTextAlign="Right" style="Sans_Bold_8">
|
||||
<text><![CDATA[Freight]]></text>
|
||||
</element>
|
||||
</element>
|
||||
</band>
|
||||
</groupHeader>
|
||||
<groupFooter>
|
||||
<band height="14">
|
||||
<element kind="frame" uuid="084cfbb4-f390-4302-8bf5-2e65b34829b8" mode="Opaque" x="0" y="2" width="356" height="10" forecolor="#33CCCC" backcolor="#33CCCC">
|
||||
<element kind="staticText" uuid="06753d49-aed5-46c8-be06-b107f81d7c2f" mode="Opaque" x="160" y="0" width="67" height="10" backcolor="#33CCCC" hTextAlign="Right" style="Sans_Bold_8">
|
||||
<text><![CDATA[Total :]]></text>
|
||||
</element>
|
||||
<element kind="textField" uuid="d8edf4da-1e47-45ec-bbf3-f63b3bf0b93b" mode="Opaque" x="227" y="0" width="27" height="10" backcolor="#33CCCC" hTextAlign="Right" style="Sans_Bold_8">
|
||||
<expression><![CDATA[$V{OrderNumber}]]></expression>
|
||||
</element>
|
||||
<element kind="textField" uuid="a713b487-68a2-4391-a231-9bf9aa740090" mode="Opaque" x="259" y="0" width="92" height="10" backcolor="#33CCCC" pattern="¤ #,##0.00" hTextAlign="Right" style="Sans_Bold_8">
|
||||
<expression><![CDATA[$V{TotalFreight}]]></expression>
|
||||
</element>
|
||||
</element>
|
||||
</band>
|
||||
</groupFooter>
|
||||
</group>
|
||||
<title height="50">
|
||||
<element kind="line" uuid="fc148b4e-50df-4a12-aa14-8505a4cfa6e1" x="0" y="0" width="515" height="1"/>
|
||||
<element kind="staticText" uuid="5bf7651c-cd6b-4eaf-b65a-1413d60faab0" x="0" y="10" width="515" height="30" fontSize="22.0" hTextAlign="Center" style="Sans_Normal">
|
||||
<text><![CDATA[Customer Orders Report]]></text>
|
||||
</element>
|
||||
</title>
|
||||
<pageHeader height="21">
|
||||
<element kind="staticText" uuid="da0f1cad-f552-424b-bf19-b41cabbfa4ac" mode="Opaque" x="0" y="5" width="515" height="15" forecolor="#FFFFFF" backcolor="#333333" style="Sans_Bold">
|
||||
<text><![CDATA[Customer Order List]]></text>
|
||||
</element>
|
||||
</pageHeader>
|
||||
<detail>
|
||||
<band height="14">
|
||||
<element kind="textField" uuid="ec54687d-3c95-4647-9db5-fa71a6e81009" x="0" y="2" width="51" height="10" hTextAlign="Right" style="Sans_Normal_8">
|
||||
<expression><![CDATA[$F{Id}]]></expression>
|
||||
</element>
|
||||
<element kind="textField" uuid="a112ba7b-c321-467c-91ec-ffb513c23338" positionType="Float" x="54" y="2" width="87" height="10" textAdjust="StretchHeight" pattern="yyyy, MMM dd" hTextAlign="Center" style="Sans_Normal_8">
|
||||
<expression><![CDATA[$F{OrderDate}]]></expression>
|
||||
</element>
|
||||
<element kind="textField" uuid="6a61edb3-239e-4791-a046-a6459343ac07" positionType="Float" x="146" y="2" width="108" height="10" textAdjust="StretchHeight" style="Sans_Normal_8">
|
||||
<expression><![CDATA[$F{ShipCity}]]></expression>
|
||||
</element>
|
||||
<element kind="textField" uuid="61a8a117-6a43-46a7-9b96-10c5beb578ab" positionType="Float" x="259" y="2" width="92" height="10" textAdjust="StretchHeight" pattern="¤ #,##0.00" hTextAlign="Right" style="Sans_Normal_8">
|
||||
<expression><![CDATA[$F{Freight}]]></expression>
|
||||
</element>
|
||||
</band>
|
||||
</detail>
|
||||
<pageFooter height="40">
|
||||
<element kind="line" uuid="1371178a-a590-4616-affe-a4e1a24bcc84" x="0" y="10" width="515" height="1"/>
|
||||
<element kind="textField" uuid="3eb302d8-0855-4f82-a666-3c9628dce372" x="200" y="20" width="80" height="15" hTextAlign="Right">
|
||||
<expression><![CDATA["Page " + String.valueOf($V{PAGE_NUMBER}) + " of"]]></expression>
|
||||
</element>
|
||||
<element kind="textField" uuid="86f46fca-dbcb-4a60-b2f7-f8da6a4224f7" x="280" y="20" width="75" height="15" evaluationTime="Report">
|
||||
<expression><![CDATA[" " + String.valueOf($V{PAGE_NUMBER})]]></expression>
|
||||
</element>
|
||||
</pageFooter>
|
||||
</jasperReport>
|
||||
Reference in New Issue
Block a user