179 lines
7.5 KiB
XML
179 lines
7.5 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>4028801c5e30abce015e321e70ba0001</id>
|
|
<name>计提利息</name>
|
|
<enname>interest</enname>
|
|
<code>REPORT_CODE_1504079409336</code>
|
|
<isActived>true</isActived>
|
|
<position>15</position>
|
|
<reportType>REPORT</reportType>
|
|
<parentReport>402882355da074c8015da089e7050001</parentReport>
|
|
<children/>
|
|
<layouts>
|
|
<layout>402882eb5e97afbf015e9821bef20002</layout>
|
|
</layouts>
|
|
</report>
|
|
</reports>
|
|
<tables>
|
|
<table>
|
|
<id>4028801c5e322d2a015e3231fa040001</id>
|
|
<name>计提利息</name>
|
|
<enname>interest</enname>
|
|
<reportDataSource>2c9023815726a036015726a496b00001</reportDataSource>
|
|
<queryType>COMPLEXSQL</queryType>
|
|
<sql>SELECT lci.contract_no,crm.payment_number,SUBSTRING(crm.start_date,1,7) startdate,SUM(interest) interest,SUM(fee) FROM contract_rent_month crm LEFT JOIN lb_contract_info lci ON lci.id
|
|
|
|
=crm.contract_id GROUP BY crm.contract_id,crm.payment_number,crm.start_date ORDER BY payment_number,crm.start_date</sql>
|
|
<sqlParamValue></sqlParamValue>
|
|
<columns>
|
|
<column>
|
|
<id>4028801c5e32af51015e32d00aa90003</id>
|
|
<name>sum(fee)</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>sum(fee)</label>
|
|
<enLabel>sum(fee)</enLabel>
|
|
<width>100</width>
|
|
<position>5</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>4028801c5e322d2a015e323645b90008</id>
|
|
<name>contract_no</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>业务合同号</label>
|
|
<enLabel>contract_no</enLabel>
|
|
<width>100</width>
|
|
<position>6</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>4028801c5e322d2a015e3231fa0f0006</id>
|
|
<name>payment_number</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>投放编号</label>
|
|
<enLabel>payment_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>402882eb5e97afbf015e98287dc60004</id>
|
|
<name>startdate</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>计提月份</label>
|
|
<enLabel>startdate</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>402882eb5e97afbf015e98287dc60003</id>
|
|
<name>interest</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>计提利息</label>
|
|
<enLabel>interest</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>
|
|
</columns>
|
|
<controls/>
|
|
<searchs/>
|
|
<searchExpress></searchExpress>
|
|
<filters>
|
|
<filter>
|
|
<id>4028801c5e32af51015e32b888490002</id>
|
|
<name>payment_number</name>
|
|
<enname>payment_number</enname>
|
|
<label>投放编号</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>0</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>402882eb5e97afbf015e9821bef20002</id>
|
|
<divHeight>0</divHeight>
|
|
<divWidth>0</divWidth>
|
|
<position>0</position>
|
|
<contentId>TABLE#4028801c5e322d2a015e3231fa040001</contentId>
|
|
<report>4028801c5e30abce015e321e70ba0001</report>
|
|
<contentType>TABLE</contentType>
|
|
</layout>
|
|
</layouts>
|
|
</TenwaReport>
|