apzl_leasing/报表/经销商分类报表/银行还款明细表.xml
2019-12-24 15:17:14 +08:00

342 lines
14 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>402882335e316a9e015e31a2f5f20003</id>
<name>银行还款明细表</name>
<enname>bank_repyment_details</enname>
<code>REPORT_CODE_1504071316973</code>
<isActived>true</isActived>
<position>4</position>
<reportType>REPORT</reportType>
<parentReport>2c9c81b7685efbbc016931cef7cd000c</parentReport>
<children/>
<layouts>
<layout>402882335e316a9e015e31f844ca0005</layout>
</layouts>
</report>
</reports>
<tables>
<table>
<id>402882335e316a9e015e31a3d78d0004</id>
<name>银行还款明细表</name>
<enname>bank_repayment_details</enname>
<reportDataSource>2c9023815726a036015726a496b00001</reportDataSource>
<queryType>COMPLEXSQL</queryType>
<sql>SELECT&#xD;
lbi.bill_id,&#xD;
lci.contract_no,&#xD;
ll.id AS lendid,&#xD;
ll.lender,&#xD;
lfp.plan_date,&#xD;
lfp.rent,&#xD;
lfp.corpus,&#xD;
lfp.interest,&#xD;
IFNULL(lip.interest_days,'') AS interest_days,&#xD;
CASE vlfhl.hirestatus WHEN '已核销' THEN 0.00 ELSE vlfhl.rent END AS overrent,&#xD;
vlfhl.hirestatus&#xD;
FROM &#xD;
LOAN_FUND_PLAN lfp&#xD;
LEFT JOIN LOAN_INTEREST_PLAN lip ON lip.bill_id=lfp.bill_id AND lfp.plan_date=lip.plan_date&#xD;
LEFT JOIN loan_bill_info lbi ON lbi.id=lfp.bill_id &#xD;
LEFT JOIN LOAN_CONTRACT_INFO lci ON lci.id=lbi.contract_id&#xD;
LEFT JOIN LOAN_LENDER ll ON ll.id=lbi.lender_id&#xD;
LEFT JOIN vi_loan_fund_hire_list vlfhl ON lfp.id = vlfhl.id&#xD;
WHERE lfp.rent&gt;=0&#xD;
ORDER BY lbi.bill_id,lfp.plan_date &#xD;
</sql>
<sqlParamValue></sqlParamValue>
<columns>
<column>
<id>402882335e316a9e015e31f8e4b70009</id>
<name>bill_id</name>
<columnDataType>STRING</columnDataType>
<formater></formater>
<label>提款单号</label>
<enLabel>bill_id</enLabel>
<width>100</width>
<position>0</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>402882335e316a9e015e31f8e4b8000e</id>
<name>contract_no</name>
<columnDataType>STRING</columnDataType>
<formater></formater>
<label>借款合同号</label>
<enLabel>contract_no</enLabel>
<width>100</width>
<position>1</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>402882335e316a9e015e31f8e4b70008</id>
<name>lendid</name>
<columnDataType>STRING</columnDataType>
<formater></formater>
<label>lendid</label>
<enLabel>lendid</enLabel>
<width>100</width>
<position>2</position>
<isVisible>false</isVisible>
<color></color>
<isCountTotal>false</isCountTotal>
<isCountSubTotal>false</isCountSubTotal>
<isGroupby>false</isGroupby>
<isMerge>false</isMerge>
<action></action>
<actionParamters></actionParamters>
<actionCondition></actionCondition>
</column>
<column>
<id>402882335e316a9e015e31f8e4b8000f</id>
<name>lender</name>
<columnDataType>STRING</columnDataType>
<formater></formater>
<label>贷款人</label>
<enLabel>lender</enLabel>
<width>100</width>
<position>3</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>402882335e316a9e015e31f8e4b70007</id>
<name>plan_date</name>
<columnDataType>STRING</columnDataType>
<formater></formater>
<label>还款日期</label>
<enLabel>plan_date</enLabel>
<width>100</width>
<position>4</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>402882335e316a9e015e31f8e4b8000c</id>
<name>rent</name>
<columnDataType>NUMBER</columnDataType>
<formater>#,##0.00</formater>
<label>还款额</label>
<enLabel>rent</enLabel>
<width>100</width>
<position>5</position>
<isVisible>true</isVisible>
<color></color>
<isCountTotal>false</isCountTotal>
<isCountSubTotal>false</isCountSubTotal>
<isGroupby>false</isGroupby>
<isMerge>false</isMerge>
<alignType>RIGHT</alignType>
<action></action>
<actionParamters></actionParamters>
<actionCondition></actionCondition>
</column>
<column>
<id>402882335e316a9e015e31f8e4b8000b</id>
<name>corpus</name>
<columnDataType>NUMBER</columnDataType>
<formater>#,##0.00</formater>
<label>还款本金</label>
<enLabel>corpus</enLabel>
<width>100</width>
<position>6</position>
<isVisible>true</isVisible>
<color></color>
<isCountTotal>false</isCountTotal>
<isCountSubTotal>false</isCountSubTotal>
<isGroupby>false</isGroupby>
<isMerge>false</isMerge>
<alignType>RIGHT</alignType>
<action></action>
<actionParamters></actionParamters>
<actionCondition></actionCondition>
</column>
<column>
<id>402882335e316a9e015e31f8e4b8000d</id>
<name>interest</name>
<columnDataType>NUMBER</columnDataType>
<formater>#,##0.00</formater>
<label>还款利息</label>
<enLabel>interest</enLabel>
<width>100</width>
<position>7</position>
<isVisible>true</isVisible>
<color></color>
<isCountTotal>false</isCountTotal>
<isCountSubTotal>false</isCountSubTotal>
<isGroupby>false</isGroupby>
<isMerge>false</isMerge>
<alignType>RIGHT</alignType>
<action></action>
<actionParamters></actionParamters>
<actionCondition></actionCondition>
</column>
<column>
<id>402882335e316a9e015e322eb0770017</id>
<name>interest_days</name>
<columnDataType>NUMBER</columnDataType>
<formater></formater>
<label>计息天数</label>
<enLabel>interest_days</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>402882335e4befbc015e4c2800de0001</id>
<name>overrent</name>
<columnDataType>NUMBER</columnDataType>
<formater>#,##0.00</formater>
<label>剩余本息</label>
<enLabel>overrent</enLabel>
<width>100</width>
<position>9</position>
<isVisible>true</isVisible>
<color></color>
<isCountTotal>false</isCountTotal>
<isCountSubTotal>false</isCountSubTotal>
<isGroupby>false</isGroupby>
<isMerge>false</isMerge>
<alignType>RIGHT</alignType>
<action></action>
<actionParamters></actionParamters>
<actionCondition></actionCondition>
</column>
<column>
<id>402882335e4befbc015e4c2800ec0002</id>
<name>hirestatus</name>
<columnDataType>STRING</columnDataType>
<formater></formater>
<label>核销状态</label>
<enLabel>hirestatus</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>
</columns>
<controls/>
<searchs/>
<searchExpress></searchExpress>
<filters>
<filter>
<id>402882335e316a9e015e31fc4e410010</id>
<name>bill_id</name>
<label>提款单号</label>
<filterType>FILTER</filterType>
<dbType>STRING</dbType>
<htmlType>TEXT</htmlType>
<position>0</position>
</filter>
<filter>
<id>402882335e316a9e015e31fcb1c60011</id>
<name>lender</name>
<label>贷款人</label>
<filterType>FILTER</filterType>
<dbType>STRING</dbType>
<htmlType>TEXT</htmlType>
<position>1</position>
</filter>
<filter>
<id>402882335e316a9e015e31fd19600012</id>
<name>contract_no</name>
<label>借款合同号</label>
<filterType>FILTER</filterType>
<dbType>STRING</dbType>
<htmlType>TEXT</htmlType>
<position>2</position>
</filter>
<filter>
<id>402882335e316a9e015e31fe54080013</id>
<name>plan_date</name>
<label>还款日期</label>
<filterType>FILTER</filterType>
<dbType>DATE</dbType>
<htmlType>DATERANGE</htmlType>
<position>3</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>402882335e316a9e015e31f844ca0005</id>
<divHeight>0</divHeight>
<divWidth>0</divWidth>
<position>0</position>
<contentId>TABLE#402882335e316a9e015e31a3d78d0004</contentId>
<report>402882335e316a9e015e31a2f5f20003</report>
<contentType>TABLE</contentType>
</layout>
</layouts>
</TenwaReport>