431 lines
20 KiB
XML
431 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>2c9c81b5669ec8de01669fc5026a0002</id>
|
|
<name>计提分摊_汽车类传统</name>
|
|
<enname>provision</enname>
|
|
<code>REPORT_CODE_1540278780519</code>
|
|
<isActived>true</isActived>
|
|
<position>16</position>
|
|
<reportType>REPORT</reportType>
|
|
<parentReport>2c9c81b7685efbbc016931c77d170008</parentReport>
|
|
<children/>
|
|
<layouts>
|
|
<layout>2c9c81b5669ec8de01669fc8bdbe0029</layout>
|
|
</layouts>
|
|
</report>
|
|
</reports>
|
|
<tables>
|
|
<table>
|
|
<id>2c9c81b5669ec8de01669fc89d9e0017</id>
|
|
<name>计提分摊_汽车类传统</name>
|
|
<enname>provision</enname>
|
|
<reportDataSource>2c9023815726a036015726a496b00001</reportDataSource>
|
|
<queryType>COMPLEXSQL</queryType>
|
|
<sql>select lci.contract_no,t.rent_list,t.end_date,t.accrued_date,
|
|
ifnull(round(t.interest,2),0) as interestbuhan,
|
|
ifnull(round(t.interest*case when lci.leas_form='01' then 1.16 else 1.06 end,2),0) as interesthan,
|
|
ifnull(round(t.interest*case when lci.leas_form='01' then 1.16 else 1.06 end,2)-round(t.interest,2),0) as interestshuijin,
|
|
getRemainInterest(t.payment_number,t.rent_list,'interest') as remain_interest,
|
|
round(t.interest/m.suminterest,6) as rate,
|
|
ifnull(round(t.fee,2),0) as feebuhan,
|
|
ifnull(round(t.fee*case when lci.leas_form='01' then 1.16 else 1.06 end,2),0) as feehan,
|
|
ifnull(round(t.fee*case when lci.leas_form='01' then 1.16 else 1.06 end,2)-round(t.fee,2),0) as feeshuijin,
|
|
getRemainInterest(t.payment_number,t.rent_list,'fee') as remain_fee,
|
|
ifnull(round(t.discount,2),0) as discountbuhan,
|
|
ifnull(round(t.discount*case when lci.leas_form='01' then 1.16 else 1.06 end,2),0) as discounthan,
|
|
ifnull(round(t.discount*case when lci.leas_form='01' then 1.16 else 1.06 end,2)-round(t.discount,2),0) as discountshuijin,
|
|
ifnull(getRemainInterest(t.payment_number,t.rent_list,'discount'),0) as remain_discount
|
|
from contract_rent_month t left join lb_contract_info lci on lci.id=t.contract_id
|
|
left join (select contract_id,sum(interest) as suminterest from contract_rent_month group by contract_id) m
|
|
on m.contract_id=lci.id where lci.businesstype='3'</sql>
|
|
<sqlParamValue></sqlParamValue>
|
|
<columns>
|
|
<column>
|
|
<id>2c9c81b5669ec8de01669fc89d9f001b</id>
|
|
<name>contract_no</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>合同编号</label>
|
|
<enLabel>contract_no</enLabel>
|
|
<width>100</width>
|
|
<position>0</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>2c9c81b5669ec8de01669fc89d9e0018</id>
|
|
<name>rent_list</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>计划期次</label>
|
|
<enLabel>rent_list</enLabel>
|
|
<width>100</width>
|
|
<position>1</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>2c9c81b5669ec8de01669fc89d9f0021</id>
|
|
<name>end_date</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>月结记账日期</label>
|
|
<enLabel>end_date</enLabel>
|
|
<width>100</width>
|
|
<position>2</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>2c9c81b5669ec8de01669fc89d9f0025</id>
|
|
<name>accrued_date</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>计提月份</label>
|
|
<enLabel>accrued_date</enLabel>
|
|
<width>100</width>
|
|
<position>3</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>2c9c81b5669ec8de01669fc89d9f001f</id>
|
|
<name>interesthan</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>计提利息含税</label>
|
|
<enLabel>interesthan</enLabel>
|
|
<width>100</width>
|
|
<position>4</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>2c9c81b5669ec8de01669fc89d9f0024</id>
|
|
<name>interestbuhan</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>计提利息不含税</label>
|
|
<enLabel>interestbuhan</enLabel>
|
|
<width>100</width>
|
|
<position>5</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>2c9c81b5669ec8de01669fc89d9f0019</id>
|
|
<name>interestshuijin</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>计提利息税金</label>
|
|
<enLabel>interestshuijin</enLabel>
|
|
<width>100</width>
|
|
<position>6</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>2c9c81b5669ec8de01669fc89d9f0022</id>
|
|
<name>remain_interest</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>剩余未计提利息金额</label>
|
|
<enLabel>remain_interest</enLabel>
|
|
<width>100</width>
|
|
<position>7</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>2c9c81b5669ec8de01669fc89d9f0023</id>
|
|
<name>rate</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>手续费占比</label>
|
|
<enLabel>rate</enLabel>
|
|
<width>100</width>
|
|
<position>8</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>2c9c81b5669ec8de01669fc89d9f0020</id>
|
|
<name>feehan</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>计提手续费含税</label>
|
|
<enLabel>feehan</enLabel>
|
|
<width>100</width>
|
|
<position>9</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>2c9c81b5669ec8de01669fc89d9f001e</id>
|
|
<name>feebuhan</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>计提手续费不含税</label>
|
|
<enLabel>feebuhan</enLabel>
|
|
<width>100</width>
|
|
<position>10</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>2c9c81b5669ec8de01669fc89d9f001c</id>
|
|
<name>feeshuijin</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>计提手续费税金</label>
|
|
<enLabel>feeshuijin</enLabel>
|
|
<width>100</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>2c9c81b5669ec8de01669fc89d9f0027</id>
|
|
<name>remain_fee</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>剩余未计提手续费金额</label>
|
|
<enLabel>remain_fee</enLabel>
|
|
<width>100</width>
|
|
<position>12</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>2c9c81b5669ec8de01669fc89d9f001a</id>
|
|
<name>discounthan</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>计提贴息含税</label>
|
|
<enLabel>discounthan</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>2c9c81b5669ec8de01669fc89d9f001d</id>
|
|
<name>discountbuhan</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>计提贴息不含税</label>
|
|
<enLabel>discountbuhan</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>2c9c81b5669ec8de01669fc89d9f0028</id>
|
|
<name>discountshuijin</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>计提贴息税金</label>
|
|
<enLabel>discountshuijin</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>2c9c81b5669ec8de01669fc89d9f0026</id>
|
|
<name>remain_discount</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>剩余未计提贴息金额</label>
|
|
<enLabel>remain_discount</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>
|
|
</columns>
|
|
<controls/>
|
|
<searchs/>
|
|
<searchExpress></searchExpress>
|
|
<filters>
|
|
<filter>
|
|
<id>2c9c81b5669ec8de01669ff245ed0050</id>
|
|
<name>contract_no</name>
|
|
<enname>contract_no</enname>
|
|
<label>合同编号</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>0</position>
|
|
</filter>
|
|
<filter>
|
|
<id>2c9c81b5669ec8de01669ff245ed0051</id>
|
|
<name>rent_list</name>
|
|
<enname>rent_list</enname>
|
|
<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>2c9c81b5669ec8de01669fc8bdbe0029</id>
|
|
<divHeight>0</divHeight>
|
|
<divWidth>0</divWidth>
|
|
<position>0</position>
|
|
<contentId>TABLE#2c9c81b5669ec8de01669fc89d9e0017</contentId>
|
|
<report>2c9c81b5669ec8de01669fc5026a0002</report>
|
|
<contentType>TABLE</contentType>
|
|
</layout>
|
|
</layouts>
|
|
</TenwaReport>
|