196 lines
8.8 KiB
XML
196 lines
8.8 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>2c9c81b969188a33016ce66598cf00b0</id>
|
|
<name>客户授信额度报表(汽车类传统)</name>
|
|
<enname>KHEDQCCT</enname>
|
|
<position>34</position>
|
|
<reportType>REPORT</reportType>
|
|
<parentReport>2c9c81b7685efbbc016931c77d170008</parentReport>
|
|
<children/>
|
|
<layouts>
|
|
<layout>2c9c81b969188a33016ce66598d100b8</layout>
|
|
</layouts>
|
|
</report>
|
|
</reports>
|
|
<tables>
|
|
<table>
|
|
<id>2c9c81b969188a33016ce66598c900af</id>
|
|
<name>客户授信额度报表(汽车类传统)</name>
|
|
<enname>KHEDQCCT</enname>
|
|
<reportDataSource>2c9023815726a036015726a496b00001</reportDataSource>
|
|
<queryType>COMPLEXSQL</queryType>
|
|
<sql>SELECT cc.enterprisename,cqm.starttime,cqm.endtime,IFNULL(cqm.quotamoney,0) quotamoney,IFNULL(cqm.quotamoney,0)-IFNULL(mon.usedmoney,0) availablemoney,IFNULL(mon.usedmoney,0) umoney FROM customer_company cc LEFT JOIN customer_quota_money cqm ON cc.customerid=cqm.customerid
|
|
LEFT JOIN (SELECT SUM(lfit.fact_money)-ifnull(SUM(lri.CORPUS),0) usedmoney,customer_id FROM flow_object fo LEFT JOIN LC_FUND_INCOME_TEMP lfit ON fo.objectno=lfit.flowunid LEFT JOIN lc_rent_income lri ON lfit.contract_id=lri.contract_id LEFT JOIN lb_union_lessee lul ON lul.contract_id=lfit.contract_id WHERE fo.flowno='FundPaymentFlow' AND fo.phaseno<>"0010" AND fo.phaseno<>"8000" AND lfit.fee_type='feetype10' AND lfit.pay_type='pay_type_out' GROUP BY lul.customer_id
|
|
) mon ON cc.customerid=mon.customer_id WHERE LEFT(cc.inputorgid,7)='8009011'</sql>
|
|
<sqlParamValue></sqlParamValue>
|
|
<columns>
|
|
<column>
|
|
<id>2c9c81b969188a33016ce66598d100b6</id>
|
|
<name>enterprisename</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>客户名称</label>
|
|
<enLabel>enterprisename</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>2c9c81b969188a33016ce66598d100b2</id>
|
|
<name>starttime</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>开始时间</label>
|
|
<enLabel>starttime</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>2c9c81b969188a33016ce66598d100b5</id>
|
|
<name>endtime</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>结束时间</label>
|
|
<enLabel>endtime</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>2c9c81b969188a33016ce66598d100b1</id>
|
|
<name>quotamoney</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>总额度</label>
|
|
<enLabel>quotamoney</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>2c9c81b969188a33016ce66598d100b3</id>
|
|
<name>availablemoney</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>可用额度</label>
|
|
<enLabel>availablemoney</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>2c9c81b969188a33016ce66598d100b4</id>
|
|
<name>umoney</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>已用额度</label>
|
|
<enLabel>umoney</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>
|
|
</columns>
|
|
<controls/>
|
|
<searchs/>
|
|
<searchExpress></searchExpress>
|
|
<filters>
|
|
<filter>
|
|
<id>2c9c81b969188a33016ce66598d100b7</id>
|
|
<name>enterprisename</name>
|
|
<enname>enterprisename</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>2c9c81b969188a33016ce66598d100b8</id>
|
|
<divHeight>0</divHeight>
|
|
<divWidth>0</divWidth>
|
|
<position>0</position>
|
|
<contentId>TABLE#2c9c81b969188a33016ce66598c900af</contentId>
|
|
<report>2c9c81b969188a33016ce66598cf00b0</report>
|
|
<contentType>TABLE</contentType>
|
|
</layout>
|
|
</layouts>
|
|
</TenwaReport>
|