418 lines
22 KiB
XML
418 lines
22 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>2c9c81b5687ebb7e016985971c4902a9</id>
|
||
<name>进件明细表</name>
|
||
<enname>jjmx</enname>
|
||
<code>REPORT_CODE_1552724466760</code>
|
||
<isActived>true</isActived>
|
||
<position>45</position>
|
||
<reportType>REPORT</reportType>
|
||
<parentReport>2c9c81b7685efbbc016931c6eff50007</parentReport>
|
||
<children/>
|
||
<layouts>
|
||
<layout>2c9c81b5687ebb7e0169859cb6d902b9</layout>
|
||
</layouts>
|
||
</report>
|
||
</reports>
|
||
<tables>
|
||
<table>
|
||
<id>2c9c81b5687ebb7e01698597d0c302aa</id>
|
||
<name>进件明细表</name>
|
||
<enname>jjmx</enname>
|
||
<reportDataSource>2c9023815726a036015726a496b00001</reportDataSource>
|
||
<queryType>COMPLEXSQL</queryType>
|
||
<sql>SELECT input.inputtime,CASE WHEN input.inputjtxz='f_i_type01' THEN '集团内' ELSE '集团外' END AS F_I_TYPE,input.inputsf,SUBSTRING(clcs.itemname,CHARACTER_LENGTH(clsf.itemname)+1) jzcs,input.jxsname,psl.specificname,input.inputnumber,input.inputrze,via.vianumber,via.viarze,veto.vetonumber,veto.vetorze,repeal.repealnumber,repeal.repealrze FROM (
|
||
SELECT
|
||
DATE(ft.endtime)inputtime,di.F_I_TYPE inputjtxz,di.PROVINCES inputsf,di.distributor_address inputcs,di.DISTRIBUTOR_NAME jxsname,psl.specificname inputcp,SUM(lcct.CLEAN_LEASE_MONEY) inputrze,COUNT(di.F_I_TYPE) inputnumber,lpit.PRODUCT_ID PRODUCT_ID
|
||
FROM flow_bussiness_object fbo LEFT JOIN flow_task ft ON fbo.flow_unid=ft.objectno LEFT JOIN lb_project_info_temp lpit ON fbo.proj_id=lpit.id LEFT JOIN distributor_info di ON lpit.distributor_id=di.distributor_no LEFT JOIN LC_CALC_CONDITION_TEMP lcct ON lcct.flowunid=fbo.flow_unid LEFT JOIN PRD_SPECIFIC_LIBRARY psl ON psl.productid=lpit.product_id WHERE fbo.flow_name='业务申请流程' AND (ft.phasename='否决' OR ft.phasename='结束')
|
||
GROUP BY DATE(ft.endtime),di.F_I_TYPE,di.PROVINCES,di.distributor_address,di.DISTRIBUTOR_NAME,psl.specificname) input LEFT JOIN (
|
||
SELECT
|
||
DATE(ft.endtime)viatime,di.F_I_TYPE viajtxz,di.PROVINCES viasf,di.distributor_address viacs,di.DISTRIBUTOR_NAME viajxsname,psl.specificname viacp,SUM(lcct.CLEAN_LEASE_MONEY) viarze,COUNT(di.F_I_TYPE) vianumber
|
||
FROM flow_bussiness_object fbo LEFT JOIN flow_task ft ON fbo.flow_unid=ft.objectno LEFT JOIN lb_project_info_temp lpit ON fbo.proj_id=lpit.id LEFT JOIN distributor_info di ON lpit.distributor_id=di.distributor_no LEFT JOIN LC_CALC_CONDITION_TEMP lcct ON lcct.flowunid=fbo.flow_unid LEFT JOIN PRD_SPECIFIC_LIBRARY psl ON psl.productid=lpit.product_id WHERE fbo.flow_name='业务申请流程' AND ft.phasename='结束'
|
||
GROUP BY DATE(ft.endtime),di.F_I_TYPE,di.PROVINCES,di.distributor_address,di.DISTRIBUTOR_NAME,psl.specificname
|
||
) via ON input.inputtime=via.viatime AND input.inputjtxz=via.viajtxz AND input.inputsf=via.viasf AND input.inputcs=via.viacs AND input.jxsname=via.viajxsname AND input.inputcp=via.viacp
|
||
|
||
LEFT JOIN (
|
||
SELECT
|
||
DATE(ft.endtime) vetotime,di.F_I_TYPE vetojtxz,di.PROVINCES vetosf,di.distributor_address vetocs,di.DISTRIBUTOR_NAME vetojxsname,psl.specificname vetocp,SUM(lcct.CLEAN_LEASE_MONEY) vetorze,COUNT(di.F_I_TYPE) vetonumber
|
||
FROM flow_bussiness_object fbo LEFT JOIN flow_task ft ON fbo.flow_unid=ft.objectno LEFT JOIN lb_project_info_temp lpit ON fbo.proj_id=lpit.id LEFT JOIN distributor_info di ON lpit.distributor_id=di.distributor_no LEFT JOIN LC_CALC_CONDITION_TEMP lcct ON lcct.flowunid=fbo.flow_unid LEFT JOIN PRD_SPECIFIC_LIBRARY psl ON psl.productid=lpit.product_id WHERE fbo.flow_name='业务申请流程' AND ft.phasename='否决'
|
||
GROUP BY DATE(ft.endtime),di.F_I_TYPE,di.PROVINCES,di.distributor_address,di.DISTRIBUTOR_NAME,psl.specificname) veto ON input.inputtime=veto.vetotime AND input.inputjtxz=veto.vetojtxz AND input.inputsf=veto.vetosf AND input.inputcs=veto.vetocs AND input.jxsname=veto.vetojxsname AND input.inputcp=veto.vetocp
|
||
|
||
LEFT JOIN (SELECT
|
||
DATE(ft.endtime) repealtime,di.F_I_TYPE repealjtxz,di.PROVINCES repealsf,di.distributor_address repealcs,di.DISTRIBUTOR_NAME repealjxsname,psl.specificname repealcp,SUM(lcct.CLEAN_LEASE_MONEY) repealrze,COUNT(di.F_I_TYPE) repealnumber
|
||
FROM flow_bussiness_object fbo LEFT JOIN flow_task ft ON fbo.flow_unid=ft.objectno LEFT JOIN lb_project_info_temp lpit ON fbo.proj_id=lpit.id LEFT JOIN distributor_info di ON lpit.distributor_id=di.distributor_no LEFT JOIN LC_CALC_CONDITION_TEMP lcct ON lcct.flowunid=fbo.flow_unid LEFT JOIN PRD_SPECIFIC_LIBRARY psl ON psl.productid=lpit.product_id WHERE (fbo.flow_name='业务撤销流程' OR fbo.flow_name='合同撤销流程(汽车)' ) AND ft.phasename='结束'
|
||
GROUP BY DATE(ft.endtime),di.F_I_TYPE,di.PROVINCES,di.distributor_address,di.DISTRIBUTOR_NAME,psl.specificname) repeal ON input.inputtime=repeal.repealtime AND input.inputjtxz=repeal.repealjtxz AND input.inputsf=repeal.repealsf AND input.inputcs=repeal.repealcs AND input.jxsname=repeal.repealjxsname AND input.inputcp=repeal.repealcp LEFT JOIN code_library clcs ON clcs.sortno=LEFT(input.inputcs,4) AND clcs.CodeNO='AreaCode' LEFT JOIN code_library clsf ON clsf.sortno=LEFT(input.inputcs,2) AND clsf.CodeNO='AreaCode' LEFT JOIN PRD_SPECIFIC_LIBRARY psl ON psl.productid=input.product_id ORDER BY input.inputtime DESC</sql>
|
||
<sqlParamValue></sqlParamValue>
|
||
<columns>
|
||
<column>
|
||
<id>2c9c81b5687ebb7e01698597d0c402af</id>
|
||
<name>inputtime</name>
|
||
<columnDataType>DATE</columnDataType>
|
||
<formater></formater>
|
||
<label>日期</label>
|
||
<enLabel>inputtime</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>2c9c81b5687ebb7e01698597d0c402ac</id>
|
||
<name>F_I_TYPE</name>
|
||
<columnDataType>STRING</columnDataType>
|
||
<formater></formater>
|
||
<label>集团内外</label>
|
||
<enLabel>F_I_TYPE</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>2c9c81b5687ebb7e01698597d0c402ab</id>
|
||
<name>inputsf</name>
|
||
<columnDataType>STRING</columnDataType>
|
||
<formater></formater>
|
||
<label>省份</label>
|
||
<enLabel>inputsf</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>2c9c81b5687ebb7e01698597d0c402ad</id>
|
||
<name>jzcs</name>
|
||
<columnDataType>STRING</columnDataType>
|
||
<formater></formater>
|
||
<label>地区</label>
|
||
<enLabel>jzcs</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>2c9c81b5687ebb7e01698597d0c402b5</id>
|
||
<name>jxsname</name>
|
||
<columnDataType>STRING</columnDataType>
|
||
<formater></formater>
|
||
<label>渠道(经销商、SP)</label>
|
||
<enLabel>jxsname</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>2c9c81b5687ebb7e01698597d0c402b1</id>
|
||
<name>specificname</name>
|
||
<columnDataType>STRING</columnDataType>
|
||
<formater></formater>
|
||
<label>金融产品名称</label>
|
||
<enLabel>specificname</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>2c9c81b5687ebb7e01698597d0c402b7</id>
|
||
<name>inputnumber</name>
|
||
<columnDataType>NUMBER</columnDataType>
|
||
<formater></formater>
|
||
<label>进件上报(数量)</label>
|
||
<enLabel>inputnumber</enLabel>
|
||
<width>100</width>
|
||
<position>20</position>
|
||
<isVisible>true</isVisible>
|
||
<color></color>
|
||
<isCountTotal>true</isCountTotal>
|
||
<isCountSubTotal>false</isCountSubTotal>
|
||
<isGroupby>false</isGroupby>
|
||
<isMerge>false</isMerge>
|
||
<action></action>
|
||
<actionParamters></actionParamters>
|
||
<actionCondition></actionCondition>
|
||
</column>
|
||
<column>
|
||
<id>2c9c81b5687ebb7e01698597d0c402b6</id>
|
||
<name>inputrze</name>
|
||
<columnDataType>NUMBER</columnDataType>
|
||
<formater></formater>
|
||
<label>进件上报(融资金额)</label>
|
||
<enLabel>inputrze</enLabel>
|
||
<width>100</width>
|
||
<position>21</position>
|
||
<isVisible>true</isVisible>
|
||
<color></color>
|
||
<isCountTotal>true</isCountTotal>
|
||
<isCountSubTotal>false</isCountSubTotal>
|
||
<isGroupby>false</isGroupby>
|
||
<isMerge>false</isMerge>
|
||
<action></action>
|
||
<actionParamters></actionParamters>
|
||
<actionCondition></actionCondition>
|
||
</column>
|
||
<column>
|
||
<id>2c9c81b5687ebb7e01698597d0c402b4</id>
|
||
<name>vianumber</name>
|
||
<columnDataType>NUMBER</columnDataType>
|
||
<formater></formater>
|
||
<label>进件通过(数量)</label>
|
||
<enLabel>vianumber</enLabel>
|
||
<width>100</width>
|
||
<position>22</position>
|
||
<isVisible>true</isVisible>
|
||
<color></color>
|
||
<isCountTotal>true</isCountTotal>
|
||
<isCountSubTotal>false</isCountSubTotal>
|
||
<isGroupby>false</isGroupby>
|
||
<isMerge>false</isMerge>
|
||
<action></action>
|
||
<actionParamters></actionParamters>
|
||
<actionCondition></actionCondition>
|
||
</column>
|
||
<column>
|
||
<id>2c9c81b5687ebb7e01698597d0c402b3</id>
|
||
<name>viarze</name>
|
||
<columnDataType>NUMBER</columnDataType>
|
||
<formater></formater>
|
||
<label>进件通过(融资金额)</label>
|
||
<enLabel>viarze</enLabel>
|
||
<width>100</width>
|
||
<position>23</position>
|
||
<isVisible>true</isVisible>
|
||
<color></color>
|
||
<isCountTotal>true</isCountTotal>
|
||
<isCountSubTotal>false</isCountSubTotal>
|
||
<isGroupby>false</isGroupby>
|
||
<isMerge>false</isMerge>
|
||
<action></action>
|
||
<actionParamters></actionParamters>
|
||
<actionCondition></actionCondition>
|
||
</column>
|
||
<column>
|
||
<id>2c9c81b5687ebb7e01698597d0c402b2</id>
|
||
<name>vetonumber</name>
|
||
<columnDataType>NUMBER</columnDataType>
|
||
<formater></formater>
|
||
<label>进件拒绝(数量)</label>
|
||
<enLabel>vetonumber</enLabel>
|
||
<width>100</width>
|
||
<position>24</position>
|
||
<isVisible>true</isVisible>
|
||
<color></color>
|
||
<isCountTotal>true</isCountTotal>
|
||
<isCountSubTotal>false</isCountSubTotal>
|
||
<isGroupby>false</isGroupby>
|
||
<isMerge>false</isMerge>
|
||
<action></action>
|
||
<actionParamters></actionParamters>
|
||
<actionCondition></actionCondition>
|
||
</column>
|
||
<column>
|
||
<id>2c9c81b5687ebb7e01698597d0c402b8</id>
|
||
<name>vetorze</name>
|
||
<columnDataType>NUMBER</columnDataType>
|
||
<formater></formater>
|
||
<label>进件拒绝(融资金额)</label>
|
||
<enLabel>vetorze</enLabel>
|
||
<width>100</width>
|
||
<position>25</position>
|
||
<isVisible>true</isVisible>
|
||
<color></color>
|
||
<isCountTotal>true</isCountTotal>
|
||
<isCountSubTotal>false</isCountSubTotal>
|
||
<isGroupby>false</isGroupby>
|
||
<isMerge>false</isMerge>
|
||
<action></action>
|
||
<actionParamters></actionParamters>
|
||
<actionCondition></actionCondition>
|
||
</column>
|
||
<column>
|
||
<id>2c9c81b5687ebb7e01698597d0c402ae</id>
|
||
<name>repealnumber</name>
|
||
<columnDataType>NUMBER</columnDataType>
|
||
<formater></formater>
|
||
<label>进件申请撤销(数量)</label>
|
||
<enLabel>repealnumber</enLabel>
|
||
<width>100</width>
|
||
<position>26</position>
|
||
<isVisible>true</isVisible>
|
||
<color></color>
|
||
<isCountTotal>true</isCountTotal>
|
||
<isCountSubTotal>false</isCountSubTotal>
|
||
<isGroupby>false</isGroupby>
|
||
<isMerge>false</isMerge>
|
||
<action></action>
|
||
<actionParamters></actionParamters>
|
||
<actionCondition></actionCondition>
|
||
</column>
|
||
<column>
|
||
<id>2c9c81b5687ebb7e01698597d0c402b0</id>
|
||
<name>repealrze</name>
|
||
<columnDataType>NUMBER</columnDataType>
|
||
<formater></formater>
|
||
<label>进件申请撤销(融资金额)</label>
|
||
<enLabel>repealrze</enLabel>
|
||
<width>100</width>
|
||
<position>27</position>
|
||
<isVisible>true</isVisible>
|
||
<color></color>
|
||
<isCountTotal>true</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>2c9c81b5687ebb7e0169859d7e2a02ba</id>
|
||
<name>F_I_TYPE</name>
|
||
<enname>F_I_TYPE</enname>
|
||
<label>集团内外</label>
|
||
<filterType>FILTER</filterType>
|
||
<dbType>STRING</dbType>
|
||
<htmlType>TEXT</htmlType>
|
||
<position>0</position>
|
||
</filter>
|
||
<filter>
|
||
<id>2c9c81b5687ebb7e0169859e08a402bb</id>
|
||
<name>inputsf</name>
|
||
<enname>inputsf</enname>
|
||
<label>省份</label>
|
||
<filterType>FILTER</filterType>
|
||
<dbType>STRING</dbType>
|
||
<htmlType>TEXT</htmlType>
|
||
<position>1</position>
|
||
</filter>
|
||
<filter>
|
||
<id>2c9c81b5687ebb7e0169859e5ab602bc</id>
|
||
<name>jzcs</name>
|
||
<enname>jzcs</enname>
|
||
<label>地区</label>
|
||
<filterType>FILTER</filterType>
|
||
<dbType>STRING</dbType>
|
||
<htmlType>TEXT</htmlType>
|
||
<position>2</position>
|
||
</filter>
|
||
<filter>
|
||
<id>2c9c81b5687ebb7e0169859eb7a502bd</id>
|
||
<name>jxsname</name>
|
||
<enname>jxsname</enname>
|
||
<label>渠道(经销商、SP)</label>
|
||
<filterType>FILTER</filterType>
|
||
<dbType>STRING</dbType>
|
||
<htmlType>TEXT</htmlType>
|
||
<position>3</position>
|
||
</filter>
|
||
<filter>
|
||
<id>2c9c81b5687ebb7e0169859f0f3502be</id>
|
||
<name>specificname</name>
|
||
<enname>specificname</enname>
|
||
<label>金融产品名称</label>
|
||
<filterType>FILTER</filterType>
|
||
<dbType>STRING</dbType>
|
||
<htmlType>TEXT</htmlType>
|
||
<position>4</position>
|
||
</filter>
|
||
<filter>
|
||
<id>2c9c81b5687ebb7e0169859f5fdf02bf</id>
|
||
<name>inputtime</name>
|
||
<enname>inputtime</enname>
|
||
<label>日期</label>
|
||
<filterType>FILTER</filterType>
|
||
<dbType>DATE</dbType>
|
||
<htmlType>DATERANGE</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>2c9c81b5687ebb7e0169859cb6d902b9</id>
|
||
<divHeight>0</divHeight>
|
||
<divWidth>0</divWidth>
|
||
<position>0</position>
|
||
<contentId>TABLE#2c9c81b5687ebb7e01698597d0c302aa</contentId>
|
||
<report>2c9c81b5687ebb7e016985971c4902a9</report>
|
||
<contentType>TABLE</contentType>
|
||
</layout>
|
||
</layouts>
|
||
</TenwaReport>
|