366 lines
16 KiB
XML
366 lines
16 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>2c9c81b56658994a0165ebf601d40004</id>
|
|
<name>合同状态表-最新</name>
|
|
<enname>ProjectProcessNew</enname>
|
|
<code>REPORT_CODE_1537262092755</code>
|
|
<isActived>true</isActived>
|
|
<position>13</position>
|
|
<reportType>REPORT</reportType>
|
|
<parentReport>2c9c81b7685efbbc016931c675a50006</parentReport>
|
|
<children/>
|
|
<layouts>
|
|
<layout>2c9c81b56658994a0165ebfbcb8f000d</layout>
|
|
</layouts>
|
|
</report>
|
|
</reports>
|
|
<tables>
|
|
<table>
|
|
<id>2c9c81b56658994a0165ebf8307a0005</id>
|
|
<name>合同状态表-最新</name>
|
|
<enname>ProjectProcessNew</enname>
|
|
<reportDataSource>2c9023815726a036015726a496b00001</reportDataSource>
|
|
<queryType>COMPLEXSQL</queryType>
|
|
<sql>select
|
|
lpi.subjectname,
|
|
o.id,
|
|
lpi.project_no AS project_no,
|
|
lci.contract_no contract_number,
|
|
c.itemname business_status,
|
|
di.distributor_name,
|
|
lul.CUSTOMER_NAME,
|
|
o.over_days,
|
|
ui.username,
|
|
oi.orgname,
|
|
o.inputtime
|
|
from (
|
|
select * from business_status bs where exists(select 1 from
|
|
(select contract_number,max(inputtime) as inputtime from business_status group by contract_number) t
|
|
where t.contract_number = bs.contract_number and inputtime = bs.inputtime
|
|
)
|
|
) o
|
|
LEFT JOIN lb_contract_info lci ON lci.contract_no=o.contract_number
|
|
LEFT JOIN lb_project_info lpi ON lpi.id=lci.project_id
|
|
LEFT JOIN lb_union_lessee lul ON lul.contract_id=lci.id
|
|
LEFT JOIN distributor_info di ON di.distributor_no=lpi.distributor_id
|
|
LEFT JOIN code_library c ON c.itemno = o.business_status AND c.codeno = 'BusinessStatus'
|
|
LEFT JOIN user_info ui ON ui.userid=o.inputuserid
|
|
LEFT JOIN org_info oi ON oi.orgid=o.inputorgid
|
|
WHERE lci.contract_no IS NOT NULL ORDER BY o.inputtime desc</sql>
|
|
<sqlParamValue></sqlParamValue>
|
|
<columns>
|
|
<column>
|
|
<id>2c9c81b969188a33016fa7df31630520</id>
|
|
<name>subjectname</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>主体名称</label>
|
|
<enLabel>subjectname</enLabel>
|
|
<width>210</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>
|
|
<column>
|
|
<id>2c9c81b56658994a0165ebf8307c0008</id>
|
|
<name>id</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>标识</label>
|
|
<enLabel>id</enLabel>
|
|
<width>100</width>
|
|
<position>12</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>2c9c81b566e3b2c70166e7b350190001</id>
|
|
<name>distributor_name</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>经销商名称</label>
|
|
<enLabel>distributor_name</enLabel>
|
|
<width>100</width>
|
|
<position>13</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>2c9c81b566e3b2c70166e7b350200002</id>
|
|
<name>CUSTOMER_NAME</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>承租人名称</label>
|
|
<enLabel>CUSTOMER_NAME</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>2c9c81b566f14fbe01670c0446750001</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>2c9c81b56658994a0165ebf8307a0006</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>2c9c81b56658994a0165ebf8307c000a</id>
|
|
<name>business_status</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>当前合同状态</label>
|
|
<enLabel>business_status</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>2c9c81b56658994a0165fa1ef0b80020</id>
|
|
<name>over_days</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>逾期天数</label>
|
|
<enLabel>over_days</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>2c9c81b56658994a0165ebf8307c000b</id>
|
|
<name>username</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>当前处理人</label>
|
|
<enLabel>username</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>2c9c81b56658994a0165ebf8307c0009</id>
|
|
<name>orgname</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>当前处理部门</label>
|
|
<enLabel>orgname</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>2c9c81b56658994a0165ebf8307a0007</id>
|
|
<name>inputtime</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>当前处理时间</label>
|
|
<enLabel>inputtime</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>
|
|
</columns>
|
|
<controls/>
|
|
<searchs/>
|
|
<searchExpress></searchExpress>
|
|
<filters>
|
|
<filter>
|
|
<id>2c9c81b56658994a0165ebfb0da7000c</id>
|
|
<name>contract_number</name>
|
|
<enname>contract_number</enname>
|
|
<label>合同编号</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>0</position>
|
|
</filter>
|
|
<filter>
|
|
<id>2c9c81b566f14fbe01670c0942d30003</id>
|
|
<name>project_no</name>
|
|
<enname>project_no</enname>
|
|
<label>申请编号</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>1</position>
|
|
</filter>
|
|
<filter>
|
|
<id>2c9c81b566f14fbe01670c09df5e0004</id>
|
|
<name>CUSTOMER_NAME</name>
|
|
<enname>CUSTOMER_NAME</enname>
|
|
<label>承租人名称</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>2</position>
|
|
</filter>
|
|
<filter>
|
|
<id>2c9c81b56753d5c101675f15d0ac004d</id>
|
|
<name>distributor_name</name>
|
|
<enname>distributor_name</enname>
|
|
<label>经销商名称</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>3</position>
|
|
</filter>
|
|
<filter>
|
|
<id>2c9c81b56753d5c101675f16518b004e</id>
|
|
<name>business_status</name>
|
|
<enname>business_status</enname>
|
|
<label>当前合同状态</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>4</position>
|
|
</filter>
|
|
<filter>
|
|
<id>2c9c81b969188a33016fa7df3163051f</id>
|
|
<name>subjectname</name>
|
|
<enname>subjectname</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>false</isScale>
|
|
<isCache>false</isCache>
|
|
<isExcel>false</isExcel>
|
|
</table>
|
|
</tables>
|
|
<charts/>
|
|
<pages/>
|
|
<layouts>
|
|
<layout>
|
|
<id>2c9c81b56658994a0165ebfbcb8f000d</id>
|
|
<divHeight>0</divHeight>
|
|
<divWidth>0</divWidth>
|
|
<position>0</position>
|
|
<contentId>TABLE#2c9c81b56658994a0165ebf8307a0005</contentId>
|
|
<report>2c9c81b56658994a0165ebf601d40004</report>
|
|
<contentType>TABLE</contentType>
|
|
</layout>
|
|
</layouts>
|
|
</TenwaReport>
|