likunming 8 months ago
parent
commit
cf00d61a87
  1. 42
      app.irbs/src/main/resources/liquibase/data/irbs/P_IRS_CUST_FEATURE_RET.csv
  2. 10
      irbs.feature/src/main/java/irbs/feature/controller/CustFeatureRetController.java
  3. 2304
      irbs.feature/src/main/java/irbs/feature/jpa/support/CorpCustFeatureRetVo.java
  4. 2
      irbs.feature/src/main/java/irbs/feature/service/CustFeatureRetService.java
  5. 627
      irbs.feature/src/main/java/irbs/feature/service/impl/CustFeatureRetServiceImpl.java
  6. 236
      irbs.frontend/src/views/query/CorpCustFeatureRet.vue
  7. 57
      irbs.frontend/src/views/query/InstitutionCustFeatureRet.vue

42
app.irbs/src/main/resources/liquibase/data/irbs/P_IRS_CUST_FEATURE_RET.csv

@ -21,4 +21,44 @@
"6","20240630","2024053100001",,"FZ027",,"0.330000",,,,,,"_PRIMARY_"
"7","20240630","2024053100001",,"XJ028",,"1.870000",,,,,,"_PRIMARY_"
"8","20240630","2024053100001",,"XJ027",,"0.980000",,,,,,"_PRIMARY_"
"9","20240630","2024053100001",,"CZ027",,"0.650000",,,,,,"_PRIMARY_"
"9","20240630","2024053100001",,"CZ027",,"0.650000",,,,,,"_PRIMARY_"
"20","20240630","2024053100002",,"CZ039","","0.3567",,,,,,"_PRIMARY_"
"21","20240630","2024053100002",,"YL037",,"0.1987",,,,,,"_PRIMARY_"
"22","20240630","2024053100002",,"YY005",,"1.0982",,,,,,"_PRIMARY_"
"23","20240630","2024053100002",,"GM001",,"544300098",,,,,,"_PRIMARY_"
"24","20240630","2024053100002",,"GM011",,"34367688",,,,,,"_PRIMARY_"
"25","20240630","2024053100002",,"YY033",,"0.10344",,,,,,"_PRIMARY_"
"26","20240630","2024053100002",,"GM007",,"563445",,,,,,"_PRIMARY_"
"27","20240630","2024053100002",,"QT016",,"66544431",,,,,,"_PRIMARY_"
"28","20240630","2024053100002",,"YY013",,"1.56",,,,,,"_PRIMARY_"
"29","20240630","2024053100002",,"GM017",,"4565565",,,,,,"_PRIMARY_"
"30","20240630","2024053100002",,"YY007",,"0.04334",,,,,,"_PRIMARY_"
"31","20240630","2024053100002",,"CZ026",,"343.4",,,,,,"_PRIMARY_"
"32","20240630","2024053100002",,"YY010",,"0.8971",,,,,,"_PRIMARY_"
"33","20240630","2024053100002",,"CZ038","","0.75123",,,,,,"_PRIMARY_"
"34","20240630","2024053100002",,"YL032",,"0.3343",,,,,,"_PRIMARY_"
"35","20240630","2024053100002",,"CZ036",,"0.01763",,,,,,"_PRIMARY_"
"36","20240630","2024053100002",,"CZ045",,"0.37343",,,,,,"_PRIMARY_"
"37","20240630","2024053100002",,"GM009",,"9947343",,,,,,"_PRIMARY_"
"38","20240630","2024053100002",,"CZ041",,"0.9374",,,,,,"_PRIMARY_"
"39","20240630","2024053100002",,"DB002",,"0.0871",,,,,,"_PRIMARY_"
"40","20240630","2024053100003",,"SY_FZ015","","0.3567",,,,,,"_PRIMARY_"
"41","20240630","2024053100003",,"SY_FZ012",,"0.1987",,,,,,"_PRIMARY_"
"42","20240630","2024053100003",,"SY_CZ039",,"1.0982",,,,,,"_PRIMARY_"
"43","20240630","2024053100003",,"SY_GM001",,"544300098",,,,,,"_PRIMARY_"
"44","20240630","2024053100003",,"SY_QT018",,"34367688",,,,,,"_PRIMARY_"
"45","20240630","2024053100003",,"SY_FZ003",,"0.10344",,,,,,"_PRIMARY_"
"46","20240630","2024053100003",,"SY_GM002",,"563445",,,,,,"_PRIMARY_"
"47","20240630","2024053100003",,"SY_GM007",,"66544431",,,,,,"_PRIMARY_"
"48","20240630","2024053100003",,"SY_CZ044",,"1.56",,,,,,"_PRIMARY_"
"49","20240630","2024053100003",,"SY_QT004",,"0.9722",,,,,,"_PRIMARY_"
"50","20240630","2024053100003",,"SY_CZ043",,"0.04334",,,,,,"_PRIMARY_"
"51","20240630","2024053100003",,"SY_CZ006",,"3.411",,,,,,"_PRIMARY_"
"52","20240630","2024053100003",,"SY_CZ041",,"0.8971",,,,,,"_PRIMARY_"
"53","20240630","2024053100003",,"SY_CZ020","","0.75123",,,,,,"_PRIMARY_"
"54","20240630","2024053100003",,"SY_CZ017",,"0.3343",,,,,,"_PRIMARY_"
"55","20240630","2024053100003",,"SY_FZ010",,"0.01763",,,,,,"_PRIMARY_"
"56","20240630","2024053100003",,"SY_CZ009",,"0.37343",,,,,,"_PRIMARY_"
"57","20240630","2024053100003",,"SY_FZ011",,"0.7522",,,,,,"_PRIMARY_"
"58","20240630","2024053100003",,"SY_QT005",,"0.9374",,,,,,"_PRIMARY_"
"59","20240630","2024053100003",,"SY_CZ042",,"0.9374",,,,,,"_PRIMARY_"
1 P_IRS_CUST_FEATURE_RET _PRIMARY_ _PRIMARY_
21 6 20240630 2024053100001 FZ027 0.330000 _PRIMARY_
22 7 20240630 2024053100001 XJ028 1.870000 _PRIMARY_
23 8 20240630 2024053100001 XJ027 0.980000 _PRIMARY_
24 9 20240630 2024053100001 CZ027 0.650000 _PRIMARY_
25 20 20240630 2024053100002 CZ039 0.3567 _PRIMARY_
26 21 20240630 2024053100002 YL037 0.1987 _PRIMARY_
27 22 20240630 2024053100002 YY005 1.0982 _PRIMARY_
28 23 20240630 2024053100002 GM001 544300098 _PRIMARY_
29 24 20240630 2024053100002 GM011 34367688 _PRIMARY_
30 25 20240630 2024053100002 YY033 0.10344 _PRIMARY_
31 26 20240630 2024053100002 GM007 563445 _PRIMARY_
32 27 20240630 2024053100002 QT016 66544431 _PRIMARY_
33 28 20240630 2024053100002 YY013 1.56 _PRIMARY_
34 29 20240630 2024053100002 GM017 4565565 _PRIMARY_
35 30 20240630 2024053100002 YY007 0.04334 _PRIMARY_
36 31 20240630 2024053100002 CZ026 343.4 _PRIMARY_
37 32 20240630 2024053100002 YY010 0.8971 _PRIMARY_
38 33 20240630 2024053100002 CZ038 0.75123 _PRIMARY_
39 34 20240630 2024053100002 YL032 0.3343 _PRIMARY_
40 35 20240630 2024053100002 CZ036 0.01763 _PRIMARY_
41 36 20240630 2024053100002 CZ045 0.37343 _PRIMARY_
42 37 20240630 2024053100002 GM009 9947343 _PRIMARY_
43 38 20240630 2024053100002 CZ041 0.9374 _PRIMARY_
44 39 20240630 2024053100002 DB002 0.0871 _PRIMARY_
45 40 20240630 2024053100003 SY_FZ015 0.3567 _PRIMARY_
46 41 20240630 2024053100003 SY_FZ012 0.1987 _PRIMARY_
47 42 20240630 2024053100003 SY_CZ039 1.0982 _PRIMARY_
48 43 20240630 2024053100003 SY_GM001 544300098 _PRIMARY_
49 44 20240630 2024053100003 SY_QT018 34367688 _PRIMARY_
50 45 20240630 2024053100003 SY_FZ003 0.10344 _PRIMARY_
51 46 20240630 2024053100003 SY_GM002 563445 _PRIMARY_
52 47 20240630 2024053100003 SY_GM007 66544431 _PRIMARY_
53 48 20240630 2024053100003 SY_CZ044 1.56 _PRIMARY_
54 49 20240630 2024053100003 SY_QT004 0.9722 _PRIMARY_
55 50 20240630 2024053100003 SY_CZ043 0.04334 _PRIMARY_
56 51 20240630 2024053100003 SY_CZ006 3.411 _PRIMARY_
57 52 20240630 2024053100003 SY_CZ041 0.8971 _PRIMARY_
58 53 20240630 2024053100003 SY_CZ020 0.75123 _PRIMARY_
59 54 20240630 2024053100003 SY_CZ017 0.3343 _PRIMARY_
60 55 20240630 2024053100003 SY_FZ010 0.01763 _PRIMARY_
61 56 20240630 2024053100003 SY_CZ009 0.37343 _PRIMARY_
62 57 20240630 2024053100003 SY_FZ011 0.7522 _PRIMARY_
63 58 20240630 2024053100003 SY_QT005 0.9374 _PRIMARY_
64 59 20240630 2024053100003 SY_CZ042 0.9374 _PRIMARY_

10
irbs.feature/src/main/java/irbs/feature/controller/CustFeatureRetController.java

