apzl_leasing/报表/汽车类报表一/五级分类报表_汽车.xml
2019-12-24 15:17:14 +08:00

243 lines
10 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TenwaReport>
<datasources>
<datasource>
<id>2c9023815726a036015726a496b00001</id>
<dataSourceName>eleasing_mysql</dataSourceName>
<dataSourceType>SPRING</dataSourceType>
<jndi>dataSourceJDBC</jndi>
<url></url>
<username></username>
<driverName></driverName>
<password></password>
<dialect>com.tenwa.report.query.dialect.MysqlDialect</dialect>
<dialectName>Mysql</dialectName>
</datasource>
</datasources>
<reports>
<report>
<id>2c9c81b56552c949016555c356990001</id>
<name>五级分类报表_汽车</name>
<enname>FIVE_GRADE</enname>
<code>REPORT_CODE_1534742189719</code>
<isActived>true</isActived>
<position>19</position>
<reportType>REPORT</reportType>
<parentReport>2c9c81b7685efbbc016931c675a50006</parentReport>
<children/>
<layouts>
<layout>2c9c81b56552c949016555ec8d45000d</layout>
</layouts>
</report>
</reports>
<tables>
<table>
<id>2c9c81b56552c949016555c69e2e0002</id>
<name>五级分类报表_汽车</name>
<enname>FIVE_GRADE</enname>
<reportDataSource>2c9023815726a036015726a496b00001</reportDataSource>
<queryType>SIMPLESQL</queryType>
<sql>SELECT
lci.CONTRACT_NUMBER,
lci.PROJECT_NAME,
ci.customername,
getItemName ('CertType', ci.certtype) certtype,
ci.certid,
lccs.FIVE_GRADE_DATE,
CASE lccs.FIVE_GRADE WHEN 'ClassifyResult01' THEN '正常' WHEN 'ClassifyResult02' THEN '关注' WHEN 'ClassifyResult03' THEN '次级' WHEN 'ClassifyResult04' THEN '可疑' WHEN 'ClassifyResult05' THEN '损失' END AS FIVE_GRADE
FROM
LC_CALC_CONDITION_STATUS lccs
LEFT JOIN LB_CONTRACT_INFO lci
ON lci.id = lccs.CONTRACT_ID
LEFT JOIN LB_UNION_LESSEE lul
ON lul.CONTRACT_ID = lccs.CONTRACT_ID
AND lul.IS_MAIN = 'Y'
LEFT JOIN CUSTOMER_INFO ci
ON lul.CUSTOMER_ID = ci.customerid
WHERE lccs.PLAN_STATUS &lt; 100
and lci.businesstype='1'</sql>
<sqlParamValue></sqlParamValue>
<columns>
<column>
<id>2c9c81b56552c949016555c69e2e0007</id>
<name>CONTRACT_NUMBER</name>
<columnDataType>STRING</columnDataType>
<formater></formater>
<label>合同编号</label>
<enLabel>CONTRACT_NUMBER</enLabel>
<width>100</width>
<position>7</position>
<isVisible>true</isVisible>
<color></color>
<isCountTotal>false</isCountTotal>
<isCountSubTotal>false</isCountSubTotal>
<isGroupby>false</isGroupby>
<isMerge>false</isMerge>
<action></action>
<actionParamters></actionParamters>
<actionCondition></actionCondition>
</column>
<column>
<id>2c9c81b56552c949016555c69e2e0003</id>
<name>PROJECT_NAME</name>
<columnDataType>STRING</columnDataType>
<formater></formater>
<label>业务名称</label>
<enLabel>PROJECT_NAME</enLabel>
<width>100</width>
<position>8</position>
<isVisible>true</isVisible>
<color></color>
<isCountTotal>false</isCountTotal>
<isCountSubTotal>false</isCountSubTotal>
<isGroupby>false</isGroupby>
<isMerge>false</isMerge>
<action></action>
<actionParamters></actionParamters>
<actionCondition></actionCondition>
</column>
<column>
<id>2c9c81b56552c949016555c69e2e0008</id>
<name>customername</name>
<columnDataType>STRING</columnDataType>
<formater></formater>
<label>客户名称</label>
<enLabel>customername</enLabel>
<width>100</width>
<position>9</position>
<isVisible>true</isVisible>
<color></color>
<isCountTotal>false</isCountTotal>
<isCountSubTotal>false</isCountSubTotal>
<isGroupby>false</isGroupby>
<isMerge>false</isMerge>
<action></action>
<actionParamters></actionParamters>
<actionCondition></actionCondition>
</column>
<column>
<id>2c9c81b56552c949016555c69e2e0004</id>
<name>certtype</name>
<columnDataType>STRING</columnDataType>
<formater></formater>
<label>证件类型</label>
<enLabel>certtype</enLabel>
<width>100</width>
<position>10</position>
<isVisible>true</isVisible>
<color></color>
<isCountTotal>false</isCountTotal>
<isCountSubTotal>false</isCountSubTotal>
<isGroupby>false</isGroupby>
<isMerge>false</isMerge>
<action></action>
<actionParamters></actionParamters>
<actionCondition></actionCondition>
</column>
<column>
<id>2c9c81b56552c949016555c69e2e000a</id>
<name>certid</name>
<columnDataType>STRING</columnDataType>
<formater></formater>
<label>证件编号</label>
<enLabel>certid</enLabel>
<width>100</width>
<position>11</position>
<isVisible>true</isVisible>
<color></color>
<isCountTotal>false</isCountTotal>
<isCountSubTotal>false</isCountSubTotal>
<isGroupby>false</isGroupby>
<isMerge>false</isMerge>
<action></action>
<actionParamters></actionParamters>
<actionCondition></actionCondition>
</column>
<column>
<id>2c9c81b56552c949016555c69e2e0005</id>
<name>FIVE_GRADE_DATE</name>
<columnDataType>STRING</columnDataType>
<formater></formater>
<label>五级分类时间</label>
<enLabel>FIVE_GRADE_DATE</enLabel>
<width>100</width>
<position>12</position>
<isVisible>true</isVisible>
<color></color>
<isCountTotal>false</isCountTotal>
<isCountSubTotal>false</isCountSubTotal>
<isGroupby>false</isGroupby>
<isMerge>false</isMerge>
<action></action>
<actionParamters></actionParamters>
<actionCondition></actionCondition>
</column>
<column>
<id>2c9c81b56552c949016555c69e2e0006</id>
<name>FIVE_GRADE</name>
<columnDataType>STRING</columnDataType>
<formater></formater>
<label>五级分类</label>
<enLabel>FIVE_GRADE</enLabel>
<width>100</width>
<position>13</position>
<isVisible>true</isVisible>
<color></color>
<isCountTotal>false</isCountTotal>
<isCountSubTotal>false</isCountSubTotal>
<isGroupby>false</isGroupby>
<isMerge>false</isMerge>
<action></action>
<actionParamters></actionParamters>
<actionCondition></actionCondition>
</column>
</columns>
<controls/>
<searchs/>
<searchExpress></searchExpress>
<filters>
<filter>
<id>2c9c81b56552c949016555e9f5bd000b</id>
<name>CONTRACT_NUMBER</name>
<enname>CONTRACT_NUMBER</enname>
<label>合同编号</label>
<filterType>FILTER</filterType>
<dbType>STRING</dbType>
<htmlType>TEXT</htmlType>
<position>0</position>
</filter>
<filter>
<id>2c9c81b56552c949016555e9f5bd000c</id>
<name>customername</name>
<enname>customername</enname>
<label>客户名称</label>
<filterType>FILTER</filterType>
<dbType>STRING</dbType>
<htmlType>TEXT</htmlType>
<position>1</position>
</filter>
</filters>
<filterExpress></filterExpress>
<pageSize>20</pageSize>
<showRowNumber>false</showRowNumber>
<showTotalTitle>false</showTotalTitle>
<isScale>false</isScale>
<isCache>false</isCache>
<isExcel>false</isExcel>
</table>
</tables>
<charts/>
<pages/>
<layouts>
<layout>
<id>2c9c81b56552c949016555ec8d45000d</id>
<divHeight>0</divHeight>
<divWidth>0</divWidth>
<position>0</position>
<contentId>TABLE#2c9c81b56552c949016555c69e2e0002</contentId>
<report>2c9c81b56552c949016555c356990001</report>
<contentType>TABLE</contentType>
</layout>
</layouts>
</TenwaReport>