jfinal 多数据源 Db+record 分页

本文介绍了一种无需Model类即可使用的Db+record数据库操作方法,并详细展示了如何配置多数据源(包括SQL Server和MySQL),同时提供了具体的分页查询实现示例。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

使用Db+record 无需Model 类无需对数据库表进行映射
多数据源配置:
public void configPlugin(Plugins me) {
//sqlserver数据库插件
DruidPlugin druidPlugin = createDruidPlugin();
me.add(druidPlugin);
// 配置ActiveRecord插件
ActiveRecordPlugin arp = new ActiveRecordPlugin(druidPlugin);
arp.setShowSql(PropKit.getBoolean("devMode", false));
arp.setDevMode(PropKit.getBoolean("devMode", false));
arp.setDialect(new  SqlServerDialect());

//mysql数据库插件
DruidPlugin druidPluginMySql = createDruidPluginForMySql();
me.add(druidPluginMySql);
// 配置ActiveRecord插件,多个数据源后面加configname;
ActiveRecordPlugin arpMysql = new ActiveRecordPlugin("mysql",druidPluginMySql);
arpMysql.setShowSql(PropKit.getBoolean("devMode", false));
arpMysql.setDevMode(PropKit.getBoolean("devMode", false));

me.add(arp);
me.add(arpMysql);
me.add(new EhCachePlugin());

// 所有配置在 MappingKit 中搞定
_MappingKit.mapping(arp);
//_MappingKitMySql.mapping(arpMysql);
}
分页:
public void getListData() {
            String title=this.getPara("title");
          Set<Condition> conditions=new HashSet<Condition>();
          if(CommonUtils.isNotEmpty(title)){
                     conditions.add(new Condition("Name",Operators.LIKE,title));
            }
           Page<Record> paginate = Db.use("mysql").paginate(getPage(), getRows(), "select *", "from country");
         this.renderJson(JqGridModelUtils.toJqGridView(paginate)); 

         //使用model分页
         //Page<Country> pageInfo=Country.dao.getPage(getPage(), this.getRows(),conditions,this.getOrderby());
 //this.renderJson(JqGridModelUtils.toJqGridView(pageInfo));
}

