496 lines
21 KiB
XML
496 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>402882335e4fa9fa015e4ff1aa9e0014</id>
|
|
<name>已收逾期租金明细表</name>
|
|
<enname>overdue_rent</enname>
|
|
<code>REPORT_CODE_1504579791502</code>
|
|
<isActived>true</isActived>
|
|
<position>19</position>
|
|
<reportType>REPORT</reportType>
|
|
<parentReport>2c9c81b7685efbbc01693228cee6000e</parentReport>
|
|
<children/>
|
|
<layouts>
|
|
<layout>402882335e4fa9fa015e4ff3404b0016</layout>
|
|
</layouts>
|
|
</report>
|
|
</reports>
|
|
<tables>
|
|
<table>
|
|
<id>402882335e4fa9fa015e4ff323bc0015</id>
|
|
<name>已收逾期租金明细表</name>
|
|
<enname>overdue_rent</enname>
|
|
<reportDataSource>2c9023815726a036015726a496b00001</reportDataSource>
|
|
<queryType>COMPLEXSQL</queryType>
|
|
<sql>SELECT
|
|
lul.customer_name,
|
|
lci.contract_number,
|
|
vlrp.payment_number,
|
|
lcc.start_date,
|
|
vlrp.plan_list,
|
|
vlrp.plan_date,
|
|
vlrp.rent,
|
|
getOverDueRent(vlrp.plan_date,vlrp.id) AS overduerent,
|
|
getLastIncomeDateForOverdue(vlrp.plan_date,vlrp.id) AS overduedate,
|
|
DATEDIFF(getLastIncomeDateForOverdue(vlrp.plan_date,vlrp.id),vlrp.plan_date) AS overduedays,
|
|
lcc.FREE_DEFA_INTER_DAY,
|
|
CONCAT(lcc.PENA_RATE,'%%') AS penarate,
|
|
lci.PROJECT_DEPT,
|
|
getOrgLevelName(lci.PROJECT_DEPT) AS PROJECT_DEPT_NAME,
|
|
lci.project_manage,
|
|
ui.username,
|
|
CASE ci.customertype WHEN '01' THEN citycccode.itemname ELSE citycpcode.itemname END AS citycodename,
|
|
ci.custkind,
|
|
custkindcode.itemname AS custkindname
|
|
FROM
|
|
vi_lc_rent_plan vlrp
|
|
LEFT JOIN
|
|
lb_contract_info lci ON vlrp.contract_id=lci.id
|
|
LEFT JOIN
|
|
LB_UNION_LESSEE lul ON lul.contract_id=lci.id AND lul.is_main='Y'
|
|
LEFT JOIN
|
|
LC_CALC_CONDITION lcc ON lcc.payment_number = vlrp.payment_number
|
|
LEFT JOIN
|
|
user_info ui ON ui.userid=lci.project_manage
|
|
LEFT JOIN
|
|
customer_info ci ON ci.customerid = lul.customer_id
|
|
LEFT JOIN
|
|
CODE_LIBRARY custkindcode ON custkindcode.codeno='cust_kind' AND custkindcode.itemno=ci.custkind
|
|
LEFT JOIN
|
|
customer_company cc ON cc.customerid=ci.customerid
|
|
LEFT JOIN
|
|
customer_person cp ON cp.customerid=ci.customerid
|
|
LEFT JOIN
|
|
CODE_LIBRARY citycccode ON citycccode.codeno='AreaCode' AND citycccode.itemno=cc.citycode
|
|
LEFT JOIN
|
|
CODE_LIBRARY citycpcode ON citycpcode.codeno='AreaCode' AND citycpcode.itemno=cp.city
|
|
WHERE getOverDueRent(vlrp.plan_date,vlrp.id)>0
|
|
ORDER BY lci.contract_number,vlrp.plan_list</sql>
|
|
<sqlParamValue></sqlParamValue>
|
|
<columns>
|
|
<column>
|
|
<id>402882335e4fa9fa015e502a3e620028</id>
|
|
<name>customer_name</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>客户名称</label>
|
|
<enLabel>customer_name</enLabel>
|
|
<width>200</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>402882335e4fa9fa015e502a3e620024</id>
|
|
<name>contract_number</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>业务合同号</label>
|
|
<enLabel>contract_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>402882335e4fa9fa015e502a3e610019</id>
|
|
<name>payment_number</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>投放编号</label>
|
|
<enLabel>payment_number</enLabel>
|
|
<width>150</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>402882335e4fa9fa015e502a3e62001e</id>
|
|
<name>start_date</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>起租日期</label>
|
|
<enLabel>start_date</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>402882335e4fa9fa015e502a3e62001a</id>
|
|
<name>plan_list</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>计划期项</label>
|
|
<enLabel>plan_list</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>402882335e4fa9fa015e502a3e620026</id>
|
|
<name>plan_date</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>应收日期</label>
|
|
<enLabel>plan_date</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>402882335e4fa9fa015e502a3e620023</id>
|
|
<name>rent</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater>#,##0.00</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>
|
|
<alignType>RIGHT</alignType>
|
|
<action></action>
|
|
<actionParamters></actionParamters>
|
|
<actionCondition></actionCondition>
|
|
</column>
|
|
<column>
|
|
<id>402882335e4fa9fa015e502a3e610017</id>
|
|
<name>overduerent</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater>#,##0.00</formater>
|
|
<label>已收逾期租金</label>
|
|
<enLabel>overduerent</enLabel>
|
|
<width>100</width>
|
|
<position>26</position>
|
|
<isVisible>true</isVisible>
|
|
<color></color>
|
|
<isCountTotal>false</isCountTotal>
|
|
<isCountSubTotal>false</isCountSubTotal>
|
|
<isGroupby>false</isGroupby>
|
|
<isMerge>false</isMerge>
|
|
<alignType>RIGHT</alignType>
|
|
<action></action>
|
|
<actionParamters></actionParamters>
|
|
<actionCondition></actionCondition>
|
|
</column>
|
|
<column>
|
|
<id>402882335e4fa9fa015e502a3e62001c</id>
|
|
<name>overduedate</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>最后回收日期</label>
|
|
<enLabel>overduedate</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>402882335e4fa9fa015e502a3e62001d</id>
|
|
<name>overduedays</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>迟延天数</label>
|
|
<enLabel>overduedays</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>402882335e4fa9fa015e502a3e62001b</id>
|
|
<name>FREE_DEFA_INTER_DAY</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>免罚息天数</label>
|
|
<enLabel>FREE_DEFA_INTER_DAY</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>402882335e4fa9fa015e502a3e62001f</id>
|
|
<name>penarate</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>罚息日利率</label>
|
|
<enLabel>penarate</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>402882335e4fa9fa015e502a3e620021</id>
|
|
<name>PROJECT_DEPT</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>PROJECT_DEPT</label>
|
|
<enLabel>PROJECT_DEPT</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>402882335e4fa9fa015e502a3e620022</id>
|
|
<name>PROJECT_DEPT_NAME</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>业务部门</label>
|
|
<enLabel>PROJECT_DEPT_NAME</enLabel>
|
|
<width>200</width>
|
|
<position>32</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>402882335e4fa9fa015e502a3e620027</id>
|
|
<name>project_manage</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>project_manage</label>
|
|
<enLabel>project_manage</enLabel>
|
|
<width>100</width>
|
|
<position>33</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>402882335e4fa9fa015e502a3e620029</id>
|
|
<name>username</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>经销商SP</label>
|
|
<enLabel>username</enLabel>
|
|
<width>100</width>
|
|
<position>34</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>402882335e4fa9fa015e502a3e620025</id>
|
|
<name>citycodename</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>区域</label>
|
|
<enLabel>citycodename</enLabel>
|
|
<width>200</width>
|
|
<position>35</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>402882335e4fa9fa015e502a3e620020</id>
|
|
<name>custkind</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>custkind</label>
|
|
<enLabel>custkind</enLabel>
|
|
<width>100</width>
|
|
<position>36</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>402882335e4fa9fa015e502a3e610018</id>
|
|
<name>custkindname</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>内部行业</label>
|
|
<enLabel>custkindname</enLabel>
|
|
<width>100</width>
|
|
<position>37</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>402882335e4fa9fa015e502aa276002a</id>
|
|
<name>customer_name</name>
|
|
<label>客户名称</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>0</position>
|
|
</filter>
|
|
<filter>
|
|
<id>402882335e4fa9fa015e502b50ca002b</id>
|
|
<name>contract_number</name>
|
|
<label>业务合同号</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>1</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>402882335e4fa9fa015e4ff3404b0016</id>
|
|
<divHeight>0</divHeight>
|
|
<divWidth>0</divWidth>
|
|
<position>0</position>
|
|
<contentId>TABLE#402882335e4fa9fa015e4ff323bc0015</contentId>
|
|
<report>402882335e4fa9fa015e4ff1aa9e0014</report>
|
|
<contentType>TABLE</contentType>
|
|
</layout>
|
|
</layouts>
|
|
</TenwaReport>
|