INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.131', 't_r_lczx_zcys_05_bank', '当“资产/负债类别”选择“信托贷款”、委托贷款、“信贷资产转让”、“委托债权”、“应收账款”、“收/受益权”、“带回购条款的股权性融资”、“债权融资类产品”、“同业借款”、“收益凭证”、“债权投资计划和资产支持计划”时,{利息递延条款}为必填;当“资产/负债类别”选择“信贷资产流转和收益权转让产品”时,{利息递延条款}不可填', '当“资产/负债类别”选择“信托贷款”、委托贷款、“信贷资产转让”、“委托债权”、“应收账款”、“收/受益权”、“带回购条款的股权性融资”、“债权融资类产品”、“同业借款”、“收益凭证”、“债权投资计划和资产支持计划”时,{利息递延条款}为必填;当“资产/负债类别”选择“信贷资产流转和收益权转让产品”时,{利息递延条款}不可填', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE,INT_DEFER_CLAUSE_TYPE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND ((T.REP_ASSET_TYPE IN\r\n (\'1202\', \'1203\', \'1204\', \'1205\', \'1206\', \'1207\', \'1208\', \'1209\', \'1211\',\r\n \'1212\', \'1213\') AND T.INT_DEFER_CLAUSE_TYPE IS NULL)\r\nOR (T.REP_ASSET_TYPE = \'2202\' AND T.INT_DEFER_CLAUSE_TYPE IS NOT NULL))\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.132', 't_r_lczx_zcys_05_bank', '{利息递延条款类型}非空时,值必须在值域以内', '{利息递延条款类型}非空时,值必须在值域以内', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'INT_DEFER_CLAUSE_TYPE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND INT_DEFER_CLAUSE_TYPE IS NOT NULL \r\nAND INT_DEFER_CLAUSE_TYPE NOT IN (\'01\',\'02\',\'03\')\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.133', 't_r_lczx_zcys_05_bank', '当“资产/负债类别”选择“信托贷款”、委托贷款、“信贷资产转让”、“委托债权”、“应收账款”、“收/受益权”、“带回购条款的股权性融资”、“债权融资类产品”、“同业借款”、“收益凭证”、“债权投资计划和资产支持计划”,且{递延利息条款类型}选择(“有利息递延条款”,非利息递延条款引起的递延)时,{递延利息是否计息}为必填,{递延利息条款类型}选择“无利息递延条款”时,{递延利息是否计息}不可填;当“资产/负债类别”选择“信贷资产流转和收益权转让产品”时,{递延利息是否计息}不可填', '当“资产/负债类别”选择“信托贷款”、委托贷款、“信贷资产转让”、“委托债权”、“应收账款”、“收/受益权”、“带回购条款的股权性融资”、“债权融资类产品”、“同业借款”、“收益凭证”、“债权投资计划和资产支持计划”,且{递延利息条款类型}选择(“有利息递延条款”,非利息递延条款引起的递延)时,{递延利息是否计息}为必填,{递延利息条款类型}选择“无利息递延条款”时,{递延利息是否计息}不可填;当“资产/负债类别”选择“信贷资产流转和收益权转让产品”时,{递延利息是否计息}不可填', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE,INT_DEFER_CLAUSE_TYPE,IS_DEFER_ACCRUE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND ((T.REP_ASSET_TYPE IN\r\n (\'1202\', \'1203\', \'1204\', \'1205\', \'1206\', \'1207\', \'1208\', \'1209\',\r\n \'1211\', \'1212\', \'1213\') AND\r\n ((T.INT_DEFER_CLAUSE_TYPE IN (\'02\', \'03\') AND\r\n T.IS_DEFER_ACCRUE IS NULL) OR\r\n (T.INT_DEFER_CLAUSE_TYPE IN (\'01\') AND T.IS_DEFER_ACCRUE IS NOT NULL))) OR\r\n (T.REP_ASSET_TYPE = \'2202\' AND T.IS_DEFER_ACCRUE IS NOT NULL))\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.134', 't_r_lczx_zcys_05_bank', '{递延利息是否计息}非空时,值必须在值域以内', '{递延利息是否计息}非空时,值必须在值域以内', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'IS_DEFER_ACCRUE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND IS_DEFER_ACCRUE IS NOT NULL \r\nAND IS_DEFER_ACCRUE NOT IN (\'01\',\'02\')\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.135', 't_r_lczx_zcys_05_bank', '当“资产/负债类别”选择“信托贷款”、委托贷款、“信贷资产转让”、“委托债权”、“应收账款”、“收/受益权”、“带回购条款的股权性融资”、“债权融资类产品”、“同业借款”、“收益凭证”、“债权投资计划和资产支持计划”,且{永续条款类型}选择(“可续期条款”,永续条款)时,{首次重定价日期}为必填,{永续条款类型}选择“无”时,{首次重定价日期}不可填;当“资产/负债类别”选择“信贷资产流转和收益权转让产品”时,{首次重定价日期}不可填', '当“资产/负债类别”选择“信托贷款”、委托贷款、“信贷资产转让”、“委托债权”、“应收账款”、“收/受益权”、“带回购条款的股权性融资”、“债权融资类产品”、“同业借款”、“收益凭证”、“债权投资计划和资产支持计划”,且{永续条款类型}选择(“可续期条款”,永续条款)时,{首次重定价日期}为必填,{永续条款类型}选择“无”时,{首次重定价日期}不可填;当“资产/负债类别”选择“信贷资产流转和收益权转让产品”时,{首次重定价日期}不可填', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE,PERPET_CLAUSE_TYPE,FIRST_REPRICING_DATE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND ((T.REP_ASSET_TYPE IN\r\n (\'1202\', \'1203\', \'1204\', \'1205\', \'1206\', \'1207\', \'1208\', \'1209\',\r\n \'1211\', \'1212\', \'1213\') AND\r\n ((T.PERPET_CLAUSE_TYPE IN (\'01\', \'02\') AND\r\n T.FIRST_REPRICING_DATE IS NULL) OR\r\n (T.PERPET_CLAUSE_TYPE IN (\'03\') AND T.FIRST_REPRICING_DATE IS NOT NULL))) OR\r\n (T.REP_ASSET_TYPE = \'2202\' AND T.FIRST_REPRICING_DATE IS NOT NULL))\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.136', 't_r_lczx_zcys_05_bank', '{首次重定价日期}日期型,八位长字符,格式为 yyyymmdd', '{首次重定价日期}日期型,八位长字符,格式为 yyyymmdd', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'FIRST_REPRICING_DATE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND IS_DATE_TYPE( FIRST_REPRICING_DATE ,1)=0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.137', 't_r_lczx_zcys_05_bank', '当“资产/负债类别”选择“信托贷款”、委托贷款、“信贷资产转让”、“委托债权”、“应收账款”、“收/受益权”、“带回购条款的股权性融资”、“债权融资类产品”、“同业借款”、“收益凭证”、“债权投资计划和资产支持计划”,且{永续条款类型}选择(“可续期条款”,永续条款)时,{重定价周期}为必填,{永续条款类型}选择“无”时,{重定价周期}不可填;当“资产/负债类别”选择“信贷资产流转和收益权转让产品”时,{重定价周期}不可填', '当“资产/负债类别”选择“信托贷款”、委托贷款、“信贷资产转让”、“委托债权”、“应收账款”、“收/受益权”、“带回购条款的股权性融资”、“债权融资类产品”、“同业借款”、“收益凭证”、“债权投资计划和资产支持计划”,且{永续条款类型}选择(“可续期条款”,永续条款)时,{重定价周期}为必填,{永续条款类型}选择“无”时,{重定价周期}不可填;当“资产/负债类别”选择“信贷资产流转和收益权转让产品”时,{重定价周期}不可填', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE,PERPET_CLAUSE_TYPE,REPRICING_TERM\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND ((T.REP_ASSET_TYPE IN\r\n (\'1202\', \'1203\', \'1204\', \'1205\', \'1206\', \'1207\', \'1208\', \'1209\',\r\n \'1211\', \'1212\', \'1213\') AND\r\n ((T.PERPET_CLAUSE_TYPE IN (\'01\', \'02\') AND\r\n T.REPRICING_TERM IS NULL) OR\r\n (T.PERPET_CLAUSE_TYPE IN (\'03\') AND T.REPRICING_TERM IS NOT NULL))) OR\r\n (T.REP_ASSET_TYPE = \'2202\' AND T.REPRICING_TERM IS NOT NULL))\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.138', 't_r_lczx_zcys_05_bank', '{重定价周期}最长为5为整数型', '{重定价周期}最长为5为整数型', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REPRICING_TERM\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (LENGTH(T.REPRICING_TERM)>5 OR (T.REPRICING_TERM REGEXP \'[^0-9]\') = 1)\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.139', 't_r_lczx_zcys_05_bank', '{重定价周期}需填写大于0的数字', '{重定价周期}需填写大于0的数字', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REPRICING_TERM\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND T.REPRICING_TERM<=0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.140', 't_r_lczx_zcys_05_bank', '当“资产/负债类别”选择“信托贷款”、委托贷款、“信贷资产转让”、“委托债权”、“应收账款”、“收/受益权”、“带回购条款的股权性融资”、“债权融资类产品”、“同业借款”、“收益凭证”、“债权投资计划和资产支持计划”时,{部分赎回标识}必填,选择“信贷资产流转和收益权转让产品”时,不可填。', '当“资产/负债类别”选择“信托贷款”、委托贷款、“信贷资产转让”、“委托债权”、“应收账款”、“收/受益权”、“带回购条款的股权性融资”、“债权融资类产品”、“同业借款”、“收益凭证”、“债权投资计划和资产支持计划”时,{部分赎回标识}必填,选择“信贷资产流转和收益权转让产品”时,不可填。', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE,PART_REDEM_FLAG\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND ((T.REP_ASSET_TYPE IN\r\n (\'1202\', \'1203\', \'1204\', \'1205\', \'1206\', \'1207\', \'1208\', \'1209\',\r\n \'1211\', \'1212\', \'1213\') AND\r\n T.PART_REDEM_FLAG IS NULL) OR\r\n (T.REP_ASSET_TYPE = \'2202\' AND T.PART_REDEM_FLAG IS NOT NULL))\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.141', 't_r_lczx_zcys_05_bank', '{部分赎回标识}非空时,值必须在值域内', '{部分赎回标识}非空时,值必须在值域内', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'PART_REDEM_FLAG\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND PART_REDEM_FLAG IS NOT NULL \r\nAND PART_REDEM_FLAG NOT IN (\'01\',\'02\')\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.142', 't_r_lczx_zcys_05_bank', '当“资产/负债类别”选择“信托贷款”、委托贷款、“信贷资产转让”、“委托债权”、“应收账款”、“收/受益权”、“带回购条款的股权性融资”、“债权融资类产品”、“同业借款”、“收益凭证”、“债权投资计划和资产支持计划”时,{部分赎回比例%}选填,选择“信贷资产流转和收益权转让产品”时,必须为空', '当“资产/负债类别”选择“信托贷款”、委托贷款、“信贷资产转让”、“委托债权”、“应收账款”、“收/受益权”、“带回购条款的股权性融资”、“债权融资类产品”、“同业借款”、“收益凭证”、“债权投资计划和资产支持计划”时,{部分赎回比例%}选填,选择“信贷资产流转和收益权转让产品”时,必须为空', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE,PART_REDEM_RATIO\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND T.REP_ASSET_TYPE = \'2202\' AND T.PART_REDEM_RATIO IS NOT NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.143', 't_r_lczx_zcys_05_bank', '{部分赎回比例%}值大于等于0', '{部分赎回比例%}值大于等于0', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'PART_REDEM_RATIO\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND T.PART_REDEM_RATIO<0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.146', 't_r_lczx_zcys_05_bank', '{选择权}为必填项', '{选择权}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'CHOSE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND T.CHOSE IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.147', 't_r_lczx_zcys_05_bank', '{选择权}最长60位字符型', '{选择权}最长60位字符型', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'CHOSE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND length(CONVERT(CHOSE using GBK)) > 60\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.148', 't_r_lczx_zcys_05_bank', '{行权条件说明}为必填项,默认值为“无“', '{行权条件说明}为必填项,默认值为“无“', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'EXERCISE_CONDITIONS\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND T.EXERCISE_CONDITIONS IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.149', 't_r_lczx_zcys_05_bank', '{行权条件说明}最长200位字符', '{行权条件说明}最长200位字符', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'EXERCISE_CONDITIONS\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND length(CONVERT(EXERCISE_CONDITIONS using GBK)) > 200\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.150', 't_r_lczx_zcys_05_bank', '{融资人所属地区}为必填项', '{融资人所属地区}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'FIN_AREA\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND T.FIN_AREA IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.151', 't_r_lczx_zcys_05_bank', '{融资人所属地区}的值在必须要在《中华人民共和国行政区划代码》中存在', '{融资人所属地区}的值在必须要在《中华人民共和国行政区划代码》中存在', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'FIN_AREA\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND GET_DICT(\'LCZX_FIN_AREA\',T.FIN_AREA) = 0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.152', 't_r_lczx_zcys_05_bank', '当“资产/负债类别”选择“信托贷款”、委托贷款、“信贷资产转让”、“委托债权”、“应收账款”、“收/受益权”、“带回购条款的股权性融资”、“债权融资类产品”、“同业借款”、“收益凭证”、“债权投资计划和资产支持计划”时,{增信机构代码}必填,选择“信贷资产流转和收益权转让产品”时,不可填。', '当“资产/负债类别”选择“信托贷款”、委托贷款、“信贷资产转让”、“委托债权”、“应收账款”、“收/受益权”、“带回购条款的股权性融资”、“债权融资类产品”、“同业借款”、“收益凭证”、“债权投资计划和资产支持计划”时,{增信机构代码}必填,选择“信贷资产流转和收益权转让产品”时,不可填。', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE,CREDIT_ENHANCE_CORPID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND ((T.REP_ASSET_TYPE IN\r\n (\'1202\', \'1203\', \'1204\', \'1205\', \'1206\', \'1207\', \'1208\', \'1209\',\r\n \'1211\', \'1212\', \'1213\') AND T.CREDIT_ENHANCE_CORPID IS NULL) OR\r\n (T.REP_ASSET_TYPE = \'2202\' AND T.CREDIT_ENHANCE_CORPID IS NOT NULL))\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.153', 't_r_lczx_zcys_05_bank', '增信机构代码由数字和大写字母组成', '增信机构代码由数字和大写字母组成', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'CREDIT_ENHANCE_CORPID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (T.CREDIT_ENHANCE_CORPID REGEXP \'[^A-Z0-9]\') = 1\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.154', 't_r_lczx_zcys_05_bank', '增信机构代码定长9位或者18位字符', '增信机构代码定长9位或者18位字符', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'CREDIT_ENHANCE_CORPID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(CREDIT_ENHANCE_CORPID) NOT IN (9,18)\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.155', 't_r_lczx_zcys_05_bank', '当“资产/负债类别”选择“信托贷款”、委托贷款、“信贷资产转让”、“委托债权”、“应收账款”、“收/受益权”、“带回购条款的股权性融资”、“债权融资类产品”、“同业借款”、“收益凭证”、“债权投资计划和资产支持计划”时,{增信机构名称}必填,选择“信贷资产流转和收益权转让产品”时,不可填。', '当“资产/负债类别”选择“信托贷款”、委托贷款、“信贷资产转让”、“委托债权”、“应收账款”、“收/受益权”、“带回购条款的股权性融资”、“债权融资类产品”、“同业借款”、“收益凭证”、“债权投资计划和资产支持计划”时,{增信机构名称}必填,选择“信贷资产流转和收益权转让产品”时,不可填。', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE,CREDIT_ENHANCE_CORPNAME\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND ((T.REP_ASSET_TYPE IN\r\n (\'1202\', \'1203\', \'1204\', \'1205\', \'1206\', \'1207\', \'1208\', \'1209\',\r\n \'1211\', \'1212\', \'1213\') AND\r\n T.CREDIT_ENHANCE_CORPNAME IS NULL) OR\r\n (T.REP_ASSET_TYPE = \'2202\' AND T.CREDIT_ENHANCE_CORPNAME IS NOT NULL))\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.156', 't_r_lczx_zcys_05_bank', '{增信机构名称}最长200位字符', '{增信机构名称}最长200位字符', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'CREDIT_ENHANCE_CORPNAME\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND length(CONVERT( CREDIT_ENHANCE_CORPNAME using GBK)) > 200\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.157', 't_r_lczx_zcys_05_bank', '{融资总费率%}为必填项,且填写大于等于0的数字', '{融资总费率%}为必填项,且填写大于等于0的数字', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'TOTAL_FEE_RATE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (T.TOTAL_FEE_RATE IS NULL OR T.TOTAL_FEE_RATE<0)\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.159', 't_r_lczx_zcys_05_bank', '{融资总费率%}大于0时,备注必填', '{融资总费率%}大于0时,备注必填', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'TOTAL_FEE_RATE,REMARK\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND T.TOTAL_FEE_RATE>0\r\nAND T.REMARK IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.160', 't_r_lczx_zcys_05_bank', '{融资人组织机构(社会信用)代码}必填', '{融资人组织机构(社会信用)代码}必填', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'FIN_ORG_CODE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND T.FIN_ORG_CODE IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.161', 't_r_lczx_zcys_05_bank', '{融资人组织机构(社会信用)代码}由数字和大写字母组成', '{融资人组织机构(社会信用)代码}由数字和大写字母组成', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'FIN_ORG_CODE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (T.FIN_ORG_CODE REGEXP \'[^A-Z0-9]\') = 1\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.162', 't_r_lczx_zcys_05_bank', '{融资人组织机构(社会信用)代码}定长9位或者18位字符', '{融资人组织机构(社会信用)代码}定长9位或者18位字符', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'FIN_ORG_CODE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(FIN_ORG_CODE) NOT IN (9,18)\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.163', 't_r_lczx_zcys_05_bank', '{备注}最长256位字符', '{备注}最长256位字符', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REMARK\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(CONVERT(T.REMARK USING GBK)) >256\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.164', 't_r_lczx_zcys_05_bank', '当“收/受益权类型”、“基准利率种类”、“融资人类型(按规模划分 )”、\r\n“融资人类型(按按技术领域划分)”、“融资人类型(按经济类型划分 ))”、“抵质押物类型”、“担保人与融资人关系”选择“其他”时,备注必填;当“交易流通场所”选择“其他交易流通场所”时,备注必填;当“融资总费率”大于 0 时,备注必填;', '当“收/受益权类型”、“基准利率种类”、“融资人类型(按规模划分 )”、\r\n“融资人类型(按按技术领域划分)”、“融资人类型(按经济类型划分 ))”、“抵质押物类型”、“担保人与融资人关系”选择“其他”时,备注必填;当“交易流通场所”选择“其他交易流通场所”时,备注必填;当“融资总费率”大于 0 时,备注必填;', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'FINAN_SCALE,FINAN_TECH_FIELD,FINAN_ECON_NATURE,MORT_PLEDGE_TYPE,GUAR_FINAN_RELATION,BASIS_TYPE,PROFIT_TYPE,REP_TRADE_MARKET,TOTAL_FEE_RATE,REMARK\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_05_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (FINAN_SCALE=\'99\' OR FINAN_TECH_FIELD=\'99\' OR FINAN_ECON_NATURE=\'99\' OR MORT_PLEDGE_TYPE=\'99\' OR GUAR_FINAN_RELATION=\'99\' OR BASIS_TYPE=\'99\' OR PROFIT_TYPE=\'99\' OR REP_TRADE_MARKET=\'99\' OR TOTAL_FEE_RATE>0)\r\nAND REMARK IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.165', 't_r_lczx_zcys_05_bank', '{备注}必填,默认填无', '{备注}必填,默认填无', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT\r\n \'@BATCH_ID\' AS BATCH_ID,\r\n \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REMARK\' AS COLUMN_CODE,\r\n 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE,\r\n \'C10307\' AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE,\r\n NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM\r\n t_r_lczx_zcys_05_bank T\r\nWHERE\r\n T.FILE_DATE = \'@FILE_DATE\'\r\nand REMARK is null\r\nGROUP BY\r\n T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.166', 't_r_lczx_zcys_05_bank', '资产大类为‘非标准化债权类资产‘时,{资产/负债类别}值必须在值域内', '资产大类为‘非标准化债权类资产‘时,{资产/负债类别}值必须在值域内', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT\r\n \'@BATCH_ID\' AS BATCH_ID,\r\n \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE\' AS COLUMN_CODE,\r\n 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE,\r\n \'C10307\' AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE,\r\n NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM\r\n t_r_lczx_zcys_05_bank T\r\nWHERE\r\n T.FILE_DATE = \'@FILE_DATE\'\r\nand REP_ASSET_TYPE not in (1202,1203,1204,1205,1206,1207,1208,1209,1211,1212,1213,2202)\r\nAND REP_ASSET_TYPE IS NOT NULL\r\nGROUP BY\r\n T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.167', 't_r_lczx_zcys_05_bank', '{外部评级机构名称及对融资人评级结果}文字长度(最大长)200', '{外部评级机构名称及对融资人评级结果}文字长度(最大长)200', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'FINAN_OUT_RATING\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(convert(FINAN_OUT_RATING using GBK))>200\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.168', 't_r_lczx_zcys_05_bank', '{行权方式}为空时,{固定行权日}不可填写', '当行权方式为空时,固定行权日必须为空', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'EXERCISE_MODE,EXERCISE_MDATE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND EXERCISE_MODE is null\r\nAND EXERCISE_MDATE IS not NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.169', 't_r_lczx_zcys_05_bank', '{行权方式}为空时,{首次行权日期}不可填写', '当行权方式为空时,首次行权日期必须为空', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'EXERCISE_MODE,FIRST_EXERCISE_DATE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND EXERCISE_MODE is null\r\nAND FIRST_EXERCISE_DATE IS not NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.170', 't_r_lczx_zcys_05_bank', '{行权方式}为空时,{行权周期}不可填写', '当行权方式为空时,行权周期必须为空', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'EXERCISE_MODE,EXERCISE_TERM\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_05_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND EXERCISE_MODE is null\r\nAND EXERCISE_TERM IS not NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.022.999', 't_r_lczx_zcys_05_bank', '{资产/负债类别}值必须在值域内', '{资产/负债类别}值必须在值域内', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\n \'REP_ASSET_TYPE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\n NULL AS DIFFERENCE\nFROM T_R_LCZX_ZCYS_05_bank T\nWHERE T.FILE_DATE = \'@FILE_DATE\'\nAND GET_DICT(\'LCZX_ASSET_TYPE\',T.REP_ASSET_TYPE)=0\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.001', 't_r_lczx_zcys_15_bank', '{行内资产/负债编码}为必填项', '{行内资产/负债编码}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_FINPROD_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_15_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_FINPROD_ID IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.002', 't_r_lczx_zcys_15_bank', '{行内资产/负债编码}不得含有中文', '{行内资产/负债编码}不得含有中文', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_FINPROD_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_15_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(T.REP_FINPROD_ID) <> CHAR_LENGTH(T.REP_FINPROD_ID)\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.003', 't_r_lczx_zcys_15_bank', '{行内资产/负债编码}在机构内不可重复', '{行内资产/负债编码}在机构内不可重复', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT N_ID) AS N_ID_LIST,\r\n \'REP_FINPROD_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, T1.FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM (SELECT REP_FINPROD_ID, FILE_DATE, GROUP_CONCAT(DISTINCT N_ID) AS N_ID,\r\n T.FUND_CATEGORY\r\n FROM T_R_LCZX_ZCYS_15_BANK T\r\n WHERE T.FILE_DATE = \'@FILE_DATE\'\r\n GROUP BY REP_FINPROD_ID, FILE_DATE,FUND_CATEGORY\r\n HAVING COUNT(1) > 1) T1\r\nGROUP BY T1.FUND_CATEGORY, T1.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.004', 't_r_lczx_zcys_15_bank', '{行内资产/负债编码}最长40个字符,不建议超过18位', '{行内资产/负债编码}最长40个字符,不建议超过18位', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_FINPROD_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_15_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(REP_FINPROD_ID) > 40\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.005', 't_r_lczx_zcys_15_bank', '{发行机构代码}为必填项', '{发行机构代码}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ISSUE_PARTY_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_15_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_ISSUE_PARTY_ID IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.006', 't_r_lczx_zcys_15_bank', '{发行机构代码}由英文和数字组成', '{发行机构代码}由英文和数字组成', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ISSUE_PARTY_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_15_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_ISSUE_PARTY_ID REGEXP \'[^A-Za-z0-9]\'= 1\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.007', 't_r_lczx_zcys_15_bank', '理财报表,{发行机构代码}为Z70033;银行报表,{发行机构代码}为C10307', '理财报表,{发行机构代码}为Z70033;银行报表,{发行机构代码}为C10307', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ISSUE_PARTY_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_15_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_ISSUE_PARTY_ID <> \'C10307\'\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.008', 't_r_lczx_zcys_15_bank', '{资产/负债类别}为必填项', '{资产/负债类别}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_15_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_ASSET_TYPE IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.009', 't_r_lczx_zcys_15_bank', '{资产/负债类别}定长,为4位字符', '{资产/负债类别}定长,为4位字符', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_15_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(REP_ASSET_TYPE) <> 4\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.010', 't_r_lczx_zcys_15_bank', '{币种}为必填项', '{币种}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_CCY\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_15_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_CCY IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.011', 't_r_lczx_zcys_15_bank', '{币种}的值在《世界各地货币代码》中必须存在', '{币种}的值在《世界各地货币代码》中必须存在', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_CCY\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_15_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND GET_DICT(\'LCZX_CURRENCY\',T.REP_CCY) = 0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.012', 't_r_lczx_zcys_15_bank', '{交易流通场所}为必填项', '{交易流通场所}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_TRADE_MARKET\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_15_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_TRADE_MARKET IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.013', 't_r_lczx_zcys_15_bank', '{交易流通场所}的值在《交易流通场所表》中必须存在', '{交易流通场所}的值在《交易流通场所表》中必须存在', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_TRADE_MARKET\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_15_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND GET_DICT(\'LCZX_TRADE_PLACES\',T.REP_TRADE_MARKET) = 0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.014', 't_r_lczx_zcys_15_bank', '{所属国家或地区}为必填项', '{所属国家或地区}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'AREA\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_15_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND AREA IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.015', 't_r_lczx_zcys_15_bank', '{所属国家或地区}值域范围内单选', '{所属国家或地区}值域范围内单选', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'AREA\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_15_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND GET_DICT(\'LCZX_COUNTRY_AREA\',T.AREA) = 0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.016', 't_r_lczx_zcys_15_bank', '{名称}为必填项', '{名称}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'ASSET_NAME\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_15_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND ASSET_NAME IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.017', 't_r_lczx_zcys_15_bank', '{名称}最长200位字符型', '{名称}最长200位字符型', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'ASSET_NAME\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_15_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND length(CONVERT(ASSET_NAME using GBK)) >200\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.018', 't_r_lczx_zcys_15_bank', '{起息日}为必填项', '{起息日}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'STAT_DATE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_15_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND STAT_DATE IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.019', 't_r_lczx_zcys_15_bank', '{起息日}必须为date日期类型,八位长字符,格式为YYYYMMDD', '{起息日}必须为date日期类型,八位长字符,格式为YYYYMMDD', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'STAT_DATE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_15_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND IS_DATE_TYPE(STAT_DATE, 1) = 0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.020', 't_r_lczx_zcys_15_bank', '{到期日}为必填项,若无,则填入99991231', '{到期日}为必填项,若无,则填入99991231', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'END_DATE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_15_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND END_DATE IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.021', 't_r_lczx_zcys_15_bank', '{到期日}大于等于{起息日}', '{到期日}大于等于{起息日}', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'END_DATE,STAT_DATE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_15_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND END_DATE < STAT_DATE\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.022', 't_r_lczx_zcys_15_bank', '{到期日}必须为date日期类型,八位长字符,格式为YYYYMMDD', '{到期日}必须为date日期类型,八位长字符,格式为YYYYMMDD', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'END_DATE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_15_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND IS_DATE_TYPE(END_DATE,1) = 0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.023', 't_r_lczx_zcys_15_bank', '{资产价值}为必填项', '{资产价值}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'ASSET_VALUE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_15_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND ASSET_VALUE IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.024', 't_r_lczx_zcys_15_bank', '{资产价值}大于等于0', '{资产价值}大于等于0', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'ASSET_VALUE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_15_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND ASSET_VALUE <0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.028', 't_r_lczx_zcys_15_bank', '{备注}选择性必填,当“交易流通场所”选择“其他交易流通场所”时,备注必填。', '{备注}选择性必填,当“交易流通场所”选择“其他交易流通场所”时,备注必填。', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_TRADE_MARKET,REMARK\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_15_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_TRADE_MARKET=\'99\' AND REMARK IS NULL \r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.030', 't_r_lczx_zcys_15_bank', '{备注}必填,默认填无', '{备注}必填,默认填无', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT\r\n \'@BATCH_ID\' AS BATCH_ID,\r\n \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REMARK\' AS COLUMN_CODE,\r\n 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE,\r\n \'C10307\' AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE,\r\n NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM\r\n t_r_lczx_zcys_15_bank T\r\nWHERE\r\n T.FILE_DATE = \'@FILE_DATE\'\r\nand REMARK is null\r\nGROUP BY\r\n T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.031', 't_r_lczx_zcys_15_bank', '资产大类为‘另类资产’时,{资产/负债类别}值必须在值域内', '资产大类为‘另类资产’时,{资产/负债类别}值必须在值域内', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT\r\n \'@BATCH_ID\' AS BATCH_ID,\r\n \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE\' AS COLUMN_CODE,\r\n 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE,\r\n \'C10307\' AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE,\r\n NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM\r\n t_r_lczx_zcys_15_bank T\r\nWHERE\r\n T.FILE_DATE = \'@FILE_DATE\'\r\nand REP_ASSET_TYPE not in (2301,2302,2303,2304,2305,1603)\r\nAND REP_ASSET_TYPE IS NOT NULL\r\nGROUP BY\r\n T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.032', 't_r_lczx_zcys_15', '{备注}最长256字符', '{备注}最长256字符', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REMARK\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_15_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND length(CONVERT(REMARK using GBK)) >256\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.023.999', 't_r_lczx_zcys_15_bank', '{资产/负债类别}值必须在值域内', '{资产/负债类别}值必须在值域内', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\n \'REP_ASSET_TYPE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\n NULL AS DIFFERENCE\nFROM T_R_LCZX_ZCYS_15_bank T\nWHERE T.FILE_DATE = \'@FILE_DATE\'\nAND GET_DICT(\'LCZX_ASSET_TYPE\',T.REP_ASSET_TYPE)=0\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.001', 't_r_lczx_zcys_16_bank', '{行内资产/负债编码}为必填项', '{行内资产/负债编码}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_FINPROD_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_16_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_FINPROD_ID IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.002', 't_r_lczx_zcys_16_bank', '{行内资产/负债编码}不得含有中文', '{行内资产/负债编码}不得含有中文', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_FINPROD_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_16_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(T.REP_FINPROD_ID) <> CHAR_LENGTH(T.REP_FINPROD_ID)\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.003', 't_r_lczx_zcys_16_bank', '{行内资产/负债编码}在机构内不可重复', '{行内资产/负债编码}在机构内不可重复', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT N_ID) AS N_ID_LIST,\r\n \'REP_FINPROD_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, T1.FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM (SELECT REP_FINPROD_ID, FILE_DATE, GROUP_CONCAT(DISTINCT N_ID) AS N_ID,\r\n T.FUND_CATEGORY\r\n FROM T_R_LCZX_ZCYS_16_BANK T\r\n WHERE T.FILE_DATE = \'@FILE_DATE\'\r\n GROUP BY REP_FINPROD_ID, FILE_DATE,FUND_CATEGORY\r\n HAVING COUNT(1) > 1) T1\r\nGROUP BY T1.FUND_CATEGORY, T1.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.004', 't_r_lczx_zcys_16_bank', '{行内资产/负债编码}最长40个字符,不建议超过18位', '{行内资产/负债编码}最长40个字符,不建议超过18位', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_FINPROD_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_16_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(REP_FINPROD_ID) > 40\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.005', 't_r_lczx_zcys_16_bank', '{发行机构代码}为必填项', '{发行机构代码}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ISSUE_PARTY_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_16_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_ISSUE_PARTY_ID IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.006', 't_r_lczx_zcys_16_bank', '{发行机构代码}由英文和数字组成', '{发行机构代码}由英文和数字组成', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ISSUE_PARTY_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_16_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_ISSUE_PARTY_ID REGEXP \'[^A-Za-z0-9]\'= 1\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.007', 't_r_lczx_zcys_16_bank', '理财报表,{发行机构代码}为Z70033;银行报表,{发行机构代码}为C10307', '理财报表,{发行机构代码}为Z70033;银行报表,{发行机构代码}为C10307', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ISSUE_PARTY_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_16_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_ISSUE_PARTY_ID <> \'C10307\'\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.008', 't_r_lczx_zcys_16_bank', '{资产/负债类别}为必填项', '{资产/负债类别}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_16_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_ASSET_TYPE IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.009', 't_r_lczx_zcys_16_bank', '{资产/负债类别}定长,为4位字符', '{资产/负债类别}定长,为4位字符', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_16_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(REP_ASSET_TYPE) <> 4\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.010', 't_r_lczx_zcys_16_bank', '{币种}为必填项', '{币种}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_CCY\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_16_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_CCY IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.011', 't_r_lczx_zcys_16_bank', '{币种}的值在《世界各地货币代码》中必须存在', '{币种}的值在《世界各地货币代码》中必须存在', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_CCY\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_16_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND GET_DICT(\'LCZX_CURRENCY\',T.REP_CCY) = 0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.012', 't_r_lczx_zcys_16_bank', '{交易流通场所}为必填项', '{交易流通场所}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_TRADE_MARKET\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_16_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_TRADE_MARKET IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.013', 't_r_lczx_zcys_16_bank', '{交易流通场所}的值在《交易流通场所表》中必须存在', '{交易流通场所}的值在《交易流通场所表》中必须存在', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_TRADE_MARKET\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_16_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND GET_DICT(\'LCZX_TRADE_PLACES\',T.REP_TRADE_MARKET) = 0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.014', 't_r_lczx_zcys_16_bank', '{基金代码}为必填项,若无,则填写“无”', '{基金代码}为必填项,若无,则填写“无”', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_FINPROD_ID2\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_FINPROD_ID2 IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.015', 't_r_lczx_zcys_16_bank', '{基金代码}最长20位字符型', '{基金代码}最长20位字符型', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_FINPROD_ID2\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(CONVERT(T.REP_FINPROD_ID2 USING GBK)) >20\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.016', 't_r_lczx_zcys_16_bank', '{基金名称}为必填项', '{基金名称}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_FINPROD_NAME\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_FINPROD_NAME IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.017', 't_r_lczx_zcys_16_bank', '{基金名称}最长200位字符型', '{基金名称}最长200位字符型', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_FINPROD_NAME\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND length(CONVERT(REP_FINPROD_NAME using GBK)) >200\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.018', 't_r_lczx_zcys_16_bank', '{是否由金融资产投资公司发行}选择性必填,当资产类别为“权益类基金”,固收类基金,“混合类基金”,期货类及其他衍生品基金,“其他私募证券投资基金”,上市公司定增基金,并购基金,房地产基金,基础设施基金,其他私募股权投资基金,创业投资基金,红酒艺术品等商品基金,“私募证券类FOF基金”,私募股权投资类FOF基金,创业投资类FOF基金,其他私募投资类FOF基金,其他私募基金时,必填。当资产类别为债券基金,“货币市场基金”,“股票基金”,“基金中基金”,混合基金,其他公募基金时,不可填。', '{是否由金融资产投资公司发行}选择性必填,当资产类别为“权益类基金”,固收类基金,“混合类基金”,期货类及其他衍生品基金,“其他私募证券投资基金”,上市公司定增基金,并购基金,房地产基金,基础设施基金,其他私募股权投资基金,创业投资基金,红酒艺术品等商品基金,“私募证券类FOF基金”,私募股权投资类FOF基金,创业投资类FOF基金,其他私募投资类FOF基金,其他私募基金时,必填。当资产类别为债券基金,“货币市场基金”,“股票基金”,“基金中基金”,混合基金,其他公募基金时,不可填。', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE,IS_FINCO_ISSUE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND ((T.REP_ASSET_TYPE IN (\'1106\',\'2401\',\'1303\',\'2403\',\'2402\',\'2499\')\r\nAND T.IS_FINCO_ISSUE IS NOT NULL)\r\nOR (T.REP_ASSET_TYPE IN (\'2601\',\'2602\',\'2604\',\'2605\',\'2606\',\'2607\',\'2610\',\'2611\',\'2612\',\'2617\',\'2613\',\'2614\',\'2616\',\'2618\',\'2619\',\'2620\',\'2699\')\r\nAND T.IS_FINCO_ISSUE IS NULL))\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.019', 't_r_lczx_zcys_16_bank', '{是否由金融资产投资公司发行}值域范围内单选', '{是否由金融资产投资公司发行}值域范围内单选', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'IS_FINCO_ISSUE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (T.IS_FINCO_ISSUE NOT IN (\'01\',\'02\') OR LENGTH(IS_FINCO_ISSUE) <> 2 ) \r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.020', 't_r_lczx_zcys_16_bank', '{行业}为必填项', '{行业}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:06', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE, GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST, \'REP_INDUSTRY\' AS COLUMN_CODE, 0 AS RESULT_CODE, \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE, NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE, NULL AS DIFFERENCE FROM T_R_LCZX_ZCYS_16_BANK T WHERE T.FILE_DATE = \'@FILE_DATE\' AND REP_INDUSTRY IS NULL GROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.021', 't_r_lczx_zcys_16_bank', '{行业}值域范围内单选', '{行业}值域范围内单选', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_INDUSTRY\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_16_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (GET_DICT(\'LCZX_REP_CORP_INDUSTRY\',T.REP_INDUSTRY) = 0 OR LENGTH(REP_INDUSTRY) <> 3 ) \r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.022', 't_r_lczx_zcys_16_bank', '{登记备案机构}为必填项', '{登记备案机构}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_REGIST_ORG\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_REGIST_ORG IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.023', 't_r_lczx_zcys_16_bank', '{登记备案机构}值域范围内单选', '{登记备案机构}值域范围内单选', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_REGIST_ORG\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (T.REP_REGIST_ORG NOT IN (\'01\',\'02\',\'03\',\'04\',\'99\') OR LENGTH(REP_REGIST_ORG) <> 2 ) \r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.024', 't_r_lczx_zcys_16_bank', '{是否为固定收益类}选择性必填,公募基金类资产必填,其他资产不可填', '{是否为固定收益类}选择性必填,公募基金类资产必填,其他资产不可填', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE,IF_FIX_PROFIT\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND ((T.REP_ASSET_TYPE IN (\'1106\',\'2401\',\'1303\',\'2403\',\'2402\',\'2499\')\r\nAND T.IF_FIX_PROFIT IS NULL)\r\nOR (T.REP_ASSET_TYPE IN (\'2601\',\'2602\',\'2604\',\'2605\',\'2606\',\'2607\',\'2610\',\'2611\',\'2612\',\'2617\',\'2613\',\'2614\',\'2616\',\'2618\',\'2619\',\'2620\',\'2699\')\r\nAND T.IF_FIX_PROFIT IS NOT NULL))\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.025', 't_r_lczx_zcys_16_bank', '{是否为固定收益类}值域范围内单选', '{是否为固定收益类}值域范围内单选', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'IF_FIX_PROFIT\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (T.IF_FIX_PROFIT NOT IN (\'01\',\'02\') OR LENGTH(IF_FIX_PROFIT) <> 2 ) \r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.026', 't_r_lczx_zcys_16_bank', '{是否属于政府投资基金}选择性必填,私募基金中的为“上市公司定增基金”、“并购基金”、“房地产基金”、“基础设施基金”、“创业投资基金”以及“其他私募股权投资基金”时,必填;其他类别的基金可不填;', '{是否属于政府投资基金}选择性必填,私募基金中的为“上市公司定增基金”、“并购基金”、“房地产基金”、“基础设施基金”、“创业投资基金”以及“其他私募股权投资基金”时,必填;其他类别的基金可不填;', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE,REP_IS_GOV_INVEST\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND T.REP_ASSET_TYPE IN (\'2607\',\'2610\',\'2611\',\'2612\',\'2613\',\'2617\')\r\nAND T.REP_IS_GOV_INVEST IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.027', 't_r_lczx_zcys_16_bank', '{是否属于政府投资基金}值域范围内单选', '{是否属于政府投资基金}值域范围内单选', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_IS_GOV_INVEST\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (T.REP_IS_GOV_INVEST NOT IN (\'01\',\'02\') OR LENGTH(REP_IS_GOV_INVEST) <> 2 ) \r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.028', 't_r_lczx_zcys_16_bank', '{政府投资基金投向}选择性必填,{是否属于政府投资基金}为“是”时,必填;{是否属于政府投资基金}为“否”时,可不填', '{政府投资基金投向}选择性必填,{是否属于政府投资基金}为“是”时,必填;{是否属于政府投资基金}为“否”时,可不填', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_IS_GOV_INVEST,REP_GOV_INVEST_FOR\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND T.REP_IS_GOV_INVEST =\'01\'\r\nAND T.REP_GOV_INVEST_FOR IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.029', 't_r_lczx_zcys_16_bank', '{政府投资基金投向}值域范围内单选', '{政府投资基金投向}值域范围内单选', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_GOV_INVEST_FOR\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (T.REP_GOV_INVEST_FOR NOT IN (\'01\',\'02\',\'03\',\'04\') OR LENGTH(REP_GOV_INVEST_FOR) <> 2 ) \r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.030', 't_r_lczx_zcys_16_bank', '{基金公司名称}非必填,最长200位字符型', '{基金公司名称}非必填,最长200位字符型', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_FUND_COMP_NAME\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND length(CONVERT(REP_FUND_COMP_NAME using GBK)) >200\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.031', 't_r_lczx_zcys_16_bank', '{基金管理机构名称}为必填项', '{基金管理机构名称}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_MNG_PARTY_NAME\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_MNG_PARTY_NAME IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.032', 't_r_lczx_zcys_16_bank', '{基金管理机构名称}最长200位字符型', '{基金管理机构名称}最长200位字符型', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_MNG_PARTY_NAME\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND length(CONVERT(REP_MNG_PARTY_NAME using GBK)) > 200\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.033', 't_r_lczx_zcys_16_bank', '{基金托管机构名称}为必填项', '{基金托管机构名称}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_TRUST_PARTY_NAME\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_TRUST_PARTY_NAME IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.034', 't_r_lczx_zcys_16_bank', '{基金托管机构名称}最长200位字符型', '{基金托管机构名称}最长200位字符型', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_TRUST_PARTY_NAME\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND length(CONVERT(REP_TRUST_PARTY_NAME using GBK)) > 200\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.035', 't_r_lczx_zcys_16_bank', '{投资阶段}为选择性必填,“私募基金”中“并购基金”、“房地产基金”、“基础设施基金”和“创业投资基金”时,必填;其他类别的基金可不填', '{投资阶段}为选择性必填,“私募基金”中“并购基金”、“房地产基金”、“基础设施基金”和“创业投资基金”时,必填;其他类别的基金可不填', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE,REP_INVEST_STAGE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND T.REP_ASSET_TYPE IN (\'2610\',\'2611\',\'2612\',\'2613\')\r\nAND T.REP_INVEST_STAGE IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.036', 't_r_lczx_zcys_16_bank', '{投资阶段}值域范围内单选', '{投资阶段}值域范围内单选', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_INVEST_STAGE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (T.REP_INVEST_STAGE NOT IN (\'01\',\'02\',\'03\',\'04\',\'05\',\'06\',\'99\') OR LENGTH(REP_INVEST_STAGE) <> 2 ) \r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.037', 't_r_lczx_zcys_16_bank', '{投资企业类型(按规模划分)}选择性必填,“私募基金”为 “并购基金”、“房地产基金”、“基础设施基金”和“创业投资基金”时,必填;其他类别的基金可不填', '{投资企业类型(按规模划分)}选择性必填,“私募基金”为 “并购基金”、“房地产基金”、“基础设施基金”和“创业投资基金”时,必填;其他类别的基金可不填', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE,REP_PARTY_TYPE1\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND T.REP_ASSET_TYPE IN (\'2610\',\'2611\',\'2612\',\'2613\')\r\nAND T.REP_PARTY_TYPE1 IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.038', 't_r_lczx_zcys_16_bank', '{投资企业类型(按规模划分)}值域范围内单选', '{投资企业类型(按规模划分)}值域范围内单选', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_PARTY_TYPE1\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (T.REP_PARTY_TYPE1 NOT IN (\'01\',\'02\',\'99\') OR LENGTH(REP_PARTY_TYPE1) <> 2 ) \r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.039', 't_r_lczx_zcys_16_bank', '{投资企业类型(按技术领域划分)}选择性必填,“私募基金”为 “并购基金”、“房地产基金”、“基础设施基金”和“创业投资基金”时,必填', '{投资企业类型(按技术领域划分)}选择性必填,“私募基金”为 “并购基金”、“房地产基金”、“基础设施基金”和“创业投资基金”时,必填', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE,REP_PARTY_TYPE2\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND T.REP_ASSET_TYPE IN (\'2610\',\'2611\',\'2612\',\'2613\')\r\nAND T.REP_PARTY_TYPE2 IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.040', 't_r_lczx_zcys_16_bank', '{投资企业类型(按技术领域划分)}值域范围内单选', '{投资企业类型(按技术领域划分)}值域范围内单选', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_PARTY_TYPE2\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (T.REP_PARTY_TYPE2 NOT IN (\'01\',\'99\') OR LENGTH(REP_PARTY_TYPE2) <> 2 ) \r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.041', 't_r_lczx_zcys_16_bank', '{投资企业类型(按经济类型划分)}选择性必填,“私募基金”为 “并购基金”、“房地产基金”、“基础设施基金”和“创业投资基金”时,必填', '{投资企业类型(按经济类型划分)}选择性必填,“私募基金”为 “并购基金”、“房地产基金”、“基础设施基金”和“创业投资基金”时,必填', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE,REP_PARTY_TYPE3\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND T.REP_ASSET_TYPE IN (\'2610\',\'2611\',\'2612\',\'2613\')\r\nAND T.REP_PARTY_TYPE3 IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.042', 't_r_lczx_zcys_16_bank', '{投资企业类型(按经济类型划分)}值域范围内单选', '{投资企业类型(按经济类型划分)}值域范围内单选', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_PARTY_TYPE3\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (T.REP_PARTY_TYPE3 NOT IN (\'01\',\'02\',\'03\',\'99\') OR LENGTH(REP_PARTY_TYPE3) <> 2 ) \r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.043', 't_r_lczx_zcys_16_bank', '{基金投资资产}为必填项', '{基金投资资产}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_FUND_INVEST_ASSET\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_FUND_INVEST_ASSET IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.044', 't_r_lczx_zcys_16_bank', '{基金投资资产}最长400位字符型', '{基金投资资产}最长400位字符型', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_FUND_INVEST_ASSET\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND length(CONVERT(REP_FUND_INVEST_ASSET using GBK)) > 400\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.049', 't_r_lczx_zcys_16_bank', '{备注}选择性必填,{登记备案机构}、{投资阶段}、{投资企业类型(按规模划分)}、{投资企业类型(按经济领域划分)}、{投资企业类型(按技术类型划分)}、{交易流通场所}选择(99)“其他“时,{备注}必填', '{备注}选择性必填,{登记备案机构}、{投资阶段}、{投资企业类型(按规模划分)}、{投资企业类型(按经济领域划分)}、{投资企业类型(按技术类型划分)}、{交易流通场所}选择(99)“其他“时,{备注}必填', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_REGIST_ORG,REP_INVEST_STAGE,REP_PARTY_TYPE3,REP_PARTY_TYPE2,REP_PARTY_TYPE1,REP_TRADE_MARKET,REMARK\' AS COLUMN_CODE,\r\n 0 AS RESULT_CODE, \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_16_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (T.REP_REGIST_ORG = \'99\' OR T.REP_INVEST_STAGE = \'99\' OR\r\n T.REP_PARTY_TYPE3 = \'99\' OR T.REP_PARTY_TYPE2 = \'99\' OR\r\n T.REP_PARTY_TYPE1 = \'99\' OR T.REP_TRADE_MARKET = \'99\')\r\nAND T.REMARK IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.050', 't_r_lczx_zcys_16_bank', '{备注}选择性必填,他”时,备注必填;当“交易流通场所”选择“其他交易流通场所”时,{备注}必填。', '{备注}选择性必填,他”时,备注必填;当“交易流通场所”选择“其他交易流通场所”时,{备注}必填。', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:07', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE, GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST, \'REP_TRADE_MARKET\' AS COLUMN_CODE, 0 AS RESULT_CODE, \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE, NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE, NULL AS DIFFERENCE FROM T_R_LCZX_ZCYS_16_BANK T WHERE T.FILE_DATE = \'@FILE_DATE\' AND T.REP_TRADE_MARKET=\'99\' AND REMARK IS NULL GROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.051', 't_r_lczx_zcys_16_bank', '{备注}最长256位字符型', '{备注}最长256位字符型', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:08', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE, GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST, \'REMARK\' AS COLUMN_CODE, 0 AS RESULT_CODE, \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE, NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE, NULL AS DIFFERENCE FROM T_R_LCZX_ZCYS_16_BANK T WHERE T.FILE_DATE = \'@FILE_DATE\' AND CHAR_LENGTH(REMARK)> 256 GROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.053', 't_r_lczx_zcys_16_bank', '{备注}必填,默认填无', '{备注}必填,默认填无', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT\r\n \'@BATCH_ID\' AS BATCH_ID,\r\n \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REMARK\' AS COLUMN_CODE,\r\n 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE,\r\n \'C10307\' AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE,\r\n NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM\r\n t_r_lczx_zcys_16_bank T\r\nWHERE\r\n T.FILE_DATE = \'@FILE_DATE\'\r\nand REMARK is null\r\nGROUP BY\r\n T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.054', 't_r_lczx_zcys_16_bank', '资产大类为‘公募基金/私募基金’时,{资产/负债类别}值必须在值域内', '资产大类为‘公募基金/私募基金’时,{资产/负债类别}值必须在值域内', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT\r\n \'@BATCH_ID\' AS BATCH_ID,\r\n \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE\' AS COLUMN_CODE,\r\n 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE,\r\n \'C10307\' AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE,\r\n NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM\r\n t_r_lczx_zcys_16_bank T\r\nWHERE\r\n T.FILE_DATE = \'@FILE_DATE\'\r\nand REP_ASSET_TYPE not in (1106,1303,2403,2402,2401,2499,2601,2602,2604,2605,2606,2607,2610,2611,2612,2613,2614,2616,2617,2618,2619,2620,2699)\r\nAND REP_ASSET_TYPE IS NOT NULL\r\nGROUP BY\r\n T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.024.999', 't_r_lczx_zcys_16_bank', '{资产/负债类别}值必须在值域内', '{资产/负债类别}值必须在值域内', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\n \'REP_ASSET_TYPE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\n NULL AS DIFFERENCE\nFROM T_R_LCZX_ZCYS_16_bank T\nWHERE T.FILE_DATE = \'@FILE_DATE\'\nAND GET_DICT(\'LCZX_ASSET_TYPE\',T.REP_ASSET_TYPE)=0\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.001', 't_r_lczx_zcys_18_bank', '{行内资产/负债编码}为必填项', '{行内资产/负债编码}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_FINPROD_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_18_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_FINPROD_ID IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.002', 't_r_lczx_zcys_18_bank', '{行内资产/负债编码}不得含有中文', '{行内资产/负债编码}不得含有中文', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_FINPROD_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_18_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(T.REP_FINPROD_ID) <> CHAR_LENGTH(T.REP_FINPROD_ID)\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.003', 't_r_lczx_zcys_18_bank', '{行内资产/负债编码}在机构内不可重复', '{行内资产/负债编码}在机构内不可重复', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT N_ID) AS N_ID_LIST,\r\n \'REP_FINPROD_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, T1.FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM (SELECT REP_FINPROD_ID, FILE_DATE, GROUP_CONCAT(DISTINCT N_ID) AS N_ID,\r\n T.FUND_CATEGORY\r\n FROM T_R_LCZX_ZCYS_18_BANK T\r\n WHERE T.FILE_DATE = \'@FILE_DATE\'\r\n GROUP BY REP_FINPROD_ID, FILE_DATE,FUND_CATEGORY\r\n HAVING COUNT(1) > 1) T1\r\nGROUP BY T1.FUND_CATEGORY, T1.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.004', 't_r_lczx_zcys_18_bank', '{行内资产/负债编码}最长40个字符,不建议超过18位', '{行内资产/负债编码}最长40个字符,不建议超过18位', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_FINPROD_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_18_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(REP_FINPROD_ID) > 40\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.005', 't_r_lczx_zcys_18_bank', '{发行机构代码}为必填项', '{发行机构代码}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ISSUE_PARTY_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_18_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_ISSUE_PARTY_ID IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.006', 't_r_lczx_zcys_18_bank', '{发行机构代码}由英文和数字组成', '{发行机构代码}由英文和数字组成', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ISSUE_PARTY_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_18_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_ISSUE_PARTY_ID REGEXP \'[^A-Za-z0-9]\'= 1\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.007', 't_r_lczx_zcys_18_bank', '理财报表,{发行机构代码}为Z70033;银行报表,{发行机构代码}为C10307', '理财报表,{发行机构代码}为Z70033;银行报表,{发行机构代码}为C10307', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ISSUE_PARTY_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_18_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_ISSUE_PARTY_ID <> \'C10307\'\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.008', 't_r_lczx_zcys_18_bank', '{资产/负债类别}为必填项', '{资产/负债类别}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_18_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_ASSET_TYPE IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.009', 't_r_lczx_zcys_18_bank', '{资产/负债类别}定长,为4位字符', '{资产/负债类别}定长,为4位字符', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_18_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(REP_ASSET_TYPE) <> 4\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.010', 't_r_lczx_zcys_18_bank', '{币种}为必填项', '{币种}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_CCY\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_18_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_CCY IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.011', 't_r_lczx_zcys_18_bank', '{币种}的值在《世界各地货币代码》中必须存在', '{币种}的值在《世界各地货币代码》中必须存在', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_CCY\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_18_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND GET_DICT(\'LCZX_CURRENCY\',T.REP_CCY) = 0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.012', 't_r_lczx_zcys_18_bank', '{交易流通场所}为必填项', '{交易流通场所}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_TRADE_MARKET\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_18_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_TRADE_MARKET IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.013', 't_r_lczx_zcys_18_bank', '{交易流通场所}的值在《交易流通场所表》中必须存在', '{交易流通场所}的值在《交易流通场所表》中必须存在', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_TRADE_MARKET\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_18_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND GET_DICT(\'LCZX_TRADE_PLACES\',T.REP_TRADE_MARKET) = 0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.014', 't_r_lczx_zcys_18_bank', '{委外投资协议名称}为必填项', '{委外投资协议名称}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'INV_AGR_NAME\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND INV_AGR_NAME IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.015', 't_r_lczx_zcys_18_bank', '{委外投资协议名称}最长200位字符型', '{委外投资协议名称}最长200位字符型', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'INV_AGR_NAME\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(CONVERT(T.INV_AGR_NAME USING GBK)) >200\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.016', 't_r_lczx_zcys_18_bank', '{委外投资协议编号}为必填项,若无,填“无”', '{委外投资协议编号}为必填项,若无,填“无”', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'INV_AGR_CODE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND INV_AGR_CODE IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.017', 't_r_lczx_zcys_18_bank', '{委外投资协议编号}最长40位字符型', '{委外投资协议编号}最长40位字符型', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'INV_AGR_CODE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(CONVERT(T.INV_AGR_CODE USING GBK)) >40\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.018', 't_r_lczx_zcys_18_bank', '{受托人}为必填项', '{受托人}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'BAILEE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND BAILEE IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.019', 't_r_lczx_zcys_18_bank', '{受托人}最长200位字符型', '{受托人}最长200位字符型', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'BAILEE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(CONVERT(T.BAILEE USING GBK)) >200\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.020', 't_r_lczx_zcys_18_bank', '{实际管理人}为必填项', '{实际管理人}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'ACT_MANAGER\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND ACT_MANAGER IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.021', 't_r_lczx_zcys_18_bank', '{实际管理人}最长200位字符型', '{实际管理人}最长200位字符型', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'ACT_MANAGER\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(CONVERT(T.ACT_MANAGER USING GBK)) >200\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.022', 't_r_lczx_zcys_18_bank', '{托管人}为必填项', '{托管人}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'TRUSTEE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND TRUSTEE IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.023', 't_r_lczx_zcys_18_bank', '{托管人}最长200位字符型', '{托管人}最长200位字符型', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'TRUSTEE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(CONVERT(T.TRUSTEE USING GBK)) >200\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.024', 't_r_lczx_zcys_18_bank', '{委托投资金额}为必填项', '{委托投资金额}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'ENTRUST_BALANCE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND ENTRUST_BALANCE IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.025', 't_r_lczx_zcys_18_bank', '{委托投资金额}应大于等于0', '{委托投资金额}应大于等于0', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'ENTRUST_BALANCE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND ENTRUST_BALANCE <0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.027', 't_r_lczx_zcys_18_bank', '{资金实际投向}为必填项', '{资金实际投向}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'INVEST\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND INVEST is null\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.028', 't_r_lczx_zcys_18_bank', '{资金实际投向}值域范围内单选', '{资金实际投向}值域范围内单选', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'INVEST\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (T.INVEST NOT IN (\'01\',\'02\',\'03\',\'04\',\'05\',\'06\') OR LENGTH(INVEST) <> 2 ) \r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.029', 't_r_lczx_zcys_18_bank', '{资金运用方式}为必填项', '{资金运用方式}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'INVEST_MODE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND INVEST_MODE is null\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.030', 't_r_lczx_zcys_18_bank', '{资金运用方式}最长300位字符型', '{资金运用方式}最长300位字符型', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'INVEST_MODE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(CONVERT(T.INVEST_MODE USING GBK)) >300\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.031', 't_r_lczx_zcys_18_bank', '{资金运用行业}为必填项', '{资金运用行业}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'INVEST_INDUSTRY\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND INVEST_INDUSTRY is null\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.032', 't_r_lczx_zcys_18_bank', '{资金运用行业}值域范围内单选', '{资金运用行业}值域范围内单选', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'INVEST_INDUSTRY\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND GET_DICT(\'LCZX_REP_CORP_INDUSTRY\',T.INVEST_INDUSTRY) = 0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.033', 't_r_lczx_zcys_18_bank', '{投资运作起始日期}为必填项', '{投资运作起始日期}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'STAT_DATE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND STAT_DATE IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.034', 't_r_lczx_zcys_18_bank', '{投资运作起始日期}必须为date日期类型,八位长字符,格式为YYYYMMDD', '{投资运作起始日期}必须为date日期类型,八位长字符,格式为YYYYMMDD', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'STAT_DATE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (STAT_DATE REGEXP \'[^0-9]\'=1 OR LENGTH(STAT_DATE)<>8)\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.035', 't_r_lczx_zcys_18_bank', '{投资运作终止日期}为必填项', '{投资运作终止日期}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'END_DATE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND END_DATE IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.036', 't_r_lczx_zcys_18_bank', '{投资运作终止日期}应大于等于{投资运作起始日期}', '{投资运作终止日期}应大于等于{投资运作起始日期}', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'END_DATE,STAT_DATE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND END_DATE < STAT_DATE\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.037', 't_r_lczx_zcys_18_bank', '{投资运作终止日期}必须为date日期类型,八位长字符,格式为YYYYMMDD', '{投资运作终止日期}必须为date日期类型,八位长字符,格式为YYYYMMDD', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'END_DATE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (END_DATE REGEXP \'[^0-9]\'=1 OR LENGTH(END_DATE)<>8)\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.038', 't_r_lczx_zcys_18_bank', '{委外投资属性}为必填项', '{委外投资属性}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'INVEST_PROP\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND INVEST_PROP IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.039', 't_r_lczx_zcys_18_bank', '{委外投资属性}值域范围内单选', '{委外投资属性}值域范围内单选', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'INVEST_PROP\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (T.INVEST_PROP NOT IN (\'01\',\'02\',\'99\') OR LENGTH(INVEST_PROP) <> 2 ) \r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.040', 't_r_lczx_zcys_18_bank', '{是否有预期收益率}为必填项', '{是否有预期收益率}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'IS_EXP_RTN\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND IS_EXP_RTN IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.041', 't_r_lczx_zcys_18_bank', '{是否有预期收益率}值域范围内单选', '{是否有预期收益率}值域范围内单选', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'IS_EXP_RTN\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (T.IS_EXP_RTN NOT IN (\'01\',\'02\') OR LENGTH(IS_EXP_RTN) <> 2 ) \r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.042', 't_r_lczx_zcys_18_bank', '{预期最高收益率%}选择性必填,当{是否有预期收益率}选择“是”时,必填;当{是否有预期收益率}选择“否”时,不可填', '{预期最高收益率%}选择性必填,当{是否有预期收益率}选择“是”时,必填;当{是否有预期收益率}选择“否”时,不可填', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'IS_EXP_RTN,EXP_RTN_HIGH\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (IS_EXP_RTN =\'是\' AND EXP_RTN_HIGH IS NULL OR IS_EXP_RTN =\'否\' AND EXP_RTN_HIGH IS NOT NULL)\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.043', 't_r_lczx_zcys_18_bank', '{预期最高收益率}的值应大于等于0', '{预期最高收益率}的值应大于等于0', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'EXP_RTN_HIGH\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND EXP_RTN_HIGH<0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.046', 't_r_lczx_zcys_18_bank', '当{是否有预期收益率}选择“否”时,{预期最低收益率%}不可填', '当{是否有预期收益率}选择“否”时,{预期最低收益率%}不可填', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'IS_EXP_RTN,EXP_RTN_LOW\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (IS_EXP_RTN =\'否\' AND EXP_RTN_LOW IS NOT NULL)\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.047', 't_r_lczx_zcys_18_bank', '{预期最低收益率%}应小于或等于{预期最高收益率%}', '{预期最低收益率%}应小于或等于{预期最高收益率%}', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'EXP_RTN_HIGH,EXP_RTN_LOW\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND EXP_RTN_LOW>EXP_RTN_HIGH\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.050', 't_r_lczx_zcys_18_bank', '{管理费率%}为必填项', '{管理费率%}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'MANAGER_FEE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND MANAGER_FEE IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.051', 't_r_lczx_zcys_18_bank', '{管理费率%}应大于等于0', '{管理费率%}应大于等于0', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'MANAGER_FEE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND MANAGER_FEE <0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.054', 't_r_lczx_zcys_18_bank', '{托管费率%}为必填项,如无则填写“ 0 ”', '{托管费率%}为必填项,如无则填写“ 0 ”', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'TRUSTEE_FEE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND TRUSTEE_FEE IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.055', 't_r_lczx_zcys_18_bank', '{托管费率%}应大于等于0', '{托管费率%}应大于等于0', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'TRUSTEE_FEE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND TRUSTEE_FEE <0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.058', 't_r_lczx_zcys_18_bank', '{交易相关合计费率%}为必填项,如无则填写“ 0 ”', '{交易相关合计费率%}为必填项,如无则填写“ 0 ”', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'TRADE_RATE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND TRADE_RATE IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.059', 't_r_lczx_zcys_18_bank', '{交易相关合计费率%}应大于等于0', '{交易相关合计费率%}应大于等于0', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'TRADE_RATE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND TRADE_RATE <0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.062', 't_r_lczx_zcys_18_bank', '{中介服务机构合计费率%}为必填项,如无则填写“ 0 ”', '{中介服务机构合计费率%}为必填项,如无则填写“ 0 ”', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'AGENCY_RATE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND AGENCY_RATE IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.063', 't_r_lczx_zcys_18_bank', '{中介服务机构合计费率%}应大于等于0', '{中介服务机构合计费率%}应大于等于0', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'AGENCY_RATE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND AGENCY_RATE <0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.066', 't_r_lczx_zcys_18_bank', '{其他合计费率%}为必填项', '{其他合计费率%}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'OTHER_FEE_RATE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND OTHER_FEE_RATE IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.067', 't_r_lczx_zcys_18_bank', '{其他合计费率%}应大于等于0', '{其他合计费率%}应大于等于0', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'OTHER_FEE_RATE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND OTHER_FEE_RATE <0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.070', 't_r_lczx_zcys_18_bank', '{管理费率%}、{托管费率%}、{交易相关合计费率%}、{中介服务机构合计费率%}、{其他合计费率%}等要素不为 0,则必须将费率计算公式在{备注}中注明', '{管理费率%}、{托管费率%}、{交易相关合计费率%}、{中介服务机构合计费率%}、{其他合计费率%}等要素不为 0,则必须将费率计算公式在{备注}中注明', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'MANAGER_FEE,TRUSTEE_FEE,TRADE_RATE,AGENCY_RATE,OTHER_FEE_RATE,REMARK\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (MANAGER_FEE <>0 or TRUSTEE_FEE <>0 or TRADE_RATE <>0 or AGENCY_RATE <>0 or OTHER_FEE_RATE <>0 )\r\nand REMARK IS NULL \r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.071', 't_r_lczx_zcys_18_bank', '{备注}选择性必填,{委外投资属性}选择(99)“其他”时,、{交易流通场所}选择“其他交易流通场所”时,{备注}必填', '{备注}选择性必填,{委外投资属性}选择(99)“其他”时,、{交易流通场所}选择“其他交易流通场所”时,{备注}必填', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'INVEST_PROP,REMARK,REP_TRADE_MARKET\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (INVEST_PROP=\'99\' OR REP_TRADE_MARKET=\'99\')\r\nAND REMARK IS NULL \r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.072', 't_r_lczx_zcys_18_bank', '{备注}最长256位字符型', '{备注}最长256位字符型', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REMARK\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_18_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(CONVERT(REMARK USING GBK)) > 256\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.073', 't_r_lczx_zcys_18_bank', '{备注}必填,默认填无', '{备注}必填,默认填无', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT\r\n \'@BATCH_ID\' AS BATCH_ID,\r\n \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REMARK\' AS COLUMN_CODE,\r\n 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE,\r\n \'C10307\' AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE,\r\n NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM\r\n t_r_lczx_zcys_18_bank T\r\nWHERE\r\n T.FILE_DATE = \'@FILE_DATE\'\r\nand REMARK is null\r\nGROUP BY\r\n T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.074', 't_r_lczx_zcys_18_bank', '资产大类为‘委外投资——协议方式’时,{资产/负债类别}值必须在值域内', '资产大类为‘委外投资——协议方式’时,{资产/负债类别}值必须在值域内', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT\r\n \'@BATCH_ID\' AS BATCH_ID,\r\n \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE\' AS COLUMN_CODE,\r\n 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE,\r\n \'C10307\' AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE,\r\n NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM\r\n t_r_lczx_zcys_18_bank T\r\nWHERE\r\n T.FILE_DATE = \'@FILE_DATE\'\r\nand REP_ASSET_TYPE not in (2801,2802,2803,2804,2805,2806,2899)\r\nAND REP_ASSET_TYPE IS NOT NULL\r\nGROUP BY\r\n T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.025.999', 't_r_lczx_zcys_18_bank', '{资产/负债类别}值必须在值域内', '{资产/负债类别}值必须在值域内', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\n \'REP_ASSET_TYPE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\n NULL AS DIFFERENCE\nFROM T_R_LCZX_ZCYS_18_bank T\nWHERE T.FILE_DATE = \'@FILE_DATE\'\nAND GET_DICT(\'LCZX_ASSET_TYPE\',T.REP_ASSET_TYPE)=0\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.001', 't_r_lczx_zcys_19_bank', '{行内资产/负债编码}为必填项', '{行内资产/负债编码}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_FINPROD_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_19_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_FINPROD_ID IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.002', 't_r_lczx_zcys_19_bank', '{行内资产/负债编码}不得含有中文', '{行内资产/负债编码}不得含有中文', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_FINPROD_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_19_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(T.REP_FINPROD_ID) <> CHAR_LENGTH(T.REP_FINPROD_ID)\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.003', 't_r_lczx_zcys_19_bank', '{行内资产/负债编码}在机构内不可重复', '{行内资产/负债编码}在机构内不可重复', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT N_ID) AS N_ID_LIST,\r\n \'REP_FINPROD_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, T1.FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM (SELECT REP_FINPROD_ID, FILE_DATE, GROUP_CONCAT(DISTINCT N_ID) AS N_ID,\r\n T.FUND_CATEGORY\r\n FROM T_R_LCZX_ZCYS_19_BANK T\r\n WHERE T.FILE_DATE = \'@FILE_DATE\'\r\n GROUP BY REP_FINPROD_ID, FILE_DATE,FUND_CATEGORY\r\n HAVING COUNT(1) > 1) T1\r\nGROUP BY T1.FUND_CATEGORY, T1.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.004', 't_r_lczx_zcys_19_bank', '{行内资产/负债编码}最长40个字符,不建议超过18位', '{行内资产/负债编码}最长40个字符,不建议超过18位', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_FINPROD_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_19_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(REP_FINPROD_ID) > 40\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.005', 't_r_lczx_zcys_19_bank', '{发行机构代码}为必填项', '{发行机构代码}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ISSUE_PARTY_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_19_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_ISSUE_PARTY_ID IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.006', 't_r_lczx_zcys_19_bank', '{发行机构代码}由英文和数字组成', '{发行机构代码}由英文和数字组成', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ISSUE_PARTY_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_19_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_ISSUE_PARTY_ID REGEXP \'[^A-Za-z0-9]\'= 1\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.007', 't_r_lczx_zcys_19_bank', '理财报表,{发行机构代码}为Z70033;银行报表,{发行机构代码}为C10307', '理财报表,{发行机构代码}为Z70033;银行报表,{发行机构代码}为C10307', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ISSUE_PARTY_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_19_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_ISSUE_PARTY_ID <> \'C10307\'\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.008', 't_r_lczx_zcys_19_bank', '{资产/负债类别}为必填项', '{资产/负债类别}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_19_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_ASSET_TYPE IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.009', 't_r_lczx_zcys_19_bank', '{资产/负债类别}定长,为4位字符', '{资产/负债类别}定长,为4位字符', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_19_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(REP_ASSET_TYPE) <> 4\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.010', 't_r_lczx_zcys_19_bank', '{币种}为必填项', '{币种}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_CCY\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_19_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_CCY IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.011', 't_r_lczx_zcys_19_bank', '{币种}的值在《世界各地货币代码》中必须存在', '{币种}的值在《世界各地货币代码》中必须存在', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_CCY\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_19_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND GET_DICT(\'LCZX_CURRENCY\',T.REP_CCY) = 0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.012', 't_r_lczx_zcys_19_bank', '{交易流通场所}为必填项', '{交易流通场所}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_TRADE_MARKET\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_19_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_TRADE_MARKET IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.013', 't_r_lczx_zcys_19_bank', '{交易流通场所}的值在《交易流通场所表》中必须存在', '{交易流通场所}的值在《交易流通场所表》中必须存在', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_TRADE_MARKET\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_19_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND GET_DICT(\'LCZX_TRADE_PLACES\',T.REP_TRADE_MARKET) = 0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.014', 't_r_lczx_zcys_19_bank', '{所属国家或地区}为必填项', '{所属国家或地区}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'AREA\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_19_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND AREA IS NULL \r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.015', 't_r_lczx_zcys_19_bank', '{所属国家或地区}值域范围内单选', '{所属国家或地区}值域范围内单选', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'AREA\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_19_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND GET_DICT(\'LCZX_COUNTRY_AREA\',T.AREA) = 0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.016', 't_r_lczx_zcys_19_bank', '{名称}为必填项', '{名称}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'LIAB_NAME\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_19_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LIAB_NAME IS NULL \r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.017', 't_r_lczx_zcys_19_bank', '{名称}最长200位字符型', '{名称}最长200位字符型', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'LIAB_NAME\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_19_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND length(CONVERT( LIAB_NAME using GBK))> 200\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.018', 't_r_lczx_zcys_19_bank', '{期限(天)}非必填项,不为空时,应大于等于0', '{期限(天)}非必填项,不为空时,应大于等于0', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'TERM\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_19_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND TERM IS NOT NULL \r\nAND TERM<0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.019', 't_r_lczx_zcys_19_bank', '{期限(天)}最长5位整数型', '{期限(天)}最长5位整数型', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'TERM\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_19_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (length(CONVERT( TERM using GBK))>5 or TERM regexp \'[^0-9]\'=1)\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.020', 't_r_lczx_zcys_19_bank', '{负债规模}为必填项', '{负债规模}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'LIAB_SCALE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_19_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LIAB_SCALE IS NULL \r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.021', 't_r_lczx_zcys_19_bank', '{负债规模}应大于等于0', '{负债规模}应大于等于0', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'LIAB_SCALE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_19_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LIAB_SCALE <0 \r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.023', 't_r_lczx_zcys_19_bank', '{利率%}非必填项,不为空时,应大于等于0', '{利率%}非必填项,不为空时,应大于等于0', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'RATE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_19_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND RATE IS NOT NULL \r\nAND RATE<0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.026', 't_r_lczx_zcys_19_bank', '{是否为同业借款}选择性必填,当\"资产/负债类别\"选择”其他负债“时必填,否则不可填', '{是否为同业借款}选择性必填,当\"资产/负债类别\"选择”其他负债“时必填,否则不可填', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'IS_DEBT,REP_ASSET_TYPE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_19_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND ((REP_ASSET_TYPE=\'2000\' AND IS_DEBT IS NULL) OR (REP_ASSET_TYPE<>\'2000\' AND IS_DEBT IS NOT NULL))\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.027', 't_r_lczx_zcys_19_bank', '{是否为同业借款}值域范围内单选', '{是否为同业借款}值域范围内单选', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'IS_DEBT\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_19_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (T.IS_DEBT NOT IN (\'01\',\'02\') OR LENGTH(IS_DEBT) <> 2 ) \r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.028', 't_r_lczx_zcys_19_bank', '{备注}选择性必填,{交易流通场所}选择“其他交易流通场所”时,必填', '{备注}选择性必填,{交易流通场所}选择“其他交易流通场所”时,必填', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_TRADE_MARKET,REMARK\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_19_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_TRADE_MARKET =\'99\' AND REMARK IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.029', 't_r_lczx_zcys_19_bank', '{备注}最长256位字符型', '{备注}最长256位字符型', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REMARK\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_19_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(CONVERT(T.REMARK USING GBK)) >256\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.030', 't_r_lczx_zcys_19_bank', '{备注}必填,默认填无(子平台)', '{备注}必填,默认填无(子平台)', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REMARK\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_19_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REMARK IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.031', 't_r_lczx_zcys_19_bank', '资产大类为‘其他(负债)类资产’时,{资产/负债类别}值必须在值域内', '资产大类为‘其他(负债)类资产’时,{资产/负债类别}值必须在值域内', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE,REMARK\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_19_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_ASSET_TYPE<>\'2000\'\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.026.999', 't_r_lczx_zcys_19_bank', '{资产/负债类别}值必须在值域内', '{资产/负债类别}值必须在值域内', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\n \'REP_ASSET_TYPE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\n NULL AS DIFFERENCE\nFROM T_R_LCZX_ZCYS_19_bank T\nWHERE T.FILE_DATE = \'@FILE_DATE\'\nAND GET_DICT(\'LCZX_ASSET_TYPE\',T.REP_ASSET_TYPE)=0\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.027.001', 't_r_lczx_zcys_11_bank', '{行内资产/负债编码}为必填项', '{行内资产/负债编码}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_FINPROD_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_11_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_FINPROD_ID IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.027.002', 't_r_lczx_zcys_11_bank', '{行内资产/负债编码}不得含有中文', '{行内资产/负债编码}不得含有中文', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_FINPROD_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_11_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(T.REP_FINPROD_ID) <> CHAR_LENGTH(T.REP_FINPROD_ID)\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.027.003', 't_r_lczx_zcys_11_bank', '{行内资产/负债编码}在机构内不可重复', '{行内资产/负债编码}在机构内不可重复', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT N_ID) AS N_ID_LIST,\r\n \'REP_FINPROD_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, T1.FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM (SELECT REP_FINPROD_ID, FILE_DATE, GROUP_CONCAT(DISTINCT N_ID) AS N_ID,\r\n T.FUND_CATEGORY\r\n FROM T_R_LCZX_ZCYS_11_BANK T\r\n WHERE T.FILE_DATE = \'@FILE_DATE\'\r\n GROUP BY REP_FINPROD_ID, FILE_DATE,FUND_CATEGORY\r\n HAVING COUNT(1) > 1) T1\r\nGROUP BY T1.FUND_CATEGORY, T1.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.027.004', 't_r_lczx_zcys_11_bank', '{行内资产/负债编码}最长40个字符,不建议超过18位', '{行内资产/负债编码}最长40个字符,不建议超过18位', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_FINPROD_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_11_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(REP_FINPROD_ID) > 40\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.027.005', 't_r_lczx_zcys_11_bank', '{发行机构代码}为必填项', '{发行机构代码}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ISSUE_PARTY_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_11_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_ISSUE_PARTY_ID IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.027.006', 't_r_lczx_zcys_11_bank', '{发行机构代码}由英文和数字组成', '{发行机构代码}由英文和数字组成', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ISSUE_PARTY_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_11_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_ISSUE_PARTY_ID REGEXP \'[^A-Za-z0-9]\'= 1\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.027.007', 't_r_lczx_zcys_11_bank', '理财报表,{发行机构代码}为Z70033;银行报表,{发行机构代码}为C10307', '理财报表,{发行机构代码}为Z70033;银行报表,{发行机构代码}为C10307', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ISSUE_PARTY_ID\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_11_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_ISSUE_PARTY_ID <> \'C10307\'\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.027.008', 't_r_lczx_zcys_11_bank', '{资产/负债类别}为必填项', '{资产/负债类别}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_11_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_ASSET_TYPE IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.027.009', 't_r_lczx_zcys_11_bank', '{资产/负债类别}定长,为4位字符', '{资产/负债类别}定长,为4位字符', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_ASSET_TYPE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_11_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(REP_ASSET_TYPE) <> 4\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.027.010', 't_r_lczx_zcys_11_bank', '{币种}为必填项', '{币种}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_CCY\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_11_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_CCY IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.027.011', 't_r_lczx_zcys_11_bank', '{币种}的值在《世界各地货币代码》中必须存在', '{币种}的值在《世界各地货币代码》中必须存在', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_CCY\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_11_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND GET_DICT(\'LCZX_CURRENCY\',T.REP_CCY) = 0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.027.012', 't_r_lczx_zcys_11_bank', '{交易流通场所}为必填项', '{交易流通场所}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_TRADE_MARKET\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_11_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND REP_TRADE_MARKET IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.027.013', 't_r_lczx_zcys_11_bank', '{交易流通场所}的值在《交易流通场所表》中必须存在', '{交易流通场所}的值在《交易流通场所表》中必须存在', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'REP_TRADE_MARKET\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM T_R_LCZX_ZCYS_11_BANK T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND GET_DICT(\'LCZX_TRADE_PLACES\',T.REP_TRADE_MARKET) = 0\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.027.014', 't_r_lczx_zcys_11_bank', '{所属国家或地区}为必填项,不得填写“CHN 中国”', '{所属国家或地区}为必填项,不得填写“CHN 中国”', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'AREA\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_11_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND (AREA IS NULL or AREA =\'CHN\')\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.027.015', 't_r_lczx_zcys_11_bank', '{所属国家或地区}的值在《世界各国和地区名称代码》中必须存在', '{所属国家或地区}的值在《世界各国和地区名称代码》中必须存在', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'AREA\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_11_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND GET_DICT(\'LCZX_COUNTRY_AREA\',T.AREA) = 0 \r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.027.016', 't_r_lczx_zcys_11_bank', '{股票/基金代码}为必填项', '{股票/基金代码}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'STOCK_CODE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_11_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND STOCK_CODE IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.027.017', 't_r_lczx_zcys_11_bank', '{股票/基金代码}最长20位字符型', '{股票/基金代码}最长20位字符型', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'STOCK_CODE\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_11_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND LENGTH(CONVERT(STOCK_CODE USING GBK)) > 20\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.027.018', 't_r_lczx_zcys_11_bank', '{股票/基金名称}为必填项', '{股票/基金名称}为必填项', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'STOCK_NAME\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_11_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND STOCK_NAME IS NULL\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
INSERT INTO ``(`RULE_CODE`, `REPORT_CODE`, `RULE_NAME`, `RULE_DESC`, `RULE_TYPE`, `STATUS`, `COL_CODE`, `EXP_TYPE`, `EXP_DEFINE`, `EXP_PARAM`, `UNION_TYPE`, `RULE_FORMULA`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `RULE_LEVEL`, `RULE_CODE_CREATE_TYPE`, `RULE_SQL`) VALUES ('LCZX_BANK.A.027.019', 't_r_lczx_zcys_11_bank', '{股票/基金名称}最长200位字符型', '{股票/基金名称}最长200位字符型', 'sql', '1', '', NULL, NULL, NULL, '0', NULL, 'admin', '2021-09-22 11:30:33', 'admin', '2021-09-22 14:40:03', '严重', 'A', 'SELECT \'@BATCH_ID\' AS BATCH_ID, \'@RULE_CODE\' AS RULE_CODE,\r\n GROUP_CONCAT(DISTINCT T.N_ID) AS N_ID_LIST,\r\n \'STOCK_NAME\' AS COLUMN_CODE, 0 AS RESULT_CODE,\r\n \'@FILE_DATE\' AS FILE_DATE, FUND_CATEGORY AS INSTI_TYPE,\r\n NULL AS LEFT_CALCULATION_VALUE, NULL AS RIGHT_CALCULATION_VALUE,\r\n NULL AS DIFFERENCE\r\nFROM t_r_lczx_zcys_11_bank T\r\nWHERE T.FILE_DATE = \'@FILE_DATE\'\r\nAND length(CONVERT(STOCK_NAME using GBK)) > 200\r\nGROUP BY T.FUND_CATEGORY, T.FILE_DATE;');
gouji开发sql95
最新推荐文章于 2024-11-01 11:28:07 发布