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>2c9c81b5661ee0f901667ac6285d0159</id>
<name>五级分类报表_汽车类传统</name>
<enname>FIVE_GRADE</enname>
<code>REPORT_CODE_1539658098781</code>
<isActived>true</isActived>
<position>33</position>
<reportType>REPORT</reportType>
<parentReport>2c9c81b7685efbbc016931c77d170008</parentReport>
<children/>
<layouts>
<layout>2c9c81b5661ee0f901667ac73d6c0162</layout>
</layouts>
</report>
</reports>
<tables>
<table>
<id>2c9c81b5661ee0f901667ac72535015a</id>
<name>五级分类报表_汽车类传统</name>
<enname>FIVE_GRADE</enname>
<reportDataSource>2c9023815726a036015726a496b00001</reportDataSource>
<queryType>COMPLEXSQL</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='3'</sql>
<sqlParamValue></sqlParamValue>
<columns>
<column>
<id>2c9c81b5661ee0f901667ac725360160</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>2c9c81b5661ee0f901667ac72535015b</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>2c9c81b5661ee0f901667ac72535015c</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>2c9c81b5661ee0f901667ac72536015d</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>2c9c81b5661ee0f901667ac72536015e</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>2c9c81b5661ee0f901667ac725360161</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>2c9c81b5661ee0f901667ac72536015f</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>2c9c81b5661ee0f901667ad1cfc7016f</id>
<name>customername</name>
<enname>customername</enname>
<label>客户名称</label>
<filterType>FILTER</filterType>
<dbType>STRING</dbType>
<htmlType>TEXT</htmlType>
<position>0</position>
</filter>
<filter>
<id>2c9c81b5661ee0f901667ad1cfc80170</id>
<name>CONTRACT_NUMBER</name>
<enname>CONTRACT_NUMBER</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>2c9c81b5661ee0f901667ac73d6c0162</id>
<divHeight>0</divHeight>
<divWidth>0</divWidth>
<position>0</position>
<contentId>TABLE#2c9c81b5661ee0f901667ac72535015a</contentId>
<report>2c9c81b5661ee0f901667ac6285d0159</report>
<contentType>TABLE</contentType>
</layout>
</layouts>
</TenwaReport>