这是我的jrxml文件,看看这么改<?xml version="1.0" encoding="UTF-8"?> <!-- Created with Jaspersoft Studio version 6.8.0.final using JasperReports Library version 6.8.0-2ed8dfabb690ff337a5797129f2cd92902b0c87b --> <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="maintain_report1_1" pageWidth="555" pageHeight="842" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="df2a8600-fc40-4868-a3cc-a3ddb1c4ff78"> <property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/> <property name="com.jaspersoft.studio.data.sql.tables" value=""/> <subDataset name="MAINTAIN_BUILDING_LIST" uuid="2dee35d9-62ec-4f59-b3fb-a6e5a8c46b23"> <property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/> <queryString> <![CDATA[]]> </queryString> </subDataset> <parameter name="AGENCY_NAME" class="java.lang.String"/> <parameter name="AGENCY_ADDRESS" class="java.lang.String"/> <parameter name="AGENCY_RESPONSIBLE" class="java.lang.String"/> <parameter name="AGENCY_CONTACT" class="java.lang.String"/> <parameter name="BUILDINGS" class="java.util.ArrayList" nestedType="java.util.Map"/> <parameter name="MAINTAIN_SERVICE_OPINION" class="java.lang.String"/> <parameter name="SYSTEM_LIST" class="java.util.ArrayList" nestedType="java.util.Map"/> <parameter name="SYSTEM_MAP" class="java.util.Map"/> <parameter name="MAINTAIN_SERVICE_SUMMARY" class="java.lang.String"/> <parameter name="REPORT_DATE" class="java.util.Date"/> <parameter name="WATER1" class="java.util.ArrayList" nestedType="java.util.Map"/> <parameter name="WATER2" class="java.util.ArrayList" nestedType="java.util.Map"/> <parameter name="MAINTAIN_OPINION" class="java.lang.String"/> <queryString> <![CDATA[SELECT 1 FROM DUAL]]> </queryString> <field name="nameOfBuilding" class="java.lang.String"/> <field name="address" class="java.lang.String"/> <field name="remarks" class="java.lang.String"/> <field name="category" class="java.lang.String"/> <field name="areaCovered" class="java.lang.String"/> <field name="allLayer" class="java.lang.Long"/> <field name="groundLayer" class="java.lang.Integer"/> <field name="safetyExportQuantity" class="java.lang.Integer"/> <field name="numberOfFireElevator" class="java.lang.Integer"/> <field name="automaticFireFacilities" class="java.lang.String"/> <field name="builtArea" class="java.lang.String"/> <field name="buildingHeight" class="java.lang.String"/> <field name="undergroundLayer" class="java.lang.Integer"/> <field name="numberOfFireStairs" class="java.lang.Integer"/> <field name="refugeFloor" class="java.lang.String"/> <background> <band splitType="Stretch"/> </background> <columnHeader> <band height="30"> <property name="com.jaspersoft.studio.unit.height" value="px"/> </band> </columnHeader> <detail> <band height="231" splitType="Stretch"> <property name="com.jaspersoft.studio.unit.height" value="px"/> <frame> <reportElement x="30" y="0" width="490" height="231" uuid="b319fcb0-ee78-4131-9f8d-fa60e186e554"> <property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/> </reportElement> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> </box> <frame> <reportElement x="1" y="1" width="489" height="31" uuid="62bf3f9b-f6b7-4a2e-8817-8504990598e3"/> <box> <bottomPen lineWidth="1.0"/> </box> <staticText> <reportElement x="99" y="0" width="280" height="32" uuid="cc42dbd3-6130-4b43-af43-9f2f0c2a8e7c"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="宋体" size="11" isBold="false"/> </textElement> <text><![CDATA[建筑物情况表]]></text> </staticText> </frame> <frame> <reportElement x="1" y="33" width="99" height="198" uuid="27b0e4b5-9912-4c60-a329-797c759221f6"> <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.VerticalRowLayout"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <box> <leftPen lineWidth="0.0"/> </box> <frame> <reportElement x="0" y="0" width="99" height="22" uuid="1d8d9e48-e372-41da-844d-ed8a492980fc"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <staticText> <reportElement x="0" y="0" width="99" height="22" uuid="ff9be7bd-f676-4879-836a-5af36c674f6b"> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/> </reportElement> <box> <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <text><![CDATA[建筑名称]]></text> </staticText> </frame> <frame> <reportElement x="0" y="22" width="99" height="22" uuid="e22ebc2f-68e5-4df1-bb3f-0a65a3dbf2e1"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <staticText> <reportElement x="0" y="0" width="99" height="22" uuid="1a2d4ab0-d85d-49ab-876f-b0abd4d852f8"> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/> </reportElement> <box> <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <text><![CDATA[建筑地址]]></text> </staticText> </frame> <frame> <reportElement x="0" y="44" width="99" height="22" uuid="d6327515-868b-4b6e-b9ab-713c7f8cf564"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <staticText> <reportElement x="0" y="0" width="99" height="22" uuid="88688bf9-eefc-4bae-bf30-b503438452c9"> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/> </reportElement> <box> <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <text><![CDATA[建筑类别]]></text> </staticText> </frame> <frame> <reportElement x="0" y="66" width="99" height="22" uuid="7775ef22-afb3-447e-9f2b-1e81364660e7"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <staticText> <reportElement x="0" y="0" width="99" height="22" uuid="be9e3ca5-f84b-473c-836e-c941c2f5e456"> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/> </reportElement> <box> <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <text><![CDATA[占地面积(m²)]]></text> </staticText> </frame> <frame> <reportElement x="0" y="88" width="99" height="22" uuid="160b5b5b-a50a-40b1-aaef-f9858ef966cb"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <staticText> <reportElement x="0" y="1" width="99" height="22" uuid="36cc3d54-ace3-4809-95a7-346293591b39"/> <box> <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <text><![CDATA[楼层数(层)]]></text> </staticText> </frame> <frame> <reportElement x="0" y="110" width="99" height="22" uuid="7cd13ecd-1f7e-4b7b-b323-1cd3fc81b730"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <staticText> <reportElement x="0" y="0" width="99" height="22" uuid="f2cb7cc0-3acb-4045-99d9-113119065fc7"/> <box> <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <text><![CDATA[地上层层数]]></text> </staticText> </frame> <frame> <reportElement x="0" y="132" width="99" height="22" uuid="2bbdba58-faf0-433f-a4cf-11e4a3a1a773"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <staticText> <reportElement x="0" y="0" width="99" height="22" uuid="37c80bce-39af-44a7-9c3a-cee8cf76b143"> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/> </reportElement> <box> <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <text><![CDATA[安全出口数(个)]]></text> </staticText> </frame> <frame> <reportElement x="0" y="154" width="99" height="22" uuid="b311dd84-2e5d-4ab7-8d52-26d64a2ff077"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <staticText> <reportElement x="0" y="0" width="99" height="22" uuid="c978eba7-187f-4aba-ac11-1deb1a68ac98"> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/> </reportElement> <box> <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <text><![CDATA[消防电梯数(个)]]></text> </staticText> </frame> <frame> <reportElement x="0" y="176" width="99" height="22" uuid="0bd73beb-b753-4878-afff-a85e7f7f1502"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> </box> <staticText> <reportElement x="0" y="0" width="99" height="22" uuid="13cac838-37de-430e-9929-83c341988bbc"> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/> </reportElement> <box> <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <text><![CDATA[建筑描述]]></text> </staticText> </frame> </frame> <frame> <reportElement x="100" y="33" width="390" height="44" uuid="be25d075-234e-43a7-8c3b-df2bc0fdc67a"> <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.VerticalRowLayout"/> <property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <frame> <reportElement x="0" y="0" width="390" height="22" uuid="d458f9b3-3c88-4f92-a821-79efa24eeae8"/> <box> <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> </box> <textField isBlankWhenNull="true"> <reportElement x="0" y="0" width="386" height="22" uuid="edeb8a8c-b829-448a-8339-210430810bcd"> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <box padding="5"/> <textElement verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <textFieldExpression><![CDATA[$F{nameOfBuilding}]]></textFieldExpression> </textField> </frame> <frame> <reportElement x="0" y="22" width="390" height="22" uuid="ee99edd8-a8da-4a0e-b7df-7fe78b92dadf"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> </box> <textField isBlankWhenNull="true"> <reportElement x="0" y="0" width="386" height="22" uuid="f285e835-6097-4f71-973a-73ed6d830243"> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <box padding="5"/> <textElement verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <textFieldExpression><![CDATA[$F{address}]]></textFieldExpression> </textField> </frame> </frame> <frame> <reportElement x="100" y="77" width="389" height="132" uuid="5fc57400-6154-4805-adda-f76de37251c9"> <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.HorizontalRowLayout"/> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/> </reportElement> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <frame> <reportElement x="0" y="0" width="131" height="132" uuid="de4cd317-daa3-4f98-bdc6-0215259ca7cd"> <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.VerticalRowLayout"/> </reportElement> <box> <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> </box> <frame> <reportElement x="0" y="0" width="131" height="22" uuid="e85f42ba-0b4d-473f-b2b4-ed089e9df37b"/> <box> <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> </box> <textField isBlankWhenNull="true"> <reportElement x="0" y="0" width="130" height="22" uuid="b0e2ef6d-4239-4ebf-b830-94de2f4901c5"> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <box padding="5"/> <textElement textAlignment="Left" verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <textFieldExpression><![CDATA[$F{category}]]></textFieldExpression> </textField> </frame> <frame> <reportElement x="0" y="22" width="131" height="22" uuid="a9cee52f-a10f-4a51-ace4-2e917f77a7e6"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> </box> <textField isBlankWhenNull="true"> <reportElement x="0" y="0" width="130" height="22" uuid="7e867334-27ba-4e7e-b863-beb4ba848c46"> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <box padding="5"/> <textElement verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <textFieldExpression><![CDATA[$F{areaCovered}]]></textFieldExpression> </textField> </frame> <frame> <reportElement x="0" y="44" width="131" height="22" uuid="cb9d4cb7-99fc-49a2-b52b-408a0989f049"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> </box> <textField isBlankWhenNull="true"> <reportElement x="0" y="0" width="130" height="22" uuid="17cdc507-b8ef-4192-8c11-bf1793a5fd6e"> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <box padding="5"/> <textElement verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <textFieldExpression><![CDATA[$F{allLayer}]]></textFieldExpression> </textField> </frame> <frame> <reportElement x="0" y="66" width="131" height="22" uuid="2bb88fa4-6633-4a45-a79d-6801e2c3c898"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> </box> <textField isBlankWhenNull="true"> <reportElement x="0" y="0" width="130" height="22" uuid="c34debd8-eaff-435f-8cf2-9a846f48705e"> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <box leftPadding="5"/> <textElement verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <textFieldExpression><![CDATA[$F{groundLayer}]]></textFieldExpression> </textField> </frame> <frame> <reportElement x="0" y="88" width="131" height="22" uuid="c11b5131-0524-4fe0-b39b-fc54f9362e41"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> </box> <textField isBlankWhenNull="true"> <reportElement x="0" y="0" width="130" height="22" uuid="0cf5a6bf-409f-4a07-b8b4-0db157cf6f9d"> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <box leftPadding="5"/> <textElement verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <textFieldExpression><![CDATA[$F{safetyExportQuantity}]]></textFieldExpression> </textField> </frame> <frame> <reportElement x="0" y="110" width="131" height="22" uuid="69ddeed1-d1e1-4e4e-bd8c-11929051b803"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> </box> <textField isBlankWhenNull="true"> <reportElement x="0" y="0" width="130" height="22" uuid="65727a37-7015-4a95-9d6a-ae1397715ec8"> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <box leftPadding="5"/> <textElement verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <textFieldExpression><![CDATA[$F{numberOfFireElevator}]]></textFieldExpression> </textField> </frame> </frame> <frame> <reportElement x="131" y="0" width="129" height="132" uuid="a4baf34b-efa8-4cf7-9a39-ec89b9669e89"> <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.VerticalRowLayout"/> </reportElement> <box> <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> </box> <frame> <reportElement x="0" y="0" width="129" height="22" uuid="4862e8a4-4585-4e1e-b9d4-29cb64278a23"/> <box> <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> </box> <staticText> <reportElement x="0" y="0" width="128" height="22" uuid="fc48f980-8b45-454f-855d-72c98053cebe"> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/> </reportElement> <box> <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <text><![CDATA[自动消防设施]]></text> </staticText> </frame> <frame> <reportElement x="0" y="22" width="129" height="22" uuid="58842b41-9919-4a52-bb90-87fe3e0fedba"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> </box> <staticText> <reportElement x="0" y="0" width="128" height="22" uuid="2b1f25a2-2142-4985-8c27-75f422d27b1f"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <text><![CDATA[建筑面积(m²)]]></text> </staticText> </frame> <frame> <reportElement x="0" y="44" width="129" height="22" uuid="eabc92bb-c14d-4f9e-962b-613800b47b73"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> </box> <staticText> <reportElement x="0" y="0" width="128" height="22" uuid="d93623fa-40ab-429a-af0b-151e970789c4"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <text><![CDATA[建筑高度(m)]]></text> </staticText> </frame> <frame> <reportElement x="0" y="66" width="129" height="22" uuid="3817c8a7-2f9b-49fb-b70b-d0c7466937c1"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> </box> <staticText> <reportElement x="0" y="0" width="128" height="22" uuid="b1ae3eb6-631c-49e9-9c6b-c23711088562"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <text><![CDATA[地下层层数]]></text> </staticText> </frame> <frame> <reportElement x="0" y="88" width="129" height="22" uuid="a37c5795-8e7e-44ac-8182-bdb77e217ee7"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> </box> <staticText> <reportElement x="0" y="0" width="128" height="22" uuid="a68f105f-3331-4a7f-b699-f019cdb20a8b"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <text><![CDATA[疏散楼梯数(个)]]></text> </staticText> </frame> <frame> <reportElement x="0" y="110" width="129" height="22" uuid="28d475ce-f4de-4963-9863-940c5aee856d"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> </box> <staticText> <reportElement x="0" y="0" width="128" height="22" uuid="3b421709-476e-4557-8817-f73696430c2c"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <text><![CDATA[避难层位置]]></text> </staticText> </frame> </frame> <frame> <reportElement x="260" y="0" width="129" height="132" uuid="d0f6c9c8-6171-4ff8-a920-07170b815504"> <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.VerticalRowLayout"/> </reportElement> <box> <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <frame> <reportElement x="0" y="0" width="129" height="22" uuid="ee086f4a-2915-4553-8ebe-80a06d28e430"/> <box> <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textField isBlankWhenNull="true"> <reportElement x="0" y="0" width="128" height="22" uuid="976b4805-6425-490e-b238-ddf6d7a84f41"> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/> </reportElement> <box padding="5"/> <textElement verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <textFieldExpression><![CDATA[$F{automaticFireFacilities}]]></textFieldExpression> </textField> </frame> <frame> <reportElement x="0" y="22" width="129" height="22" uuid="8533c517-fa3c-46e5-b3a0-7b0d6e0df36c"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textField isBlankWhenNull="true"> <reportElement x="0" y="0" width="128" height="22" uuid="27f89b5a-21a5-4ae7-8700-3c72b840f32b"> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/> </reportElement> <box padding="5"/> <textElement verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <textFieldExpression><![CDATA[$F{builtArea}]]></textFieldExpression> </textField> </frame> <frame> <reportElement x="0" y="44" width="129" height="22" uuid="303f3e90-0881-4e22-86f6-fc8a0e3d15eb"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textField isBlankWhenNull="true"> <reportElement x="0" y="0" width="128" height="22" uuid="17d2b13a-a3b8-454e-a532-c41ea65b8b1a"> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/> </reportElement> <box padding="5"/> <textElement verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <textFieldExpression><![CDATA[$F{buildingHeight}]]></textFieldExpression> </textField> </frame> <frame> <reportElement x="0" y="66" width="129" height="22" uuid="a870f1b6-b009-4a92-9ed8-b7c661d11b10"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textField isBlankWhenNull="true"> <reportElement x="0" y="0" width="128" height="22" uuid="ea6da623-aae6-4947-9576-56c9b5363662"> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/> </reportElement> <box leftPadding="5"/> <textElement verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <textFieldExpression><![CDATA[$F{undergroundLayer}]]></textFieldExpression> </textField> </frame> <frame> <reportElement x="0" y="88" width="129" height="22" uuid="e566cdf2-7103-4e95-a39d-07deb88c319c"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textField isBlankWhenNull="true"> <reportElement x="0" y="0" width="128" height="22" uuid="56d35a8b-5e08-4a36-99f2-598e55ffbe64"> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/> </reportElement> <box leftPadding="5"/> <textElement verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <textFieldExpression><![CDATA[$F{numberOfFireStairs}]]></textFieldExpression> </textField> </frame> <frame> <reportElement x="0" y="110" width="129" height="22" uuid="894703e9-e7ff-49eb-99d7-a585e531fb93"/> <box> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textField isBlankWhenNull="true"> <reportElement x="0" y="0" width="128" height="22" uuid="d5b029a3-b95c-4549-994b-09323a8e29e6"> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/> </reportElement> <box leftPadding="5"/> <textElement verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <textFieldExpression><![CDATA[$F{refugeFloor}]]></textFieldExpression> </textField> </frame> </frame> </frame> <frame> <reportElement x="101" y="210" width="389" height="22" uuid="20b0f888-08b5-46e0-887e-62329860748a"> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <textField isBlankWhenNull="true"> <reportElement x="0" y="-1" width="389" height="22" uuid="a4c4c783-5fc5-4f36-8458-8693453916f8"> <property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/> </reportElement> <box leftPadding="5"> <topPen lineWidth="1.0"/> </box> <textElement textAlignment="Left" verticalAlignment="Middle"> <font fontName="宋体" size="10.5"/> </textElement> <textFieldExpression><![CDATA[$F{remarks}]]></textFieldExpression> </textField> </frame> </frame> </band> </detail> </jasperReport>
最新发布
06-25
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值