477 lines
20 KiB
XML
477 lines
20 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>4028801c5d8705a6015d870912a40003</id>
|
|
<name>业务申请表</name>
|
|
<enname>projectinfo</enname>
|
|
<code>REPORT_CODE_1501209105059</code>
|
|
<isActived>true</isActived>
|
|
<position>0</position>
|
|
<reportType>REPORT</reportType>
|
|
<parentReport>2c9c81b7685efbbc016931c6eff50007</parentReport>
|
|
<children/>
|
|
<layouts>
|
|
<layout>2c9c81b566f14fbe0167532fc7ca001a</layout>
|
|
</layouts>
|
|
</report>
|
|
</reports>
|
|
<tables>
|
|
<table>
|
|
<id>4028801c5d8705a6015d870fed170009</id>
|
|
<name>业务申请表</name>
|
|
<enname>projectinfo</enname>
|
|
<reportDataSource>2c9023815726a036015726a496b00001</reportDataSource>
|
|
<queryType>COMPLEXSQL</queryType>
|
|
<sql>SELECT
|
|
lpi.project_no,
|
|
lpi.project_name,
|
|
CASE WHEN ci.customertype='03' THEN cp.mobile ELSE cf.tel END AS PHONENUMBER,
|
|
CASE WHEN ci.customertype='03' THEN cp.fullname ELSE cf.name END AS CUSTOMER_NAME,
|
|
lcs.status_name,
|
|
lpi.project_date,
|
|
lcr.credit_date,
|
|
CASE WHEN ci.customertype='03' THEN cp.certid ELSE cf.certid END AS certid,
|
|
di.distributor_name,
|
|
getOrgLevelName (lpi.project_dept) projectdept,
|
|
lpi.project_dept pdept,
|
|
user_info.username AS project_manage,
|
|
getItemName (
|
|
'cust_kind',
|
|
lpi.project_industry
|
|
) projectindustry,
|
|
getItemName ('leas_form', lpi.leas_form) leasform,
|
|
getItemName ('related', lpi.project_type) projecttype,
|
|
getItemName (
|
|
'cust_source',
|
|
lpi.project_source
|
|
) projectsource
|
|
FROM
|
|
lb_project_info lpi
|
|
LEFT JOIN distributor_info di ON di.distributor_no=lpi.distributor_id
|
|
LEFT JOIN user_info
|
|
ON lpi.project_manage = user_info.userid
|
|
LEFT JOIN LB_CONTRACT_STATUS lcs
|
|
ON lpi.project_status = lcs.status_code
|
|
LEFT JOIN lb_contract_info lci ON lci.project_id=lpi.id
|
|
LEFT JOIN lb_union_lessee lul
|
|
ON lpi.id = lul.project_id
|
|
AND lul.is_main = 'Y'
|
|
LEFT JOIN customer_info ci ON ci.customerid=lul.customer_id
|
|
LEFT JOIN lb_credit_result lcr
|
|
ON lcr.project_id = lpi.id
|
|
LEFT JOIN CUSTOMER_FAMILY cf
|
|
ON cf.project_id = lpi.id
|
|
LEFT JOIN customer_person cp ON cp.customerid=ci.customerid
|
|
WHERE lul.contract_id IS NULL
|
|
OR lul.contract_id = ''</sql>
|
|
<sqlParamValue></sqlParamValue>
|
|
<columns>
|
|
<column>
|
|
<id>4028801c5d8705a6015d870fed17000f</id>
|
|
<name>project_no</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>业务编号</label>
|
|
<enLabel>project_no</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>4028801c5d8705a6015d870fed170014</id>
|
|
<name>project_name</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>业务名称</label>
|
|
<enLabel>project_name</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>4028801c5d8705a6015d870fed170013</id>
|
|
<name>status_name</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>业务状态</label>
|
|
<enLabel>status_name</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>4028801c5d8705a6015d8725c7c10018</id>
|
|
<name>leasform</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>业务形式</label>
|
|
<enLabel>leasform</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>2c9c81b56753d5c10167c02df89f0079</id>
|
|
<name>distributor_name</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>经销商SP</label>
|
|
<enLabel>distributor_name</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>4028801c5d8705a6015d872060490017</id>
|
|
<name>projectdept</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>经销商SP</label>
|
|
<enLabel>projectdept</enLabel>
|
|
<width>100</width>
|
|
<position>21</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>4028801c5d8705a6015d870fed17000d</id>
|
|
<name>project_manage</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>经销商业务员</label>
|
|
<enLabel>project_manage</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>2c9c81b56552c9490165645f4be3004c</id>
|
|
<name>PHONENUMBER</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>手机号</label>
|
|
<enLabel>PHONENUMBER</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>2c9c81b56552c9490165646869f1004d</id>
|
|
<name>CUSTOMER_NAME</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>客户姓名</label>
|
|
<enLabel>CUSTOMER_NAME</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>2c9c81b565137ab2016551ffa7900087</id>
|
|
<name>certid</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>身份证号</label>
|
|
<enLabel>certid</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>4028801c5de3de99015de3e1ec960001</id>
|
|
<name>pdept</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>出单部门</label>
|
|
<enLabel>pdept</enLabel>
|
|
<width>100</width>
|
|
<position>26</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>4028801c5d8705a6015d8716a8c00015</id>
|
|
<name>credit_date</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>信审通过时间</label>
|
|
<enLabel>credit_date</enLabel>
|
|
<width>100</width>
|
|
<position>27</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>4028801c5d8705a6015d8725c7c1001b</id>
|
|
<name>projectindustry</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>内部行业</label>
|
|
<enLabel>projectindustry</enLabel>
|
|
<width>100</width>
|
|
<position>28</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>4028801c5d8705a6015d8725c7c10019</id>
|
|
<name>projecttype</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>业务类型</label>
|
|
<enLabel>projecttype</enLabel>
|
|
<width>100</width>
|
|
<position>29</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>4028801c5d8705a6015d8725c7c1001a</id>
|
|
<name>projectsource</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>业务来源</label>
|
|
<enLabel>projectsource</enLabel>
|
|
<width>100</width>
|
|
<position>30</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>4028801c5d8705a6015d870fed170011</id>
|
|
<name>project_date</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>业务申请日期</label>
|
|
<enLabel>project_date</enLabel>
|
|
<width>100</width>
|
|
<position>31</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>2c9c81b565137ab2016537c30b9d0035</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>2c9c81b565137ab2016537c500340036</id>
|
|
<name>customer_name</name>
|
|
<enname>customer_name</enname>
|
|
<label>客户名称</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>1</position>
|
|
</filter>
|
|
<filter>
|
|
<id>2c9c81b565137ab2016537c586590037</id>
|
|
<name>status_name</name>
|
|
<enname>status_name</enname>
|
|
<label>业务状态</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>2</position>
|
|
</filter>
|
|
<filter>
|
|
<id>2c9c81b565137ab201653c5ac1de003a</id>
|
|
<name>project_date</name>
|
|
<enname>project_date</enname>
|
|
<label>业务申请日期</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>DATE</dbType>
|
|
<htmlType>DATERANGE</htmlType>
|
|
<position>4</position>
|
|
</filter>
|
|
<filter>
|
|
<id>2c9c81b565137ab201655202a7330088</id>
|
|
<name>certid</name>
|
|
<enname>certid</enname>
|
|
<label>身份证号</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>4</position>
|
|
</filter>
|
|
<filter>
|
|
<id>2c9c81b56552c949016569fa66b10059</id>
|
|
<name>PHONENUMBER</name>
|
|
<enname>PHONENUMBER</enname>
|
|
<label>手机号</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>5</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>2c9c81b566f14fbe0167532fc7ca001a</id>
|
|
<divHeight>0</divHeight>
|
|
<divWidth>0</divWidth>
|
|
<position>0</position>
|
|
<contentId>TABLE#4028801c5d8705a6015d870fed170009</contentId>
|
|
<report>4028801c5d8705a6015d870912a40003</report>
|
|
<contentType>TABLE</contentType>
|
|
</layout>
|
|
</layouts>
|
|
</TenwaReport>
|