492 lines
21 KiB
XML
492 lines
21 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>2c9c81b56753d5c10167979964470056</id>
|
|
<name>归档信息报表</name>
|
|
<enname>archive_info</enname>
|
|
<code>REPORT_CODE_1544436671558</code>
|
|
<isActived>true</isActived>
|
|
<position>39</position>
|
|
<reportType>REPORT</reportType>
|
|
<parentReport>2c9c81b7685efbbc016931c6eff50007</parentReport>
|
|
<children/>
|
|
<layouts>
|
|
<layout>2c9c81b56753d5c1016797a3655a006a</layout>
|
|
</layouts>
|
|
</report>
|
|
</reports>
|
|
<tables>
|
|
<table>
|
|
<id>2c9c81b56753d5c10167979aa0ec0057</id>
|
|
<name>归档信息报表</name>
|
|
<enname>archive_info</enname>
|
|
<reportDataSource>2c9023815726a036015726a496b00001</reportDataSource>
|
|
<queryType>COMPLEXSQL</queryType>
|
|
<sql>SELECT lci.subjectname,lci.contract_number,
|
|
lpi.project_no,
|
|
lul.CUSTOMER_NAME,
|
|
di.distributor_name,
|
|
di.LINKMAN,
|
|
lec.frame_number,
|
|
lcl.plate_number,
|
|
lcl.platetime,
|
|
lcl.pledge_date,
|
|
LEFT(bo.inputTime,10) AS applyDate,
|
|
zt.itemname AS contract_status,
|
|
lfi.FACT_DATE,
|
|
TO_DAYS(NOW()) - TO_DAYS(lfi.FACT_DATE) AS days,
|
|
lfa.ARCHIVING_TIME,
|
|
lfa.inputtime,
|
|
ui.username AS inputuserid
|
|
FROM lb_contract_info lci
|
|
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=lci.distributor_id
|
|
LEFT JOIN lb_file_archiving_info lfa ON lfa.contract_id=lci.id
|
|
LEFT JOIN user_info ui ON ui.userid=lfa.inputuserid
|
|
LEFT JOIN lb_equipment_car lec ON lec.contract_id=lul.contract_id and lec.car_attribute='head'
|
|
LEFT JOIN lb_car_license_plate_info lcl ON lcl.frame_number=lec.frame_number
|
|
LEFT JOIN LB_REGISTER_GPS_INFO lrg ON lrg.frame_number=lec.frame_number
|
|
LEFT JOIN lc_fund_income lfi ON lfi.CONTRACT_ID=lci.ID AND lfi.fee_type='feetype10' AND lfi.ROLL_BACK=0 AND lfi.PAY_STATUS='have_paid'
|
|
LEFT JOIN (SELECT MAX(InputTime) AS InputTime,CONTRACT_ID FROM FLOW_BUSSINESS_OBJECT bo WHERE bo.flow_name='付款申请(汽车)' GROUP BY contract_id)
|
|
bo ON bo.CONTRACT_ID = lci.id
|
|
LEFT JOIN (
|
|
SELECT bs.contract_number,bs.inputtime,bs.business_status,cl.itemname FROM business_status bs
|
|
LEFT JOIN code_library cl ON cl.itemno=bs.business_status AND cl.codeno='BusinessStatus'
|
|
WHERE LENGTH(bs.contract_number)>13
|
|
AND
|
|
bs.inputtime IN (
|
|
SELECT
|
|
MAX(b.inputtime)
|
|
FROM
|
|
business_status b
|
|
WHERE
|
|
b.contract_number IS NOT NULL
|
|
AND b.contract_number != '' AND LENGTH(b.contract_number)>13
|
|
GROUP BY
|
|
b.contract_number
|
|
)
|
|
GROUP BY bs.contract_number
|
|
) zt ON zt.contract_number=lci.contract_number
|
|
WHERE lci.businesstype='1' AND lci.contract_status='31'
|
|
order by (TO_DAYS(NOW()) - TO_DAYS(lfi.FACT_DATE)) desc</sql>
|
|
<sqlParamValue></sqlParamValue>
|
|
<columns>
|
|
<column>
|
|
<id>2c9c81b969188a33016fa446242704b2</id>
|
|
<name>subjectname</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>主体名称</label>
|
|
<enLabel>subjectname</enLabel>
|
|
<width>210</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>2c9c81b56753d5c10167979aa0ec0059</id>
|
|
<name>contract_number</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>合同编号</label>
|
|
<enLabel>contract_number</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>2c9c81b56753d5c10167979aa0ec0063</id>
|
|
<name>project_no</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>业务申请编号</label>
|
|
<enLabel>project_no</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>2c9c81b56753d5c10167979aa0ec005a</id>
|
|
<name>CUSTOMER_NAME</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>承租人姓名</label>
|
|
<enLabel>CUSTOMER_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>2c9c81b56753d5c10167979aa0ec005d</id>
|
|
<name>distributor_name</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>经销商名称</label>
|
|
<enLabel>distributor_name</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>2c9c81b56753d5c10167979aa0ec005c</id>
|
|
<name>LINKMAN</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>报单人姓名</label>
|
|
<enLabel>LINKMAN</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>2c9c81b56753d5c10167979aa0ec005b</id>
|
|
<name>frame_number</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>车架号</label>
|
|
<enLabel>frame_number</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>2c9c81b56753d5c10167979aa0ec0060</id>
|
|
<name>plate_number</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>车牌号</label>
|
|
<enLabel>plate_number</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>2c9c81b56753d5c10167979aa0ec0065</id>
|
|
<name>platetime</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>上牌时间</label>
|
|
<enLabel>platetime</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>2c9c81b56753d5c10167979aa0ec0058</id>
|
|
<name>pledge_date</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>抵押登记日期</label>
|
|
<enLabel>pledge_date</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>2c9c81b56753d5c10167979aa0ec0062</id>
|
|
<name>applyDate</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>放款申请日期</label>
|
|
<enLabel>applyDate</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>
|
|
<column>
|
|
<id>2c9c81b56753d5c10167979aa0ec005e</id>
|
|
<name>contract_status</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>合同状态</label>
|
|
<enLabel>contract_status</enLabel>
|
|
<width>100</width>
|
|
<position>28</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>2c9c81b56753d5c10167979aa0ec005f</id>
|
|
<name>FACT_DATE</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>起租日期</label>
|
|
<enLabel>FACT_DATE</enLabel>
|
|
<width>100</width>
|
|
<position>29</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>2c9c81b56753d5c10167979aa0ec0064</id>
|
|
<name>days</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>待归档天数</label>
|
|
<enLabel>days</enLabel>
|
|
<width>100</width>
|
|
<position>30</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>2c9c81b56753d5c10167979aa0ec0061</id>
|
|
<name>ARCHIVING_TIME</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>归档日期</label>
|
|
<enLabel>ARCHIVING_TIME</enLabel>
|
|
<width>100</width>
|
|
<position>31</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>2c9c81b56753d5c101679aef6aec006b</id>
|
|
<name>inputtime</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>归档时间</label>
|
|
<enLabel>inputtime</enLabel>
|
|
<width>100</width>
|
|
<position>32</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>2c9c81b56753d5c101679c5e59c20076</id>
|
|
<name>inputuserid</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>归档操作员</label>
|
|
<enLabel>inputuserid</enLabel>
|
|
<width>100</width>
|
|
<position>33</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>2c9c81b56753d5c1016797a06b2a0066</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>2c9c81b56753d5c1016797a0f8680067</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>2c9c81b56753d5c1016797a230e40068</id>
|
|
<name>distributor_name</name>
|
|
<enname>distributor_name</enname>
|
|
<label>经销商名称</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>2</position>
|
|
</filter>
|
|
<filter>
|
|
<id>2c9c81b56753d5c1016797a2d8660069</id>
|
|
<name>CUSTOMER_NAME</name>
|
|
<enname>CUSTOMER_NAME</enname>
|
|
<label>承租人姓名</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>3</position>
|
|
</filter>
|
|
<filter>
|
|
<id>2c9c81b969188a33016fa446242604b1</id>
|
|
<name>subjectname</name>
|
|
<enname>subjectname</enname>
|
|
<label>主体名称</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>4</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>2c9c81b56753d5c1016797a3655a006a</id>
|
|
<divHeight>0</divHeight>
|
|
<divWidth>0</divWidth>
|
|
<position>0</position>
|
|
<contentId>TABLE#2c9c81b56753d5c10167979aa0ec0057</contentId>
|
|
<report>2c9c81b56753d5c10167979964470056</report>
|
|
<contentType>TABLE</contentType>
|
|
</layout>
|
|
</layouts>
|
|
</TenwaReport>
|