@ -20,8 +20,14 @@ public class CustFeatureRetController {
@GetMapping("corpquery")
@ResponseBody
public List<CorpCustFeatureRetVo> corpquery(QueryParameter queryParameter) throws Exception {
return custFeatureRetService.queryForPage(queryParameter);
public List<CorpCustFeatureRetVo> corpquery(String custNo, String custName) throws Exception {
return custFeatureRetService.queryForPage("corp", custNo, custName);
}
@GetMapping("instquery")
@ResponseBody
public List<CorpCustFeatureRetVo> instquery(String custNo, String custName) throws Exception {
return custFeatureRetService.queryForPage("inst", custNo, custName);
}
}

2304
irbs.feature/src/main/java/irbs/feature/jpa/support/CorpCustFeatureRetVo.java

File diff suppressed because it is too large

2
irbs.feature/src/main/java/irbs/feature/service/CustFeatureRetService.java

@ -10,5 +10,5 @@ import java.util.List;
public interface CustFeatureRetService extends DaoService<CustFeatureRet, String, CustFeatureRetRepository> {
List<CorpCustFeatureRetVo> queryForPage(QueryParameter queryParameter) throws Exception;
List<CorpCustFeatureRetVo> queryForPage(String type, String custNo, String custName) throws Exception;
}

627
irbs.feature/src/main/java/irbs/feature/service/impl/CustFeatureRetServiceImpl.java

@ -2,6 +2,7 @@ package irbs.feature.service.impl;
import io.sc.platform.orm.service.impl.DaoServiceImpl;
import io.sc.platform.orm.service.support.QueryParameter;
import io.sc.platform.orm.service.support.criteria.Criteria;
import irbs.feature.jpa.entity.CustFeatureParams;
import irbs.feature.jpa.entity.CustFeatureRet;
import irbs.feature.jpa.repository.CustFeatureParamsRepository;
@ -10,6 +11,7 @@ import irbs.feature.jpa.support.CorpCustFeatureRetVo;
import irbs.feature.service.CustFeatureParamsService;
import irbs.feature.service.CustFeatureRetService;
import irbs.feature.utils.DateUtil;
import liquibase.util.StringUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.jdbc.core.JdbcTemplate;
@ -25,66 +27,11 @@ public class CustFeatureRetServiceImpl extends DaoServiceImpl<CustFeatureRet, St
@Autowired
private JdbcTemplate jdbcTemplate;
@Override
public List<CorpCustFeatureRetVo> queryForPage(QueryParameter queryParameter) throws Exception {
String sql = "select \n" +
" t1.DATA_DT,\n" +
" t1.CUST_NO,\n" +
"\tCASE WHEN t1.FEATURE_CODE = 'GM014' then t1.FEATURE_VALUE else null end as GM014,\n" +
"\tCASE WHEN t2.FEATURE_CODE = 'GM015' then t2.FEATURE_VALUE else null end as GM015,\n" +
"\tCASE WHEN t3.FEATURE_CODE = 'GM016' then t3.FEATURE_VALUE else null end as GM016,\n" +
"\tCASE WHEN t4.FEATURE_CODE = 'GM013' then t4.FEATURE_VALUE else null end as GM013,\n" +
"\tCASE WHEN t5.FEATURE_CODE = 'CZ066' then t5.FEATURE_VALUE else null end as CZ066,\n" +
"\tCASE WHEN t6.FEATURE_CODE = 'FZ027' then t6.FEATURE_VALUE else null end as FZ027,\n" +
"\tCASE WHEN t7.FEATURE_CODE = 'XJ028' then t7.FEATURE_VALUE else null end as XJ028,\n" +
"\tCASE WHEN t8.FEATURE_CODE = 'XJ027' then t8.FEATURE_VALUE else null end as XJ027,\n" +
"\tCASE WHEN t9.FEATURE_CODE = 'CZ027' then t9.FEATURE_VALUE else null end as CZ027,\n" +
"\tCASE WHEN t10.FEATURE_CODE = 'CZ028' then t10.FEATURE_VALUE else null end as CZ028,\n" +
"\tCASE WHEN t12.FEATURE_CODE = 'YL015' then t12.FEATURE_VALUE else null end as YL015,\n" +
"\tCASE WHEN t13.FEATURE_CODE = 'CZ060' then t13.FEATURE_VALUE else null end as CZ060,\n" +
"\tCASE WHEN t14.FEATURE_CODE = 'CZ056' then t14.FEATURE_VALUE else null end as CZ056,\n" +
"\tCASE WHEN t15.FEATURE_CODE = 'YL006' then t15.FEATURE_VALUE else null end as YL006,\n" +
"\tCASE WHEN t16.FEATURE_CODE = 'XJ034' then t16.FEATURE_VALUE else null end as XJ034,\n" +
"\tCASE WHEN t17.FEATURE_CODE = 'CZ030' then t17.FEATURE_VALUE else null end as CZ030,\n" +
"\tCASE WHEN t18.FEATURE_CODE = 'YL034' then t18.FEATURE_VALUE else null end as YL034,\n" +
"\tCASE WHEN t19.FEATURE_CODE = 'CZ041' then t19.FEATURE_VALUE else null end as CZ041,\n" +
"\tCASE WHEN t20.FEATURE_CODE = 'FZ008' then t20.FEATURE_VALUE else null end as FZ008\n" +
"from (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'GM014') t1\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'GM015') t2 \n" +
" on t2.data_dt = t1.data_dt and t2.cust_no=t1.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'GM016') t3 \n" +
" on t3.data_dt = t1.data_dt and t3.cust_no=t1.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'GM013') t4 \n" +
" on t4.data_dt = t1.data_dt and t4.cust_no=t1.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ066') t5 \n" +
" on t5.data_dt = t1.data_dt and t5.cust_no=t1.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'FZ027') t6 \n" +
" on t6.data_dt = t1.data_dt and t6.cust_no=t1.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ028') t7 \n" +
" on t7.data_dt = t1.data_dt and t7.cust_no=t1.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ027') t8 \n" +
" on t8.data_dt = t1.data_dt and t8.cust_no=t1.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ027') t9 \n" +
" on t9.data_dt = t1.data_dt and t9.cust_no=t1.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ028') t10 \n" +
" on t10.data_dt = t1.data_dt and t10.cust_no=t1.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL015') t12 \n" +
" on t12.data_dt = t1.data_dt and t12.cust_no=t1.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ060') t13 \n" +
" on t13.data_dt = t1.data_dt and t13.cust_no=t1.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ056') t14 \n" +
" on t14.data_dt = t1.data_dt and t14.cust_no=t1.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL006') t15 \n" +
" on t15.data_dt = t1.data_dt and t15.cust_no=t1.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ034') t16 \n" +
" on t16.data_dt = t1.data_dt and t16.cust_no=t1.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ030') t17 \n" +
" on t17.data_dt = t1.data_dt and t17.cust_no=t1.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL034') t18 \n" +
" on t18.data_dt = t1.data_dt and t18.cust_no=t1.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ041') t19 \n" +
" on t19.data_dt = t1.data_dt and t19.cust_no=t1.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'FZ008') t20\n" +
" on t20.data_dt = t1.data_dt and t20.cust_no=t1.cust_no";
public List<CorpCustFeatureRetVo> queryForPage(String type, String custNo, String custName) throws Exception {
String sql = getCorpCustFeatureRetSql(custNo,custName);
if("inst".equals(type)){
sql = getInstCustFeatureRetSql(custNo,custName);
}
List<Map<String, Object>> list = jdbcTemplate.queryForList(sql);
if(list != null){
List<CorpCustFeatureRetVo> ret = new ArrayList<>();
@ -96,4 +43,564 @@ public class CustFeatureRetServiceImpl extends DaoServiceImpl<CustFeatureRet, St
}
return null;
}
/**
* 查询一般企业客户特征变量值
* @return
*/
private String getCorpCustFeatureRetSql(String custNo, String custName){
String sql = "select t0.DATA_DT,t0.CUST_NO,c.CUST_NAME,\n" +
"case when t1.FEATURE_CODE='CZ061' then t1.FEATURE_VALUE else null end as CZ061,\n" +
"case when t2.FEATURE_CODE='QT017' then t2.FEATURE_VALUE else null end as QT017,\n" +
"case when t3.FEATURE_CODE='CZ074' then t3.FEATURE_VALUE else null end as CZ074,\n" +
"case when t4.FEATURE_CODE='YY006' then t4.FEATURE_VALUE else null end as YY006,\n" +
"case when t5.FEATURE_CODE='YL010' then t5.FEATURE_VALUE else null end as YL010,\n" +
"case when t6.FEATURE_CODE='XJ014' then t6.FEATURE_VALUE else null end as XJ014,\n" +
"case when t7.FEATURE_CODE='FZ011' then t7.FEATURE_VALUE else null end as FZ011,\n" +
"case when t8.FEATURE_CODE='QT014' then t8.FEATURE_VALUE else null end as QT014,\n" +
"case when t9.FEATURE_CODE='CZ009' then t9.FEATURE_VALUE else null end as CZ009,\n" +
"case when t10.FEATURE_CODE='CZ031' then t10.FEATURE_VALUE else null end as CZ031,\n" +
"case when t11.FEATURE_CODE='QT013' then t11.FEATURE_VALUE else null end as QT013,\n" +
"case when t12.FEATURE_CODE='GM010' then t12.FEATURE_VALUE else null end as GM010,\n" +
"case when t13.FEATURE_CODE='YY023' then t13.FEATURE_VALUE else null end as YY023,\n" +
"case when t14.FEATURE_CODE='FZ024' then t14.FEATURE_VALUE else null end as FZ024,\n" +
"case when t15.FEATURE_CODE='YY011' then t15.FEATURE_VALUE else null end as YY011,\n" +
"case when t16.FEATURE_CODE='FZ015' then t16.FEATURE_VALUE else null end as FZ015,\n" +
"case when t17.FEATURE_CODE='YL018' then t17.FEATURE_VALUE else null end as YL018,\n" +
"case when t18.FEATURE_CODE='YL036' then t18.FEATURE_VALUE else null end as YL036,\n" +
"case when t19.FEATURE_CODE='CZ012' then t19.FEATURE_VALUE else null end as CZ012,\n" +
"case when t20.FEATURE_CODE='XJ008' then t20.FEATURE_VALUE else null end as XJ008,\n" +
"case when t21.FEATURE_CODE='CZ057' then t21.FEATURE_VALUE else null end as CZ057,\n" +
"case when t22.FEATURE_CODE='YY009' then t22.FEATURE_VALUE else null end as YY009,\n" +
"case when t23.FEATURE_CODE='CZ004' then t23.FEATURE_VALUE else null end as CZ004,\n" +
"case when t24.FEATURE_CODE='CZ042' then t24.FEATURE_VALUE else null end as CZ042,\n" +
"case when t25.FEATURE_CODE='CZ064' then t25.FEATURE_VALUE else null end as CZ064,\n" +
"case when t26.FEATURE_CODE='CZ022' then t26.FEATURE_VALUE else null end as CZ022,\n" +
"case when t27.FEATURE_CODE='DB001' then t27.FEATURE_VALUE else null end as DB001,\n" +
"case when t28.FEATURE_CODE='CZ021' then t28.FEATURE_VALUE else null end as CZ021,\n" +
"case when t29.FEATURE_CODE='CZ020' then t29.FEATURE_VALUE else null end as CZ020,\n" +
"case when t30.FEATURE_CODE='YY021' then t30.FEATURE_VALUE else null end as YY021,\n" +
"case when t31.FEATURE_CODE='FZ002' then t31.FEATURE_VALUE else null end as FZ002,\n" +
"case when t32.FEATURE_CODE='CZ053' then t32.FEATURE_VALUE else null end as CZ053,\n" +
"case when t33.FEATURE_CODE='CZ073' then t33.FEATURE_VALUE else null end as CZ073,\n" +
"case when t34.FEATURE_CODE='XJ010' then t34.FEATURE_VALUE else null end as XJ010,\n" +
"case when t35.FEATURE_CODE='YY034' then t35.FEATURE_VALUE else null end as YY034,\n" +
"case when t36.FEATURE_CODE='QT001' then t36.FEATURE_VALUE else null end as QT001,\n" +
"case when t37.FEATURE_CODE='CZ048' then t37.FEATURE_VALUE else null end as CZ048,\n" +
"case when t38.FEATURE_CODE='CZ016' then t38.FEATURE_VALUE else null end as CZ016,\n" +
"case when t39.FEATURE_CODE='YL003' then t39.FEATURE_VALUE else null end as YL003,\n" +
"case when t40.FEATURE_CODE='CZ008' then t40.FEATURE_VALUE else null end as CZ008,\n" +
"case when t41.FEATURE_CODE='CZ013' then t41.FEATURE_VALUE else null end as CZ013,\n" +
"case when t42.FEATURE_CODE='CZ002' then t42.FEATURE_VALUE else null end as CZ002,\n" +
"case when t43.FEATURE_CODE='CZ005' then t43.FEATURE_VALUE else null end as CZ005,\n" +
"case when t44.FEATURE_CODE='CZ054' then t44.FEATURE_VALUE else null end as CZ054,\n" +
"case when t45.FEATURE_CODE='FZ006' then t45.FEATURE_VALUE else null end as FZ006,\n" +
"case when t46.FEATURE_CODE='YY031' then t46.FEATURE_VALUE else null end as YY031,\n" +
"case when t47.FEATURE_CODE='XJ028' then t47.FEATURE_VALUE else null end as XJ028,\n" +
"case when t48.FEATURE_CODE='YY026' then t48.FEATURE_VALUE else null end as YY026,\n" +
"case when t49.FEATURE_CODE='CZ014' then t49.FEATURE_VALUE else null end as CZ014,\n" +
"case when t50.FEATURE_CODE='FZ025' then t50.FEATURE_VALUE else null end as FZ025,\n" +
"case when t51.FEATURE_CODE='CZ037' then t51.FEATURE_VALUE else null end as CZ037,\n" +
"case when t52.FEATURE_CODE='CZ019' then t52.FEATURE_VALUE else null end as CZ019,\n" +
"case when t53.FEATURE_CODE='YL035' then t53.FEATURE_VALUE else null end as YL035,\n" +
"case when t54.FEATURE_CODE='XJ030' then t54.FEATURE_VALUE else null end as XJ030,\n" +
"case when t55.FEATURE_CODE='GM004' then t55.FEATURE_VALUE else null end as GM004,\n" +
"case when t56.FEATURE_CODE='CZ001' then t56.FEATURE_VALUE else null end as CZ001,\n" +
"case when t57.FEATURE_CODE='YL025' then t57.FEATURE_VALUE else null end as YL025,\n" +
"case when t58.FEATURE_CODE='YL011' then t58.FEATURE_VALUE else null end as YL011,\n" +
"case when t59.FEATURE_CODE='YL039' then t59.FEATURE_VALUE else null end as YL039,\n" +
"case when t60.FEATURE_CODE='YL014' then t60.FEATURE_VALUE else null end as YL014,\n" +
"case when t61.FEATURE_CODE='XJ017' then t61.FEATURE_VALUE else null end as XJ017,\n" +
"case when t62.FEATURE_CODE='DB002' then t62.FEATURE_VALUE else null end as DB002,\n" +
"case when t63.FEATURE_CODE='CZ010' then t63.FEATURE_VALUE else null end as CZ010,\n" +
"case when t64.FEATURE_CODE='YY029' then t64.FEATURE_VALUE else null end as YY029,\n" +
"case when t65.FEATURE_CODE='YL021' then t65.FEATURE_VALUE else null end as YL021,\n" +
"case when t66.FEATURE_CODE='CZ051' then t66.FEATURE_VALUE else null end as CZ051,\n" +
"case when t67.FEATURE_CODE='CZ006' then t67.FEATURE_VALUE else null end as CZ006,\n" +
"case when t68.FEATURE_CODE='GM018' then t68.FEATURE_VALUE else null end as GM018,\n" +
"case when t69.FEATURE_CODE='XJ004' then t69.FEATURE_VALUE else null end as XJ004,\n" +
"case when t70.FEATURE_CODE='CZ027' then t70.FEATURE_VALUE else null end as CZ027,\n" +
"case when t71.FEATURE_CODE='CZ007' then t71.FEATURE_VALUE else null end as CZ007,\n" +
"case when t72.FEATURE_CODE='YY018' then t72.FEATURE_VALUE else null end as YY018,\n" +
"case when t73.FEATURE_CODE='YY019' then t73.FEATURE_VALUE else null end as YY019,\n" +
"case when t74.FEATURE_CODE='YL034' then t74.FEATURE_VALUE else null end as YL034,\n" +
"case when t75.FEATURE_CODE='CZ041' then t75.FEATURE_VALUE else null end as CZ041,\n" +
"case when t76.FEATURE_CODE='DB003' then t76.FEATURE_VALUE else null end as DB003,\n" +
"case when t77.FEATURE_CODE='CZ047' then t77.FEATURE_VALUE else null end as CZ047,\n" +
"case when t78.FEATURE_CODE='GM006' then t78.FEATURE_VALUE else null end as GM006,\n" +
"case when t79.FEATURE_CODE='GM009' then t79.FEATURE_VALUE else null end as GM009,\n" +
"case when t80.FEATURE_CODE='CZ045' then t80.FEATURE_VALUE else null end as CZ045,\n" +
"case when t81.FEATURE_CODE='CZ046' then t81.FEATURE_VALUE else null end as CZ046,\n" +
"case when t82.FEATURE_CODE='YL026' then t82.FEATURE_VALUE else null end as YL026,\n" +
"case when t83.FEATURE_CODE='CZ036' then t83.FEATURE_VALUE else null end as CZ036,\n" +
"case when t84.FEATURE_CODE='PARAM00010062' then t84.FEATURE_VALUE else null end as PARAM00010062,\n" +
"case when t85.FEATURE_CODE='YL041' then t85.FEATURE_VALUE else null end as YL041,\n" +
"case when t86.FEATURE_CODE='YY008' then t86.FEATURE_VALUE else null end as YY008,\n" +
"case when t87.FEATURE_CODE='YL030' then t87.FEATURE_VALUE else null end as YL030,\n" +
"case when t88.FEATURE_CODE='FZ026' then t88.FEATURE_VALUE else null end as FZ026,\n" +
"case when t89.FEATURE_CODE='YL029' then t89.FEATURE_VALUE else null end as YL029,\n" +
"case when t90.FEATURE_CODE='YL032' then t90.FEATURE_VALUE else null end as YL032,\n" +
"case when t91.FEATURE_CODE='CZ032' then t91.FEATURE_VALUE else null end as CZ032,\n" +
"case when t92.FEATURE_CODE='CZ026' then t92.FEATURE_VALUE else null end as CZ026,\n" +
"case when t93.FEATURE_CODE='YY010' then t93.FEATURE_VALUE else null end as YY010,\n" +
"case when t94.FEATURE_CODE='CZ038' then t94.FEATURE_VALUE else null end as CZ038,\n" +
"case when t95.FEATURE_CODE='FZ022' then t95.FEATURE_VALUE else null end as FZ022,\n" +
"case when t96.FEATURE_CODE='YL033' then t96.FEATURE_VALUE else null end as YL033,\n" +
"case when t97.FEATURE_CODE='QT007' then t97.FEATURE_VALUE else null end as QT007,\n" +
"case when t98.FEATURE_CODE='YL017' then t98.FEATURE_VALUE else null end as YL017,\n" +
"case when t99.FEATURE_CODE='FZ005' then t99.FEATURE_VALUE else null end as FZ005,\n" +
"case when t100.FEATURE_CODE='YY016' then t100.FEATURE_VALUE else null end as YY016,\n" +
"case when t101.FEATURE_CODE='FZ009' then t101.FEATURE_VALUE else null end as FZ009,\n" +
"case when t102.FEATURE_CODE='YL015' then t102.FEATURE_VALUE else null end as YL015,\n" +
"case when t103.FEATURE_CODE='YY020' then t103.FEATURE_VALUE else null end as YY020,\n" +
"case when t104.FEATURE_CODE='YY025' then t104.FEATURE_VALUE else null end as YY025,\n" +
"case when t105.FEATURE_CODE='YL020' then t105.FEATURE_VALUE else null end as YL020,\n" +
"case when t106.FEATURE_CODE='YY004' then t106.FEATURE_VALUE else null end as YY004,\n" +
"case when t107.FEATURE_CODE='CZ044' then t107.FEATURE_VALUE else null end as CZ044,\n" +
"case when t108.FEATURE_CODE='YL006' then t108.FEATURE_VALUE else null end as YL006,\n" +
"case when t109.FEATURE_CODE='YY002' then t109.FEATURE_VALUE else null end as YY002,\n" +
"case when t110.FEATURE_CODE='XJ003' then t110.FEATURE_VALUE else null end as XJ003,\n" +
"case when t111.FEATURE_CODE='GM013' then t111.FEATURE_VALUE else null end as GM013,\n" +
"case when t112.FEATURE_CODE='YL001' then t112.FEATURE_VALUE else null end as YL001,\n" +
"case when t113.FEATURE_CODE='YL004' then t113.FEATURE_VALUE else null end as YL004,\n" +
"case when t114.FEATURE_CODE='YL045' then t114.FEATURE_VALUE else null end as YL045,\n" +
"case when t115.FEATURE_CODE='CZ056' then t115.FEATURE_VALUE else null end as CZ056,\n" +
"case when t116.FEATURE_CODE='FZ013' then t116.FEATURE_VALUE else null end as FZ013,\n" +
"case when t117.FEATURE_CODE='CZ066' then t117.FEATURE_VALUE else null end as CZ066,\n" +
"case when t118.FEATURE_CODE='CZ068' then t118.FEATURE_VALUE else null end as CZ068,\n" +
"case when t119.FEATURE_CODE='GM005' then t119.FEATURE_VALUE else null end as GM005,\n" +
"case when t120.FEATURE_CODE='YL024' then t120.FEATURE_VALUE else null end as YL024,\n" +
"case when t121.FEATURE_CODE='CZ011' then t121.FEATURE_VALUE else null end as CZ011,\n" +
"case when t122.FEATURE_CODE='YL002' then t122.FEATURE_VALUE else null end as YL002,\n" +
"case when t123.FEATURE_CODE='CZ063' then t123.FEATURE_VALUE else null end as CZ063,\n" +
"case when t124.FEATURE_CODE='FZ008' then t124.FEATURE_VALUE else null end as FZ008,\n" +
"case when t125.FEATURE_CODE='CZ043' then t125.FEATURE_VALUE else null end as CZ043,\n" +
"case when t126.FEATURE_CODE='CZ035' then t126.FEATURE_VALUE else null end as CZ035,\n" +
"case when t127.FEATURE_CODE='YL016' then t127.FEATURE_VALUE else null end as YL016,\n" +
"case when t128.FEATURE_CODE='CZ015' then t128.FEATURE_VALUE else null end as CZ015,\n" +
"case when t129.FEATURE_CODE='XJ007' then t129.FEATURE_VALUE else null end as XJ007,\n" +
"case when t130.FEATURE_CODE='GM002' then t130.FEATURE_VALUE else null end as GM002,\n" +
"case when t131.FEATURE_CODE='YY014' then t131.FEATURE_VALUE else null end as YY014,\n" +
"case when t132.FEATURE_CODE='YY027' then t132.FEATURE_VALUE else null end as YY027,\n" +
"case when t133.FEATURE_CODE='XJ015' then t133.FEATURE_VALUE else null end as XJ015,\n" +
"case when t134.FEATURE_CODE='FZ003' then t134.FEATURE_VALUE else null end as FZ003,\n" +
"case when t135.FEATURE_CODE='YL012' then t135.FEATURE_VALUE else null end as YL012,\n" +
"case when t136.FEATURE_CODE='YL027' then t136.FEATURE_VALUE else null end as YL027,\n" +
"case when t137.FEATURE_CODE='CZ058' then t137.FEATURE_VALUE else null end as CZ058,\n" +
"case when t138.FEATURE_CODE='CZ018' then t138.FEATURE_VALUE else null end as CZ018,\n" +
"case when t139.FEATURE_CODE='CZ028' then t139.FEATURE_VALUE else null end as CZ028,\n" +
"case when t140.FEATURE_CODE='YY015' then t140.FEATURE_VALUE else null end as YY015,\n" +
"case when t141.FEATURE_CODE='YY012' then t141.FEATURE_VALUE else null end as YY012,\n" +
"case when t142.FEATURE_CODE='FZ012' then t142.FEATURE_VALUE else null end as FZ012,\n" +
"case when t143.FEATURE_CODE='XJ027' then t143.FEATURE_VALUE else null end as XJ027,\n" +
"case when t144.FEATURE_CODE='YL042' then t144.FEATURE_VALUE else null end as YL042,\n" +
"case when t145.FEATURE_CODE='QT012' then t145.FEATURE_VALUE else null end as QT012,\n" +
"case when t146.FEATURE_CODE='CZ065' then t146.FEATURE_VALUE else null end as CZ065,\n" +
"case when t147.FEATURE_CODE='CZ017' then t147.FEATURE_VALUE else null end as CZ017,\n" +
"case when t148.FEATURE_CODE='FZ014' then t148.FEATURE_VALUE else null end as FZ014,\n" +
"case when t149.FEATURE_CODE='YY032' then t149.FEATURE_VALUE else null end as YY032,\n" +
"case when t150.FEATURE_CODE='XJ006' then t150.FEATURE_VALUE else null end as XJ006,\n" +
"case when t151.FEATURE_CODE='CZ033' then t151.FEATURE_VALUE else null end as CZ033,\n" +
"case when t152.FEATURE_CODE='XJ033' then t152.FEATURE_VALUE else null end as XJ033,\n" +
"case when t153.FEATURE_CODE='QT009' then t153.FEATURE_VALUE else null end as QT009,\n" +
"case when t154.FEATURE_CODE='XJ031' then t154.FEATURE_VALUE else null end as XJ031,\n" +
"case when t155.FEATURE_CODE='XJ035' then t155.FEATURE_VALUE else null end as XJ035,\n" +
"case when t156.FEATURE_CODE='FZ027' then t156.FEATURE_VALUE else null end as FZ027,\n" +
"case when t157.FEATURE_CODE='XJ029' then t157.FEATURE_VALUE else null end as XJ029,\n" +
"case when t158.FEATURE_CODE='YL009' then t158.FEATURE_VALUE else null end as YL009,\n" +
"case when t159.FEATURE_CODE='CZ003' then t159.FEATURE_VALUE else null end as CZ003,\n" +
"case when t160.FEATURE_CODE='CZ059' then t160.FEATURE_VALUE else null end as CZ059,\n" +
"case when t161.FEATURE_CODE='XJ001' then t161.FEATURE_VALUE else null end as XJ001,\n" +
"case when t162.FEATURE_CODE='YL005' then t162.FEATURE_VALUE else null end as YL005,\n" +
"case when t163.FEATURE_CODE='GM007' then t163.FEATURE_VALUE else null end as GM007,\n" +
"case when t164.FEATURE_CODE='GM016' then t164.FEATURE_VALUE else null end as GM016,\n" +
"case when t165.FEATURE_CODE='YL028' then t165.FEATURE_VALUE else null end as YL028,\n" +
"case when t166.FEATURE_CODE='YY024' then t166.FEATURE_VALUE else null end as YY024,\n" +
"case when t167.FEATURE_CODE='YY033' then t167.FEATURE_VALUE else null end as YY033,\n" +
"case when t168.FEATURE_CODE='QT008' then t168.FEATURE_VALUE else null end as QT008,\n" +
"case when t169.FEATURE_CODE='YL043' then t169.FEATURE_VALUE else null end as YL043,\n" +
"case when t170.FEATURE_CODE='XJ032' then t170.FEATURE_VALUE else null end as XJ032,\n" +
"case when t171.FEATURE_CODE='XJ016' then t171.FEATURE_VALUE else null end as XJ016,\n" +
"case when t172.FEATURE_CODE='XJ013' then t172.FEATURE_VALUE else null end as XJ013,\n" +
"case when t173.FEATURE_CODE='CZ025' then t173.FEATURE_VALUE else null end as CZ025,\n" +
"case when t174.FEATURE_CODE='XJ005' then t174.FEATURE_VALUE else null end as XJ005,\n" +
"case when t175.FEATURE_CODE='CZ049' then t175.FEATURE_VALUE else null end as CZ049,\n" +
"case when t176.FEATURE_CODE='FZ001' then t176.FEATURE_VALUE else null end as FZ001,\n" +
"case when t177.FEATURE_CODE='CZ039' then t177.FEATURE_VALUE else null end as CZ039,\n" +
"case when t178.FEATURE_CODE='YL037' then t178.FEATURE_VALUE else null end as YL037,\n" +
"case when t179.FEATURE_CODE='XJ002' then t179.FEATURE_VALUE else null end as XJ002,\n" +
"case when t180.FEATURE_CODE='QT010' then t180.FEATURE_VALUE else null end as QT010,\n" +
"case when t181.FEATURE_CODE='YL019' then t181.FEATURE_VALUE else null end as YL019,\n" +
"case when t182.FEATURE_CODE='YY005' then t182.FEATURE_VALUE else null end as YY005,\n" +
"case when t183.FEATURE_CODE='QYCB1' then t183.FEATURE_VALUE else null end as QYCB1,\n" +
"case when t184.FEATURE_CODE='QT016' then t184.FEATURE_VALUE else null end as QT016,\n" +
"case when t185.FEATURE_CODE='GM001' then t185.FEATURE_VALUE else null end as GM001,\n" +
"case when t186.FEATURE_CODE='CZ030' then t186.FEATURE_VALUE else null end as CZ030,\n" +
"case when t187.FEATURE_CODE='CZ060' then t187.FEATURE_VALUE else null end as CZ060,\n" +
"case when t188.FEATURE_CODE='GM011' then t188.FEATURE_VALUE else null end as GM011,\n" +
"case when t189.FEATURE_CODE='CZ052' then t189.FEATURE_VALUE else null end as CZ052,\n" +
"case when t190.FEATURE_CODE='FZ010' then t190.FEATURE_VALUE else null end as FZ010,\n" +
"case when t191.FEATURE_CODE='XJ012' then t191.FEATURE_VALUE else null end as XJ012,\n" +
"case when t192.FEATURE_CODE='FZ007' then t192.FEATURE_VALUE else null end as FZ007,\n" +
"case when t193.FEATURE_CODE='QYCB0' then t193.FEATURE_VALUE else null end as QYCB0,\n" +
"case when t194.FEATURE_CODE='CZ024' then t194.FEATURE_VALUE else null end as CZ024,\n" +
"case when t195.FEATURE_CODE='YY028' then t195.FEATURE_VALUE else null end as YY028,\n" +
"case when t196.FEATURE_CODE='PARAM00030017' then t196.FEATURE_VALUE else null end as PARAM00030017,\n" +
"case when t197.FEATURE_CODE='YY013' then t197.FEATURE_VALUE else null end as YY013,\n" +
"case when t198.FEATURE_CODE='PARAM00030008' then t198.FEATURE_VALUE else null end as PARAM00030008,\n" +
"case when t199.FEATURE_CODE='YY017' then t199.FEATURE_VALUE else null end as YY017,\n" +
"case when t200.FEATURE_CODE='GM008' then t200.FEATURE_VALUE else null end as GM008,\n" +
"case when t201.FEATURE_CODE='YL040' then t201.FEATURE_VALUE else null end as YL040,\n" +
"case when t202.FEATURE_CODE='GM017' then t202.FEATURE_VALUE else null end as GM017,\n" +
"case when t203.FEATURE_CODE='QT015' then t203.FEATURE_VALUE else null end as QT015,\n" +
"case when t204.FEATURE_CODE='XJ009' then t204.FEATURE_VALUE else null end as XJ009,\n" +
"case when t205.FEATURE_CODE='YL023' then t205.FEATURE_VALUE else null end as YL023,\n" +
"case when t206.FEATURE_CODE='YY030' then t206.FEATURE_VALUE else null end as YY030,\n" +
"case when t207.FEATURE_CODE='YY022' then t207.FEATURE_VALUE else null end as YY022,\n" +
"case when t208.FEATURE_CODE='YY003' then t208.FEATURE_VALUE else null end as YY003,\n" +
"case when t209.FEATURE_CODE='GM015' then t209.FEATURE_VALUE else null end as GM015,\n" +
"case when t210.FEATURE_CODE='YY001' then t210.FEATURE_VALUE else null end as YY001,\n" +
"case when t211.FEATURE_CODE='CZ050' then t211.FEATURE_VALUE else null end as CZ050,\n" +
"case when t212.FEATURE_CODE='CZ023' then t212.FEATURE_VALUE else null end as CZ023,\n" +
"case when t213.FEATURE_CODE='FZ023' then t213.FEATURE_VALUE else null end as FZ023,\n" +
"case when t214.FEATURE_CODE='GM003' then t214.FEATURE_VALUE else null end as GM003,\n" +
"case when t215.FEATURE_CODE='XJ034' then t215.FEATURE_VALUE else null end as XJ034,\n" +
"case when t216.FEATURE_CODE='CZ029' then t216.FEATURE_VALUE else null end as CZ029,\n" +
"case when t217.FEATURE_CODE='GM014' then t217.FEATURE_VALUE else null end as GM014,\n" +
"case when t218.FEATURE_CODE='CZ062' then t218.FEATURE_VALUE else null end as CZ062,\n" +
"case when t219.FEATURE_CODE='YY007' then t219.FEATURE_VALUE else null end as YY007\n" +
"from (select distinct data_dt, cust_no from p_irs_cust_feature_ret t1) t0\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ061') t1 on t1.data_dt = t0.data_dt and t1.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'QT017') t2 on t2.data_dt = t0.data_dt and t2.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ074') t3 on t3.data_dt = t0.data_dt and t3.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY006') t4 on t4.data_dt = t0.data_dt and t4.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL010') t5 on t5.data_dt = t0.data_dt and t5.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ014') t6 on t6.data_dt = t0.data_dt and t6.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'FZ011') t7 on t7.data_dt = t0.data_dt and t7.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'QT014') t8 on t8.data_dt = t0.data_dt and t8.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ009') t9 on t9.data_dt = t0.data_dt and t9.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ031') t10 on t10.data_dt = t0.data_dt and t10.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'QT013') t11 on t11.data_dt = t0.data_dt and t11.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'GM010') t12 on t12.data_dt = t0.data_dt and t12.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY023') t13 on t13.data_dt = t0.data_dt and t13.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'FZ024') t14 on t14.data_dt = t0.data_dt and t14.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY011') t15 on t15.data_dt = t0.data_dt and t15.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'FZ015') t16 on t16.data_dt = t0.data_dt and t16.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL018') t17 on t17.data_dt = t0.data_dt and t17.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL036') t18 on t18.data_dt = t0.data_dt and t18.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ012') t19 on t19.data_dt = t0.data_dt and t19.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ008') t20 on t20.data_dt = t0.data_dt and t20.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ057') t21 on t21.data_dt = t0.data_dt and t21.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY009') t22 on t22.data_dt = t0.data_dt and t22.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ004') t23 on t23.data_dt = t0.data_dt and t23.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ042') t24 on t24.data_dt = t0.data_dt and t24.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ064') t25 on t25.data_dt = t0.data_dt and t25.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ022') t26 on t26.data_dt = t0.data_dt and t26.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'DB001') t27 on t27.data_dt = t0.data_dt and t27.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ021') t28 on t28.data_dt = t0.data_dt and t28.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ020') t29 on t29.data_dt = t0.data_dt and t29.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY021') t30 on t30.data_dt = t0.data_dt and t30.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'FZ002') t31 on t31.data_dt = t0.data_dt and t31.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ053') t32 on t32.data_dt = t0.data_dt and t32.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ073') t33 on t33.data_dt = t0.data_dt and t33.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ010') t34 on t34.data_dt = t0.data_dt and t34.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY034') t35 on t35.data_dt = t0.data_dt and t35.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'QT001') t36 on t36.data_dt = t0.data_dt and t36.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ048') t37 on t37.data_dt = t0.data_dt and t37.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ016') t38 on t38.data_dt = t0.data_dt and t38.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL003') t39 on t39.data_dt = t0.data_dt and t39.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ008') t40 on t40.data_dt = t0.data_dt and t40.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ013') t41 on t41.data_dt = t0.data_dt and t41.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ002') t42 on t42.data_dt = t0.data_dt and t42.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ005') t43 on t43.data_dt = t0.data_dt and t43.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ054') t44 on t44.data_dt = t0.data_dt and t44.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'FZ006') t45 on t45.data_dt = t0.data_dt and t45.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY031') t46 on t46.data_dt = t0.data_dt and t46.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ028') t47 on t47.data_dt = t0.data_dt and t47.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY026') t48 on t48.data_dt = t0.data_dt and t48.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ014') t49 on t49.data_dt = t0.data_dt and t49.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'FZ025') t50 on t50.data_dt = t0.data_dt and t50.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ037') t51 on t51.data_dt = t0.data_dt and t51.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ019') t52 on t52.data_dt = t0.data_dt and t52.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL035') t53 on t53.data_dt = t0.data_dt and t53.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ030') t54 on t54.data_dt = t0.data_dt and t54.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'GM004') t55 on t55.data_dt = t0.data_dt and t55.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ001') t56 on t56.data_dt = t0.data_dt and t56.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL025') t57 on t57.data_dt = t0.data_dt and t57.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL011') t58 on t58.data_dt = t0.data_dt and t58.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL039') t59 on t59.data_dt = t0.data_dt and t59.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL014') t60 on t60.data_dt = t0.data_dt and t60.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ017') t61 on t61.data_dt = t0.data_dt and t61.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'DB002') t62 on t62.data_dt = t0.data_dt and t62.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ010') t63 on t63.data_dt = t0.data_dt and t63.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY029') t64 on t64.data_dt = t0.data_dt and t64.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL021') t65 on t65.data_dt = t0.data_dt and t65.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ051') t66 on t66.data_dt = t0.data_dt and t66.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ006') t67 on t67.data_dt = t0.data_dt and t67.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'GM018') t68 on t68.data_dt = t0.data_dt and t68.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ004') t69 on t69.data_dt = t0.data_dt and t69.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ027') t70 on t70.data_dt = t0.data_dt and t70.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ007') t71 on t71.data_dt = t0.data_dt and t71.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY018') t72 on t72.data_dt = t0.data_dt and t72.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY019') t73 on t73.data_dt = t0.data_dt and t73.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL034') t74 on t74.data_dt = t0.data_dt and t74.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ041') t75 on t75.data_dt = t0.data_dt and t75.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'DB003') t76 on t76.data_dt = t0.data_dt and t76.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ047') t77 on t77.data_dt = t0.data_dt and t77.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'GM006') t78 on t78.data_dt = t0.data_dt and t78.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'GM009') t79 on t79.data_dt = t0.data_dt and t79.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ045') t80 on t80.data_dt = t0.data_dt and t80.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ046') t81 on t81.data_dt = t0.data_dt and t81.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL026') t82 on t82.data_dt = t0.data_dt and t82.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ036') t83 on t83.data_dt = t0.data_dt and t83.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'PARAM00010062') t84 on t84.data_dt = t0.data_dt and t84.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL041') t85 on t85.data_dt = t0.data_dt and t85.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY008') t86 on t86.data_dt = t0.data_dt and t86.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL030') t87 on t87.data_dt = t0.data_dt and t87.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'FZ026') t88 on t88.data_dt = t0.data_dt and t88.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL029') t89 on t89.data_dt = t0.data_dt and t89.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL032') t90 on t90.data_dt = t0.data_dt and t90.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ032') t91 on t91.data_dt = t0.data_dt and t91.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ026') t92 on t92.data_dt = t0.data_dt and t92.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY010') t93 on t93.data_dt = t0.data_dt and t93.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ038') t94 on t94.data_dt = t0.data_dt and t94.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'FZ022') t95 on t95.data_dt = t0.data_dt and t95.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL033') t96 on t96.data_dt = t0.data_dt and t96.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'QT007') t97 on t97.data_dt = t0.data_dt and t97.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL017') t98 on t98.data_dt = t0.data_dt and t98.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'FZ005') t99 on t99.data_dt = t0.data_dt and t99.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY016') t100 on t100.data_dt = t0.data_dt and t100.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'FZ009') t101 on t101.data_dt = t0.data_dt and t101.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL015') t102 on t102.data_dt = t0.data_dt and t102.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY020') t103 on t103.data_dt = t0.data_dt and t103.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY025') t104 on t104.data_dt = t0.data_dt and t104.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL020') t105 on t105.data_dt = t0.data_dt and t105.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY004') t106 on t106.data_dt = t0.data_dt and t106.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ044') t107 on t107.data_dt = t0.data_dt and t107.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL006') t108 on t108.data_dt = t0.data_dt and t108.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY002') t109 on t109.data_dt = t0.data_dt and t109.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ003') t110 on t110.data_dt = t0.data_dt and t110.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'GM013') t111 on t111.data_dt = t0.data_dt and t111.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL001') t112 on t112.data_dt = t0.data_dt and t112.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL004') t113 on t113.data_dt = t0.data_dt and t113.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL045') t114 on t114.data_dt = t0.data_dt and t114.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ056') t115 on t115.data_dt = t0.data_dt and t115.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'FZ013') t116 on t116.data_dt = t0.data_dt and t116.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ066') t117 on t117.data_dt = t0.data_dt and t117.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ068') t118 on t118.data_dt = t0.data_dt and t118.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'GM005') t119 on t119.data_dt = t0.data_dt and t119.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL024') t120 on t120.data_dt = t0.data_dt and t120.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ011') t121 on t121.data_dt = t0.data_dt and t121.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL002') t122 on t122.data_dt = t0.data_dt and t122.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ063') t123 on t123.data_dt = t0.data_dt and t123.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'FZ008') t124 on t124.data_dt = t0.data_dt and t124.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ043') t125 on t125.data_dt = t0.data_dt and t125.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ035') t126 on t126.data_dt = t0.data_dt and t126.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL016') t127 on t127.data_dt = t0.data_dt and t127.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ015') t128 on t128.data_dt = t0.data_dt and t128.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ007') t129 on t129.data_dt = t0.data_dt and t129.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'GM002') t130 on t130.data_dt = t0.data_dt and t130.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY014') t131 on t131.data_dt = t0.data_dt and t131.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY027') t132 on t132.data_dt = t0.data_dt and t132.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ015') t133 on t133.data_dt = t0.data_dt and t133.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'FZ003') t134 on t134.data_dt = t0.data_dt and t134.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL012') t135 on t135.data_dt = t0.data_dt and t135.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL027') t136 on t136.data_dt = t0.data_dt and t136.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ058') t137 on t137.data_dt = t0.data_dt and t137.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ018') t138 on t138.data_dt = t0.data_dt and t138.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ028') t139 on t139.data_dt = t0.data_dt and t139.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY015') t140 on t140.data_dt = t0.data_dt and t140.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY012') t141 on t141.data_dt = t0.data_dt and t141.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'FZ012') t142 on t142.data_dt = t0.data_dt and t142.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ027') t143 on t143.data_dt = t0.data_dt and t143.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL042') t144 on t144.data_dt = t0.data_dt and t144.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'QT012') t145 on t145.data_dt = t0.data_dt and t145.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ065') t146 on t146.data_dt = t0.data_dt and t146.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ017') t147 on t147.data_dt = t0.data_dt and t147.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'FZ014') t148 on t148.data_dt = t0.data_dt and t148.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY032') t149 on t149.data_dt = t0.data_dt and t149.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ006') t150 on t150.data_dt = t0.data_dt and t150.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ033') t151 on t151.data_dt = t0.data_dt and t151.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ033') t152 on t152.data_dt = t0.data_dt and t152.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'QT009') t153 on t153.data_dt = t0.data_dt and t153.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ031') t154 on t154.data_dt = t0.data_dt and t154.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ035') t155 on t155.data_dt = t0.data_dt and t155.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'FZ027') t156 on t156.data_dt = t0.data_dt and t156.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ029') t157 on t157.data_dt = t0.data_dt and t157.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL009') t158 on t158.data_dt = t0.data_dt and t158.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ003') t159 on t159.data_dt = t0.data_dt and t159.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ059') t160 on t160.data_dt = t0.data_dt and t160.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ001') t161 on t161.data_dt = t0.data_dt and t161.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL005') t162 on t162.data_dt = t0.data_dt and t162.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'GM007') t163 on t163.data_dt = t0.data_dt and t163.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'GM016') t164 on t164.data_dt = t0.data_dt and t164.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL028') t165 on t165.data_dt = t0.data_dt and t165.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY024') t166 on t166.data_dt = t0.data_dt and t166.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY033') t167 on t167.data_dt = t0.data_dt and t167.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'QT008') t168 on t168.data_dt = t0.data_dt and t168.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL043') t169 on t169.data_dt = t0.data_dt and t169.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ032') t170 on t170.data_dt = t0.data_dt and t170.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ016') t171 on t171.data_dt = t0.data_dt and t171.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ013') t172 on t172.data_dt = t0.data_dt and t172.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ025') t173 on t173.data_dt = t0.data_dt and t173.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ005') t174 on t174.data_dt = t0.data_dt and t174.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ049') t175 on t175.data_dt = t0.data_dt and t175.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'FZ001') t176 on t176.data_dt = t0.data_dt and t176.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ039') t177 on t177.data_dt = t0.data_dt and t177.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL037') t178 on t178.data_dt = t0.data_dt and t178.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ002') t179 on t179.data_dt = t0.data_dt and t179.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'QT010') t180 on t180.data_dt = t0.data_dt and t180.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL019') t181 on t181.data_dt = t0.data_dt and t181.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY005') t182 on t182.data_dt = t0.data_dt and t182.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'QYCB1') t183 on t183.data_dt = t0.data_dt and t183.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'QT016') t184 on t184.data_dt = t0.data_dt and t184.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'GM001') t185 on t185.data_dt = t0.data_dt and t185.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ030') t186 on t186.data_dt = t0.data_dt and t186.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ060') t187 on t187.data_dt = t0.data_dt and t187.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'GM011') t188 on t188.data_dt = t0.data_dt and t188.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ052') t189 on t189.data_dt = t0.data_dt and t189.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'FZ010') t190 on t190.data_dt = t0.data_dt and t190.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ012') t191 on t191.data_dt = t0.data_dt and t191.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'FZ007') t192 on t192.data_dt = t0.data_dt and t192.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'QYCB0') t193 on t193.data_dt = t0.data_dt and t193.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ024') t194 on t194.data_dt = t0.data_dt and t194.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY028') t195 on t195.data_dt = t0.data_dt and t195.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'PARAM00030017') t196 on t196.data_dt = t0.data_dt and t196.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY013') t197 on t197.data_dt = t0.data_dt and t197.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'PARAM00030008') t198 on t198.data_dt = t0.data_dt and t198.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY017') t199 on t199.data_dt = t0.data_dt and t199.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'GM008') t200 on t200.data_dt = t0.data_dt and t200.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL040') t201 on t201.data_dt = t0.data_dt and t201.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'GM017') t202 on t202.data_dt = t0.data_dt and t202.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'QT015') t203 on t203.data_dt = t0.data_dt and t203.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ009') t204 on t204.data_dt = t0.data_dt and t204.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YL023') t205 on t205.data_dt = t0.data_dt and t205.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY030') t206 on t206.data_dt = t0.data_dt and t206.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY022') t207 on t207.data_dt = t0.data_dt and t207.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY003') t208 on t208.data_dt = t0.data_dt and t208.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'GM015') t209 on t209.data_dt = t0.data_dt and t209.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY001') t210 on t210.data_dt = t0.data_dt and t210.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ050') t211 on t211.data_dt = t0.data_dt and t211.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ023') t212 on t212.data_dt = t0.data_dt and t212.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'FZ023') t213 on t213.data_dt = t0.data_dt and t213.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'GM003') t214 on t214.data_dt = t0.data_dt and t214.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'XJ034') t215 on t215.data_dt = t0.data_dt and t215.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ029') t216 on t216.data_dt = t0.data_dt and t216.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'GM014') t217 on t217.data_dt = t0.data_dt and t217.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'CZ062') t218 on t218.data_dt = t0.data_dt and t218.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'YY007') t219 on t219.data_dt = t0.data_dt and t219.cust_no=t0.cust_no\n" +
"LEFT JOIN P_IRS_CUST_INFO c ON c.DATA_DT = t0.data_dt AND c.CUST_NO = t0.cust_no\n" +
"WHERE c.CUST_TYPE='一般公司'\n";
if(StringUtil.isNotEmpty(custNo)){
sql += "and c.CUST_NO like '%" + custNo + "%'\n";
}
if(StringUtil.isNotEmpty(custName)){
sql += "and c.CUST_NAME like '%" + custName + "%'\n";
}
return sql;
}
/**
* 查询事业单位客户特征变量值
* @return
*/
private String getInstCustFeatureRetSql(String custNo, String custName){
String sql = "select \n" +
" t0.DATA_DT,\n" +
" t0.CUST_NO,\n" +
"\tc.CUST_NAME,\n" +
"\tCASE WHEN t1.FEATURE_CODE = 'SY_CZ041' then t1.FEATURE_VALUE else null end as SY_CZ041,\n" +
"\tCASE WHEN t2.FEATURE_CODE = 'SY_CZ006' then t2.FEATURE_VALUE else null end as SY_CZ006,\n" +
"\tCASE WHEN t3.FEATURE_CODE = 'SY_CZ043' then t3.FEATURE_VALUE else null end as SY_CZ043,\n" +
"\tCASE WHEN t4.FEATURE_CODE = 'SY_QT004' then t4.FEATURE_VALUE else null end as SY_QT004,\n" +
"\tCASE WHEN t5.FEATURE_CODE = 'SY_CZ013' then t5.FEATURE_VALUE else null end as SY_CZ013,\n" +
"\tCASE WHEN t6.FEATURE_CODE = 'SY_CZ044' then t6.FEATURE_VALUE else null end as SY_CZ044,\n" +
"\tCASE WHEN t7.FEATURE_CODE = 'SY_CZ035' then t7.FEATURE_VALUE else null end as SY_CZ035,\n" +
"\tCASE WHEN t8.FEATURE_CODE = 'SY_FZ025' then t8.FEATURE_VALUE else null end as SY_FZ025,\n" +
"\tCASE WHEN t9.FEATURE_CODE = 'SY_QT005' then t9.FEATURE_VALUE else null end as SY_QT005,\n" +
"\tCASE WHEN t10.FEATURE_CODE = 'SY_CZ042' then t10.FEATURE_VALUE else null end as SY_CZ042,\n" +
"\tCASE WHEN t12.FEATURE_CODE = 'SY_GM001' then t12.FEATURE_VALUE else null end as SY_GM001,\n" +
"\tCASE WHEN t13.FEATURE_CODE = 'SY_FZ009' then t13.FEATURE_VALUE else null end as SY_FZ009,\n" +
"\tCASE WHEN t14.FEATURE_CODE = 'SY_FZ015' then t14.FEATURE_VALUE else null end as SY_FZ015,\n" +
"\tCASE WHEN t15.FEATURE_CODE = 'SY_FZ012' then t15.FEATURE_VALUE else null end as SY_FZ012,\n" +
"\tCASE WHEN t16.FEATURE_CODE = 'SY_CZ031' then t16.FEATURE_VALUE else null end as SY_CZ031,\n" +
"\tCASE WHEN t17.FEATURE_CODE = 'SY_CZ039' then t17.FEATURE_VALUE else null end as SY_CZ039,\n" +
"\tCASE WHEN t18.FEATURE_CODE = 'SY_FZ011' then t18.FEATURE_VALUE else null end as SY_FZ011,\n" +
"\tCASE WHEN t19.FEATURE_CODE = 'SY_GM007' then t19.FEATURE_VALUE else null end as SY_GM007,\n" +
"\tCASE WHEN t20.FEATURE_CODE = 'SY_CZ020' then t20.FEATURE_VALUE else null end as SY_CZ020,\n" +
"\tCASE WHEN t21.FEATURE_CODE = 'SY_CZ017' then t21.FEATURE_VALUE else null end as SY_CZ017,\n" +
"\tCASE WHEN t22.FEATURE_CODE = 'SY_FZ010' then t22.FEATURE_VALUE else null end as SY_FZ010,\n" +
"\tCASE WHEN t23.FEATURE_CODE = 'SY_FZ013' then t23.FEATURE_VALUE else null end as SY_FZ013,\n" +
"\tCASE WHEN t24.FEATURE_CODE = 'SY_QT003' then t24.FEATURE_VALUE else null end as SY_QT003,\n" +
"\tCASE WHEN t25.FEATURE_CODE = 'SY_CZ009' then t25.FEATURE_VALUE else null end as SY_CZ009,\n" +
"\tCASE WHEN t26.FEATURE_CODE = 'SY_QT018' then t26.FEATURE_VALUE else null end as SY_QT018,\n" +
"\tCASE WHEN t27.FEATURE_CODE = 'SY_QT002' then t27.FEATURE_VALUE else null end as SY_QT002,\n" +
"\tCASE WHEN t28.FEATURE_CODE = 'SY_GM002' then t28.FEATURE_VALUE else null end as SY_GM002,\n" +
"\tCASE WHEN t29.FEATURE_CODE = 'SY_FZ003' then t29.FEATURE_VALUE else null end as SY_FZ003\n" +
"from (select distinct data_dt, cust_no from p_irs_cust_feature_ret t1) t0\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_CZ041') t1\n" +
" on t1.data_dt = t0.data_dt and t1.cust_no = t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_CZ006') t2 \n" +
" on t2.data_dt = t0.data_dt and t2.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_CZ043') t3 \n" +
" on t3.data_dt = t0.data_dt and t3.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_QT004') t4 \n" +
" on t4.data_dt = t0.data_dt and t4.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_CZ013') t5 \n" +
" on t5.data_dt = t0.data_dt and t5.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_CZ044') t6 \n" +
" on t6.data_dt = t0.data_dt and t6.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_CZ035') t7 \n" +
" on t7.data_dt = t0.data_dt and t7.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_FZ025') t8 \n" +
" on t8.data_dt = t0.data_dt and t8.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_QT005') t9 \n" +
" on t9.data_dt = t0.data_dt and t9.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_CZ042') t10 \n" +
" on t10.data_dt = t0.data_dt and t10.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_GM001') t12 \n" +
" on t12.data_dt = t0.data_dt and t12.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_FZ009') t13 \n" +
" on t13.data_dt = t0.data_dt and t13.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_FZ015') t14 \n" +
" on t14.data_dt = t0.data_dt and t14.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_FZ012') t15 \n" +
" on t15.data_dt = t0.data_dt and t15.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_CZ031') t16 \n" +
" on t16.data_dt = t0.data_dt and t16.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_CZ039') t17 \n" +
" on t17.data_dt = t0.data_dt and t17.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_FZ011') t18 \n" +
" on t18.data_dt = t0.data_dt and t18.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_GM007') t19 \n" +
" on t19.data_dt = t0.data_dt and t19.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_CZ020') t20\n" +
" on t20.data_dt = t0.data_dt and t20.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_CZ017') t21\n" +
" on t21.data_dt = t0.data_dt and t21.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_FZ010') t22\n" +
" on t22.data_dt = t0.data_dt and t22.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_FZ013') t23\n" +
" on t23.data_dt = t0.data_dt and t23.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_QT003') t24\n" +
" on t24.data_dt = t0.data_dt and t24.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_CZ009') t25\n" +
" on t25.data_dt = t0.data_dt and t25.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_QT018') t26\n" +
" on t26.data_dt = t0.data_dt and t26.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_QT002') t27\n" +
" on t27.data_dt = t0.data_dt and t27.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_GM002') t28\n" +
" on t28.data_dt = t0.data_dt and t28.cust_no=t0.cust_no\n" +
"LEFT JOIN (select data_dt,cust_no,FEATURE_CODE,FEATURE_VALUE from p_irs_cust_feature_ret t1 where t1.FEATURE_CODE = 'SY_FZ003') t29\n" +
" on t29.data_dt = t0.data_dt and t29.cust_no=t0.cust_no\n" +
"LEFT JOIN P_IRS_CUST_INFO c ON c.DATA_DT = t0.data_dt AND c.CUST_NO = t0.cust_no\n" +
"WHERE c.CUST_TYPE='事业单位'\n";
if(StringUtil.isNotEmpty(custNo)){
sql += "and c.CUST_NO like '%" + custNo + "%'\n";
}
if(StringUtil.isNotEmpty(custName)){
sql += "and c.CUST_NAME like '%" + custName + "%'\n";
}
return sql;
}
}

236
irbs.frontend/src/views/query/CorpCustFeatureRet.vue

@ -42,35 +42,225 @@ const corpCustFeatureRetGrid = {
columns: [
{ label: '客户编号', name: 'custNo' },
{ label: '客户名称', name: 'custName' },
{ label: 'CFI', name: 'gm014' },
{ label: 'CFF', name: 'gm015' },
{ label: 'CFO', name: 'gm013' },
{ label: 'CF', name: 'gm016' },
{ label: 'EBIT利息保障倍数', name: 'cz066' },
{ label: 'EBIT利息保障倍数增长率', name: 'fz027' },
{ label: '长期债务与营运资金比率', name: 'cz061' },
{ label: '销售收入', name: 'qt017' },
{ label: '自由现金流量对借款总额比率', name: 'cz074' },
{ label: '现金周转率', name: 'yy006' },
{ label: '资产利润率', name: 'yl010' },
{ label: '现金流量充足率', name: 'xj014' },
{ label: '应收账款增长率', name: 'fz011' },
{ label: '整体现金流状况', name: 'qt014' },
{ label: '资产负债率指标', name: 'cz009' },
{ label: '应收账款负债率', name: 'cz031' },
{ label: '净资产收益率', name: 'qt013' },
{ label: '借款总额(计算方法与总银行借款相同)', name: 'gm010' },
{ label: '应付账款平均付款账期', name: 'yy023' },
{ label: '流动比率增长率', name: 'fz024' },
{ label: '流动资产周转月数', name: 'yy011' },
{ label: '应付款增长率', name: 'fz015' },
{ label: '营业成本费用率', name: 'yl018' },
{ label: '销售收入存货比', name: 'yl036' },
{ label: '资产负债率指标4', name: 'cz012' },
{ label: '全部资产现金回收率', name: 'xj008' },
{ label: '资产累计收益比率', name: 'cz057' },
{ label: '所有者权益周转率', name: 'yy009' },
{ label: '净负债率', name: 'cz004' },
{ label: '所有者权益比率指标', name: 'cz042' },
{ label: '长期资产适合率指标2', name: 'cz064' },
{ label: '流动比率指标', name: 'cz022' },
{ label: '对外担保比总资产', name: 'db001' },
{ label: '现金比率指标', name: 'cz021' },
{ label: '有形净值与债务比', name: 'cz020' },
{ label: '短期借款还款月数', name: 'yy021' },
{ label: '营业外收支增长率', name: 'fz002' },
{ label: '流动负债结构比', name: 'cz053' },
{ label: '经营活动现金净流量与借款总额比率', name: 'cz073' },
{ label: '现金再投资比率', name: 'xj010' },
{ label: '长期资本适合率', name: 'yy034' },
{ label: '净利润增长率(模型)', name: 'qt001' },
{ label: '固定资产与长期资金来源比率', name: 'cz048' },
{ label: '长期负债比率', name: 'cz016' },
{ label: '销售毛利率', name: 'yl003' },
{ label: '长期负债权益比率指标', name: 'cz008' },
{ label: '扣除预收账款后负债比率', name: 'cz013' },
{ label: '净负债比率', name: 'cz002' },
{ label: '银行债务资本净值比', name: 'cz005' },
{ label: '银行负债结构', name: 'cz054' },
{ label: '利润总额增长率', name: 'fz006' },
{ label: '营运资金债务比', name: 'yy031' },
{ label: 'EBIT与负债比', name: 'xj028' },
{ label: 'EBIT与长期负债(非流动负债)比', name: 'xj027' },
{ label: '所有者权益合计周转月数', name: 'yy026' },
{ label: '流动负债比率', name: 'cz014' },
{ label: '权益负债比率增长率', name: 'fz025' },
{ label: '速动资产比率', name: 'cz037' },
{ label: '有形资产债务率指标', name: 'cz019' },
{ label: '应付账款与销售成本比率', name: 'yl035' },
{ label: '销售收入收现比率', name: 'xj030' },
{ label: '流动资产合计', name: 'gm004' },
{ label: '借款与总资本比率', name: 'cz001' },
{ label: '总资产收益率(roa)2', name: 'yl025' },
{ label: '所有者权益合计报酬率', name: 'yl011' },
{ label: '长期负债(非流动负债)与收入比率', name: 'yl039' },
{ label: '长期资金报酬率', name: 'yl014' },
{ label: '资本化支出现金充足率', name: 'xj017' },
{ label: '对外担保比营业收入', name: 'db002' },
{ label: '资产负债率指标2', name: 'cz010' },
{ label: '预收账款占比', name: 'yy029' },
{ label: '营业外收支比例', name: 'yl021' },
{ label: '短期投资与流动资产合计之比', name: 'cz051' },
{ label: '负债权益比(杠杆率)', name: 'cz006' },
{ label: '利润总额', name: 'gm018' },
{ label: '现金到期债务比', name: 'xj004' },
{ label: '保守速动比率', name: 'cz027' },
{ label: '保守速动比率2', name: 'cz028' },
{ label: '财务费用率', name: 'yl015' },
{ label: '财务费用占借款比率', name: 'cz060' },
{ label: '偿债保障比率', name: 'cz056' },
{ label: '成本费用利润率', name: 'yl006' },
{ label: '筹资性现金流与所有者权益合计比率', name: 'xj034' },
{ label: '存货流动负债比', name: 'cz030' },
{ label: '所有者权益合计与年末贷款余额比率', name: 'cz007' },
{ label: '现金付费天数', name: 'yy018' },
{ label: '负债付款月数', name: 'yy019' },
{ label: '存货与销售成本比率', name: 'yl034' },
{ label: '存货与总资产比率', name: 'cz041' },
{ label: '存货增长率', name: 'fz008' },
{ label: '存货周转率', name: 'yy002' },
{ label: '存货周转月数', name: 'yy016' },
{ label: '短期借款还款月数', name: 'yy021' },
{ label: '单位资产留存收益', name: 'yl040' },
{ label: '短期投资与流动资产合计之比', name: 'cz051' },
{ label: '短债比率', name: 'cz059' },
{ label: '对外担保比净资产', name: 'db003' },
{ label: '对外担保比营业收入', name: 'db002' },
{ label: '对外担保比总资产', name: 'db001' },
{ label: '固定资产与所有者权益合计比率', name: 'cz047' },
{ label: '盈余公积与未分配利润合计', name: 'gm006' },
{ label: '长期负债合计', name: 'gm009' },
{ label: '资本固定化比率', name: 'cz045' },
{ label: '所有者权益合计对流动负债及所有者权益合计比率', name: 'cz046' },
{ label: '所有者权益合计收益率(roe)', name: 'yl026' },
{ label: '现金资产比率', name: 'cz036' },
{ label: '所有者权益(或股东权益)合计', name: 'param00010062' },
{ label: '(未分配利润+盈余公积)/年末总资产', name: 'yl041' },
{ label: '总资产周转率', name: 'yy008' },
{ label: '净利润与期初所有者权益合计比率', name: 'yl030' },
{ label: '所有者权益合计对固定资产比率增长率', name: 'fz026' },
{ label: '净利润与总负债比率', name: 'yl029' },
{ label: '净利润对固定资产及存货比率', name: 'yl032' },
{ label: '应收账款流动负债率', name: 'cz032' },
{ label: '速动比率指标3', name: 'cz026' },
{ label: '固定资产周转率', name: 'yy010' },
{ label: '流动资产比率', name: 'cz038' },
{ label: '销售净利润率增长率', name: 'fz022' },
{ label: '应收款与销售成本比率', name: 'yl033' },
{ label: '销售收入增长率(模型)', name: 'qt007' },
{ label: '管理费用比例', name: 'yl017' },
{ label: '净利润增长率', name: 'fz005' },
{ label: '存货周转月数', name: 'yy016' },
{ label: '所有者权益合计增长率', name: 'fz009' },
{ label: '财务费用率', name: 'yl015' },
{ label: '流动负债付款月数', name: 'yy020' },
{ label: '固定资产周转月数', name: 'yy025' },
{ label: '固定支出偿付倍数', name: 'yl020' },
{ label: '应付账款周转率2', name: 'yy004' },
{ label: '权益乘数', name: 'cz044' },
{ label: '成本费用利润率', name: 'yl006' },
{ label: '存货周转率', name: 'yy002' },
{ label: '现金流动负债比率2', name: 'xj003' },
{ label: 'CFO', name: 'gm013' },
{ label: '营业利润率', name: 'yl001' },
{ label: '销售净利润率', name: 'yl004' },
{ label: '非经营性收入与营业务收入比', name: 'yl045' },
{ label: '偿债保障比率', name: 'cz056' },
{ label: '预收账款增长率', name: 'fz013' },
{ label: 'EBIT利息保障倍数', name: 'cz066' },
{ label: '现金利息保障倍数', name: 'cz068' },
{ label: '固定资产合计', name: 'gm005' },
{ label: '总资产收益率(ROA)', name: 'yl024' },
{ label: '资产负债率指标3(银行负债资产比)', name: 'cz011' },
{ label: '营业利润与营运资金比率', name: 'yl002' },
{ label: '长期资产适合率指标', name: 'cz063' },
{ label: '存货增长率', name: 'fz008' },
{ label: '关联资金占用比率', name: 'cz043' },
{ label: '权益负债比率指标', name: 'cz035' },
{ label: '营业费用比例', name: 'yl016' },
{ label: '现金比', name: 'cz015' },
{ label: '销售现金比率', name: 'xj007' },
{ label: '总资产', name: 'gm002' },
{ label: '应付账款周转天数', name: 'yy014' },
{ label: '所有者权益合计周转年数', name: 'yy027' },
{ label: '利息支出与经营活动现金净流量比率', name: 'xj015' },
{ label: '总资产增长率', name: 'fz003' },
{ label: '资本回报率', name: 'yl012' },
{ label: '有形所有者权益合计收益率', name: 'yl027' },
{ label: '资本公积与实收资本比率', name: 'cz058' },
{ label: '有形净值与长期负债比', name: 'cz018' },
{ label: '保守速动比率2', name: 'cz028' },
{ label: '应收账款周转天数', name: 'yy015' },
{ label: '应收款项周转月数', name: 'yy012' },
{ label: '应收款项增长率', name: 'fz012' },
{ label: 'EBIT与长期负债(非流动负债)比', name: 'xj027' },
{ label: '利润总额与流动负债比率', name: 'yl042' },
{ label: '总资产周转速度', name: 'qt012' },
{ label: '长期资产适合率指标3', name: 'cz065' },
{ label: '有形净值债务比', name: 'cz017' },
{ label: '固定资产投资扩张率', name: 'fz014' },
{ label: '经营收益营运指数', name: 'yy032' },
{ label: '现金短期负债比', name: 'xj006' },
{ label: '借款速动比率', name: 'cz033' },
{ label: '经营性现金流与所有者权益合计比率', name: 'xj033' },
{ label: '自由现金流与融资性债务比率', name: 'qt009' },
{ label: '非筹资性现金净流入与流动负债比率', name: 'xj031' },
{ label: '经营性现金流与财务费用比率', name: 'xj035' },
{ label: 'EBIT利息保障倍数增长率', name: 'fz027' },
{ label: '收入质量比率', name: 'xj029' },
{ label: '总资产报酬率', name: 'yl009' },
{ label: '刚性负债杠杆比率', name: 'cz003' },
{ label: '短债比率', name: 'cz059' },
{ label: '现金债务总额比', name: 'xj001' },
{ label: '息税前利润率', name: 'yl005' },
{ label: '有形净值', name: 'gm007' },
{ label: 'CF', name: 'gm016' },
{ label: '资本收益率', name: 'yl028' },
{ label: '资产周转月数', name: 'yy024' },
{ label: '营运资本占比', name: 'yy033' },
{ label: '应收帐款周转速度', name: 'qt008' },
{ label: '应付账款与票据占成本比率', name: 'yl043' },
{ label: '投资性现金流与所有者权益合计比率', name: 'xj032' },
{ label: '投资活动现金充足率', name: 'xj016' },
{ label: '经营活动净现金流量与净利润比率', name: 'xj013' },
{ label: '速动比率指标2', name: 'cz025' },
{ label: '经营活动现金净流量短期借款偿付保障倍数', name: 'xj005' },
{ label: '所有者权益合计对固定资产比率', name: 'cz049' },
{ label: '销售收入增长率', name: 'fz001' },
{ label: '应收账款与总资产比率', name: 'cz039' },
{ label: '投资收益比例', name: 'yl037' },
{ label: '现金流动负债比', name: 'xj002' },
{ label: '销售收入收现比率(模型)', name: 'qt010' },
{ label: '三项费用比例', name: 'yl019' },
{ label: '流动资产周转率', name: 'yy005' },
{ label: '上一期企业财务接口', name: 'qycb1' },
{ label: '净资产', name: 'qt016' },
{ label: '所有者权益合计', name: 'gm001' },
{ label: '存货流动负债比', name: 'cz030' },
{ label: '财务费用占借款比率', name: 'cz060' },
{ label: '营运资本', name: 'gm011' },
{ label: '付息债务结构比指标', name: 'cz052' },
{ label: '有形资产增长率', name: 'fz010' },
{ label: '平均经营活动净现金流量与负债比率', name: 'xj012' },
{ label: '营运资本增长率', name: 'fz007' },
{ label: '本期企业财务接口', name: 'qycb0' },
{ label: '速动比率', name: 'cz024' },
{ label: '营业周期', name: 'yy028' },
{ label: '一、营业收入', name: 'param00030017' },
{ label: '应收账款周转月数', name: 'yy013' },
{ label: '财务费用', name: 'param00030008' },
{ label: '现金周转天数', name: 'yy017' },
{ label: '净债务', name: 'gm008' },
{ label: '单位资产留存收益', name: 'yl040' },
{ label: '主营业务收入', name: 'gm017' },
{ label: '净利润', name: 'qt015' },
{ label: '现金流量适合比率', name: 'xj009' },
{ label: '投资收益率', name: 'yl023' },
{ label: '长期负债与营运资金比率', name: 'yy030' },
{ label: '应付款项付款月数', name: 'yy022' },
{ label: '应收账款周转率', name: 'yy003' },
{ label: 'CFF', name: 'gm015' },
{ label: '营运资本周转率', name: 'yy001' },
{ label: '关联资金占用比率1', name: 'cz050' },
{ label: '流动比率指标2', name: 'cz023' },
{ label: '速动比率增长率', name: 'fz023' },
{ label: '资本总额', name: 'gm003' },
{ label: '筹资性现金流与所有者权益合计比率', name: 'xj034' },
{ label: '现金流动负债比率', name: 'cz029' },
{ label: 'CFI', name: 'gm014' },
{ label: '营运资金与资产比率', name: 'cz062' },
{ label: '速动资产周转率', name: 'yy007' },
],
};
</script>

57
irbs.frontend/src/views/query/InstitutionCustFeatureRet.vue

@ -42,35 +42,34 @@ const institutionCustFeatureRetGrid = {
columns: [
{ label: '客户编号', name: 'custNo' },
{ label: '客户名称', name: 'custName' },
{ label: 'CFI', name: 'gm014' },
{ label: 'CFF', name: 'gm015' },
{ label: 'CFO', name: 'gm013' },
{ label: 'CF', name: 'gm016' },
{ label: 'EBIT利息保障倍数', name: 'cz066' },
{ label: 'EBIT利息保障倍数增长率', name: 'fz027' },
{ label: 'EBIT与负债比', name: 'xj028' },
{ label: 'EBIT与长期负债(非流动负债)比', name: 'xj027' },
{ label: '保守速动比率', name: 'cz027' },
{ label: '保守速动比率2', name: 'cz028' },
{ label: '财务费用率', name: 'yl015' },
{ label: '财务费用占借款比率', name: 'cz060' },
{ label: '偿债保障比率', name: 'cz056' },
{ label: '成本费用利润率', name: 'yl006' },
{ label: '筹资性现金流与所有者权益合计比率', name: 'xj034' },
{ label: '存货流动负债比', name: 'cz030' },
{ label: '存货与销售成本比率', name: 'yl034' },
{ label: '存货与总资产比率', name: 'cz041' },
{ label: '存货增长率', name: 'fz008' },
{ label: '存货周转率', name: 'yy002' },
{ label: '存货周转月数', name: 'yy016' },
{ label: '短期借款还款月数', name: 'yy021' },
{ label: '单位资产留存收益', name: 'yl040' },
{ label: '短期投资与流动资产合计之比', name: 'cz051' },
{ label: '短债比率', name: 'cz059' },
{ label: '对外担保比净资产', name: 'db003' },
{ label: '对外担保比营业收入', name: 'db002' },
{ label: '对外担保比总资产', name: 'db001' },
{ label: '非筹资性现金净流入与流动负债比率', name: 'xj031' },
{ label: '存货与总资产比率', name: 'sycz041' },
{ label: '负债权益比杠杆率', name: 'sycz006' },
{ label: '关联资金占用比率', name: 'sycz043' },
{ label: '经费自给率', name: 'syqt004' },
{ label: '扣除预收账款后负债比率', name: 'sycz013' },
{ label: '权益乘数', name: 'sycz044' },
{ label: '权益负债比率', name: 'sycz035' },
{ label: '权益负债比率增长率', name: 'syfz025' },
{ label: '收支结余率', name: 'syqt005' },
{ label: '所有者权益比率', name: 'sycz042' },
{ label: '所有者权益合计', name: 'sygm001' },
{ label: '所有者权益合计增长率', name: 'syfz009' },
{ label: '应付款增长率', name: 'syfz015' },
{ label: '应收款项增长率', name: 'syfz012' },
{ label: '应收账款负债率', name: 'sycz031' },
{ label: '应收账款与总资产比率', name: 'sycz039' },
{ label: '应收账款增长率', name: 'syfz011' },
{ label: '有形净值', name: 'sygm007' },
{ label: '有形净值与债务比率', name: 'sycz020' },
{ label: '有形净值债务比', name: 'sycz017' },
{ label: '有形资产增长率', name: 'syfz010' },
{ label: '预收账款增长率', name: 'syfz013' },
{ label: '增长稳定性', name: 'syqt003' },
{ label: '资产负债率', name: 'sycz009' },
{ label: '总收入', name: 'syqt018' },
{ label: '总收入增长率', name: 'syqt002' },
{ label: '总资产', name: 'sygm002' },
{ label: '总资产增长率', name: 'syfz003' },
],
};
</script>

Loading…
Cancel
Save