445 lines
19 KiB
XML
445 lines
19 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>2c9c81b671ecd60101725028e8b900bc</id>
|
|
<name>客户扣款卡信息</name>
|
|
<enname>customer_bankcard_details</enname>
|
|
<code>REPORT_CODE_200526164516</code>
|
|
<isActived>true</isActived>
|
|
<position>25</position>
|
|
<reportType>REPORT</reportType>
|
|
<parentReport>2c9c81b7685efbbc016931c675a50006</parentReport>
|
|
<children/>
|
|
<layouts>
|
|
<layout>2c9c81b671ecd6010172503366dc00ce</layout>
|
|
</layouts>
|
|
</report>
|
|
</reports>
|
|
<tables>
|
|
<table>
|
|
<id>2c9c81b671ecd6010172502a725300bd</id>
|
|
<name>客户扣款卡信息</name>
|
|
<enname>customer_bankcard_details</enname>
|
|
<reportDataSource>2c9023815726a036015726a496b00001</reportDataSource>
|
|
<queryType>COMPLEXSQL</queryType>
|
|
<sql>select
|
|
lpi.project_no,
|
|
lpi.SUBJECTNAME,
|
|
lci.contract_number,
|
|
ci.customername,
|
|
ci.certid,
|
|
ca.bank_name,
|
|
ca.acc_number,
|
|
ca.`account`,
|
|
ca.mobile,
|
|
case when cl1.itemdescribe IS NOT NULL then cl1.itemdescribe
|
|
when cl2.itemdescribe IS NOT NULL then cl2.itemdescribe
|
|
ELSE NULL END AS bank_amount,
|
|
case when ca.sign_status='Y' then '已签约'
|
|
ELSE '未签约' END AS sign_status,
|
|
cii.rent,
|
|
di.distributor_name,
|
|
case when rrp.over_days is not null then '逾期'
|
|
ELSE null END AS overdue_status
|
|
from customer_account ca
|
|
left join customer_info ci on ci.customerid = ca.customerid
|
|
left join lb_project_info lpi on ca.project_id = lpi.id
|
|
left join lb_contract_info lci on lci.id = ca.contract_id
|
|
left join distributor_info di on di.distributor_no = lci.distributor_id
|
|
left join contract_info cii on cii.contract_number=lci.CONTRACT_NUMBER
|
|
left join (select over_days,contract_number from report_rent_plan where batch_status ='未完成' and over_days is not null and over_days >0 group by contract_number) as rrp on rrp.contract_number=lci.CONTRACT_NUMBER
|
|
left join code_library cl1 on cl1.codeno = 'TjbankType' and lpi.SUBJECTID='d989246c11c111eaaa0000163e0e11e6' and ca.bank_name like concat('%', cl1.itemname, '%')
|
|
left join code_library cl2 on cl2.codeno = 'bankType' and lpi.SUBJECTID='aa740e4111c111eaaa0000163e0e11e6' and ca.bank_name like concat('%', cl2.itemname, '%')</sql>
|
|
<sqlParamValue></sqlParamValue>
|
|
<columns>
|
|
<column>
|
|
<id>2c9c81b67254b86f0172557a986f0001</id>
|
|
<name>SUBJECTNAME</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>主体名称</label>
|
|
<enLabel>SUBJECTNAME</enLabel>
|
|
<width>100</width>
|
|
<position>14</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>2c9c81b671ecd6010172502a725400c6</id>
|
|
<name>project_no</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>申请号</label>
|
|
<enLabel>project_no</enLabel>
|
|
<width>100</width>
|
|
<position>15</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>2c9c81b671ecd6010172502a725400c7</id>
|
|
<name>contract_number</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>合同号</label>
|
|
<enLabel>contract_number</enLabel>
|
|
<width>100</width>
|
|
<position>16</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>2c9c81b671ecd6010172502a725400bf</id>
|
|
<name>customername</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>客户姓名</label>
|
|
<enLabel>customername</enLabel>
|
|
<width>100</width>
|
|
<position>17</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>2c9c81b671ecd6010172502a725400c1</id>
|
|
<name>certid</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>身份证号</label>
|
|
<enLabel>certid</enLabel>
|
|
<width>100</width>
|
|
<position>18</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>2c9c81b671ecd6010172502a725400c2</id>
|
|
<name>bank_name</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>银行名称</label>
|
|
<enLabel>bank_name</enLabel>
|
|
<width>100</width>
|
|
<position>19</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>2c9c81b671ecd6010172502a725400c5</id>
|
|
<name>acc_number</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>银行卡号</label>
|
|
<enLabel>acc_number</enLabel>
|
|
<width>100</width>
|
|
<position>20</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>2c9c81b671ecd6010172502a725400c0</id>
|
|
<name>account</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>银行卡用户名</label>
|
|
<enLabel>account</enLabel>
|
|
<width>100</width>
|
|
<position>21</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>2c9c81b671ecd6010172502e8d7500c8</id>
|
|
<name>mobile</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>预留手机号</label>
|
|
<enLabel>mobile</enLabel>
|
|
<width>100</width>
|
|
<position>22</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>2c9c81b671ecd6010172502a725400c3</id>
|
|
<name>bank_amount</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>银行限额</label>
|
|
<enLabel>bank_amount</enLabel>
|
|
<width>100</width>
|
|
<position>23</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>2c9c81b671ecd6010172502a725400c4</id>
|
|
<name>sign_status</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>签约验证状态</label>
|
|
<enLabel>sign_status</enLabel>
|
|
<width>100</width>
|
|
<position>24</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>2c9c81b671ecd6010172502a725300be</id>
|
|
<name>rent</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>月租金</label>
|
|
<enLabel>rent</enLabel>
|
|
<width>100</width>
|
|
<position>25</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>2c9c81b671ecd6010172502e8d7500c9</id>
|
|
<name>overdue_status</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>是否逾期</label>
|
|
<enLabel>overdue_status</enLabel>
|
|
<width>100</width>
|
|
<position>26</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>2c9c81b6727d6f6301727df7744a0002</id>
|
|
<name>distributor_name</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>经销商名称</label>
|
|
<enLabel>distributor_name</enLabel>
|
|
<width>100</width>
|
|
<position>27</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>2c9c81b671ecd601017250306d4700ca</id>
|
|
<name>project_no</name>
|
|
<enname>project_no</enname>
|
|
<label>申请号</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>0</position>
|
|
</filter>
|
|
<filter>
|
|
<id>2c9c81b671ecd60101725030e43200cb</id>
|
|
<name>contract_number</name>
|
|
<enname>contract_number</enname>
|
|
<label>合同号</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>1</position>
|
|
</filter>
|
|
<filter>
|
|
<id>2c9c81b671ecd6010172503141cd00cc</id>
|
|
<name>customername</name>
|
|
<enname>customername</enname>
|
|
<label>客户姓名</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>2</position>
|
|
</filter>
|
|
<filter>
|
|
<id>2c9c81b671ecd60101725031c65400cd</id>
|
|
<name>certid</name>
|
|
<enname>certid</enname>
|
|
<label>身份证号</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>3</position>
|
|
</filter>
|
|
<filter>
|
|
<id>2c9c81b67254b86f0172557c34d10002</id>
|
|
<name>bank_name</name>
|
|
<enname>bank_name</enname>
|
|
<label>银行名称</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>4</position>
|
|
</filter>
|
|
<filter>
|
|
<id>2c9c81b67254b86f0172557c923f0003</id>
|
|
<name>acc_number</name>
|
|
<enname>acc_number</enname>
|
|
<label>银行卡号</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>5</position>
|
|
</filter>
|
|
<filter>
|
|
<id>2c9c81b6727d6f6301727deea1130001</id>
|
|
<name>SUBJECTNAME</name>
|
|
<enname>SUBJECTNAME</enname>
|
|
<label>主体名称</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>6</position>
|
|
</filter>
|
|
<filter>
|
|
<id>2c9c81b6727d6f6301727df863680003</id>
|
|
<name>distributor_name</name>
|
|
<enname>distributor_name</enname>
|
|
<label>经销商名称</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>7</position>
|
|
</filter>
|
|
</filters>
|
|
<filterExpress></filterExpress>
|
|
<pageSize>20</pageSize>
|
|
<showRowNumber>false</showRowNumber>
|
|
<showTotalTitle>false</showTotalTitle>
|
|
<isScale>true</isScale>
|
|
<isCache>false</isCache>
|
|
<isExcel>false</isExcel>
|
|
</table>
|
|
</tables>
|
|
<charts/>
|
|
<pages/>
|
|
<layouts>
|
|
<layout>
|
|
<id>2c9c81b671ecd6010172503366dc00ce</id>
|
|
<divHeight>0</divHeight>
|
|
<divWidth>0</divWidth>
|
|
<position>0</position>
|
|
<contentId>TABLE#2c9c81b671ecd6010172502a725300bd</contentId>
|
|
<report>2c9c81b671ecd60101725028e8b900bc</report>
|
|
<contentType>TABLE</contentType>
|
|
</layout>
|
|
</layouts>
|
|
</TenwaReport>
|