370 lines
16 KiB
XML
370 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>ff8080816c94eea9016bf6d368c5021e</id>
|
|
<name>渠道商保证金代偿红冲</name>
|
|
<enname>distributor_repay_back</enname>
|
|
<position>24</position>
|
|
<reportType>REPORT</reportType>
|
|
<parentReport>2c9c81b7685efbbc016931c675a50006</parentReport>
|
|
<children/>
|
|
<layouts>
|
|
<layout>2c9c81b969188a33016ce6853c0c00b9</layout>
|
|
</layouts>
|
|
</report>
|
|
</reports>
|
|
<tables>
|
|
<table>
|
|
<id>ff8080816c94eea9016bf6d368c0021d</id>
|
|
<name>渠道商保证金代偿红冲</name>
|
|
<enname>distributor_repay_back</enname>
|
|
<reportDataSource>2c9023815726a036015726a496b00001</reportDataSource>
|
|
<queryType>SIMPLESQL</queryType>
|
|
<sql>select tt.distributor_name,
|
|
tt.contract_no,
|
|
tt.customer_name,
|
|
tt.plan_list,
|
|
tt.rinputtime,
|
|
tt.rent,
|
|
tt.dcaution_money,
|
|
tt.PENALTY,
|
|
tt.caution_money,
|
|
tt.dinputtime,
|
|
tt.income_money,
|
|
tt.lripenalty,
|
|
tt.back as back from
|
|
(SELECT di.distributor_name,lci.contract_no,lul.customer_name,lrp.plan_list,LEFT(O.INPUTTIME,10) AS rinputtime,lrp.rent,ddi.caution_money AS dcaution_money,lrp.PENALTY,O.caution_money,LEFT(lri.hire_date,10) AS
|
|
dinputtime,lri.income_money,lri.penalty AS lripenalty,IF(ddi.caution_money=O.caution_money,'已红冲','未红冲') AS back
|
|
FROM D_DEPOSITRETURN_INFO O
|
|
LEFT JOIN lc_rent_plan lrp ON O.rent_plan_id=lrp.id
|
|
LEFT JOIN lb_contract_info lci ON lci.id=lrp.contract_id
|
|
LEFT JOIN (SELECT SUM(caution_money) AS caution_money,rent_plan_id,inputtime FROM D_DEPOSITCHARGE_INFO GROUP BY rent_plan_id)ddi ON ddi.rent_plan_id=o.rent_plan_id
|
|
LEFT JOIN distributor_info di ON di.distributor_no=O.distributor_id
|
|
LEFT JOIN lb_union_lessee lul ON lul.contract_id=lrp.contract_id
|
|
LEFT JOIN (SELECT SUM(rent+penalty) AS income_money,plan_id,sum(penalty) as penalty,MAX(hire_date) AS hire_date FROM lc_rent_income GROUP BY plan_id) lri ON lri.plan_id=lrp.id
|
|
WHERE O.money_type='bondRepay' ) tt where 1=1
|
|
</sql>
|
|
<sqlParamValue></sqlParamValue>
|
|
<columns>
|
|
<column>
|
|
<id>ff8080816c94eea9016bf6dac49d023b</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>ff8080816c94eea9016bf6dac49d0232</id>
|
|
<name>contract_no</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>合同编号</label>
|
|
<enLabel>contract_no</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>ff8080816c94eea9016bf6dac49d0238</id>
|
|
<name>customer_name</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>客户姓名</label>
|
|
<enLabel>customer_name</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>ff8080816c94eea9016bf6dac49d0237</id>
|
|
<name>plan_list</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>期次</label>
|
|
<enLabel>plan_list</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>ff8080816c94eea9016bf6dac49d0235</id>
|
|
<name>rent</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>租金</label>
|
|
<enLabel>rent</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>ff8080816c94eea9016bf6dac49d0234</id>
|
|
<name>rinputtime</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>代偿日期</label>
|
|
<enLabel>rinputtime</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>ff8080816c94eea9016bf6dac49d0231</id>
|
|
<name>caution_money</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>代偿金额</label>
|
|
<enLabel>caution_money</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>ff8080816c94eea9016bf6dac49d023d</id>
|
|
<name>PENALTY</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>代偿罚息</label>
|
|
<enLabel>PENALTY</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>ff8080816c94eea9016bf6dac49d0233</id>
|
|
<name>dinputtime</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>红冲日期</label>
|
|
<enLabel>dinputtime</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>ff8080816c94eea9016bf6dac49d023c</id>
|
|
<name>dcaution_money</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>红冲金额</label>
|
|
<enLabel>dcaution_money</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>ff8080816c94eea9016bf6dac49d0239</id>
|
|
<name>income_money</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>实收金额</label>
|
|
<enLabel>income_money</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>ff8080816c94eea9016bf6dac49d0236</id>
|
|
<name>lripenalty</name>
|
|
<columnDataType>NUMBER</columnDataType>
|
|
<formater></formater>
|
|
<label>实收罚息</label>
|
|
<enLabel>lripenalty</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>ff8080816c94eea9016bf6dac49d023a</id>
|
|
<name>back</name>
|
|
<columnDataType>STRING</columnDataType>
|
|
<formater></formater>
|
|
<label>是否红冲</label>
|
|
<enLabel>back</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>
|
|
</columns>
|
|
<controls/>
|
|
<searchs/>
|
|
<searchExpress></searchExpress>
|
|
<filters>
|
|
<filter>
|
|
<id>ff8080816c94eea9016bf6dac49d023e</id>
|
|
<name>distributor_name</name>
|
|
<label>经销商名称</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>0</position>
|
|
</filter>
|
|
<filter>
|
|
<id>ff8080816c94eea9016bf6dac49d0240</id>
|
|
<name>contract_no</name>
|
|
<enname>contract_no</enname>
|
|
<label>合同编号</label>
|
|
<filterType>FILTER</filterType>
|
|
<dbType>STRING</dbType>
|
|
<htmlType>TEXT</htmlType>
|
|
<position>1</position>
|
|
</filter>
|
|
<filter>
|
|
<id>ff8080816c94eea9016bf6dac49d023f</id>
|
|
<name>back</name>
|
|
<enname>back</enname>
|
|
<label>是否红冲</label>
|
|
<filterType>FILTER</filterType>
|
|
<htmlType>COMBOBOX</htmlType>
|
|
<filterDataRequestType>SQL</filterDataRequestType>
|
|
<comboBoxDataSource>SELECT '未红冲' FROM DUAL UNION ALL SELECT '已红冲' FROM DUAL</comboBoxDataSource>
|
|
<position>2</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>2c9c81b969188a33016ce6853c0c00b9</id>
|
|
<divHeight>0</divHeight>
|
|
<divWidth>0</divWidth>
|
|
<position>0</position>
|
|
<contentId>TABLE#ff8080816c94eea9016bf6d368c0021d</contentId>
|
|
<report>ff8080816c94eea9016bf6d368c5021e</report>
|
|
<contentType>TABLE</contentType>
|
|
</layout>
|
|
</layouts>
|
|
</TenwaReport>
|