10cae765 by 冯轩

MOD:银行流水类型字段名

1 parent d07f9bde
......@@ -2017,7 +2017,7 @@ BS_COMPARE_LOGIC = {
'流水日期': ('timedelta', 'se_bs_date_compare', {}, '主共借人银行流水日期不满足3个月'),
'(担保人1)流水日期': ('timedelta', 'se_bs_date_compare', {}, '担保人1银行流水日期不满足3个月'),
'(担保人2)流水日期': ('timedelta', 'se_bs_date_compare', {}, '担保人2银行流水日期不满足3个月'),
'类型': ('bank_statement_type', 'se_bs_type_compare', {}, '高风险经销商流水类型异常'),
'类型': ('bankStatement_type', 'se_bs_type_compare', {}, '高风险经销商流水类型异常'),
}
BS_COMPARE_LOGIC_AUTO = {
......@@ -2030,7 +2030,7 @@ BS_COMPARE_LOGIC_AUTO = {
'流水日期': ('timedelta', 'se_bs_date_compare', {}, '主共借人银行流水日期不满足2个月'),
'(担保人1)流水日期': ('timedelta', 'se_bs_date_compare', {}, '担保人1银行流水日期不满足2个月'),
'(担保人2)流水日期': ('timedelta', 'se_bs_date_compare', {}, '担保人2银行流水日期不满足2个月'),
'类型': ('bank_statement_type', 'se_bs_type_compare', {}, '高风险经销商流水类型异常'),
'类型': ('bankStatement_type', 'se_bs_type_compare', {}, '高风险经销商流水类型异常'),
}
SPECIAL_REASON = '主共借人未提供银行流水,含担保人需人工查看直系亲属关系'
......
......@@ -2244,9 +2244,9 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_
pre_tmp_res_part = {}
verify_bool = ocr_res.get('verify', False)
e_bank = ocr_res.get('e_bank', False)
bs_type = ocr_res.get('bs_type', '')
bankStatement_type = ocr_res.get('bankStatement_type', '')
# 如果是高风险经销商,cms信息中包含‘不接受支付宝/微信’,但是识别出的流水是支付宝/微信,直接跳过这个文件,就当不存在
if allow_bs_type == '不接受支付宝/微信' and bs_type in [12, 13, 48]:
if allow_bs_type == '不接受支付宝/微信' and bankStatement_type in [12, 13, 48]:
continue
all_zhifubao_weixin = False
#verify_list.append(verify_bool)
......@@ -2345,9 +2345,9 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_
if len(dbr1_field_list) > 0:
max_correct_count = 0
for ocr_res in ocr_res_list:
bs_type = ocr_res.get('bs_type', '')
bankStatement_type = ocr_res.get('bankStatement_type', '')
# 如果是高风险经销商,cms信息中包含‘不接受支付宝/微信’,但是识别出的流水是支付宝/微信,直接跳过这个文件,就当不存在
if allow_bs_type == '不接受支付宝/微信' and bs_type in [12, 13, 48]:
if allow_bs_type == '不接受支付宝/微信' and bankStatement_type in [12, 13, 48]:
continue
correct_count = 0
......@@ -2382,9 +2382,9 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_
if len(dbr1_field_list) > 0:
max_correct_count = 0
for ocr_res in ocr_res_list:
bs_type = ocr_res.get('bs_type', '')
bankStatement_type = ocr_res.get('bankStatement_type', '')
# 如果是高风险经销商,cms信息中包含‘不接受支付宝/微信’,但是识别出的流水是支付宝/微信,直接跳过这个文件,就当不存在
if allow_bs_type == '不接受支付宝/微信' and bs_type in [12, 13, 48]:
if allow_bs_type == '不接受支付宝/微信' and bankStatement_type in [12, 13, 48]:
continue
correct_count = 0
dbr2_tmp_res_part = {}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!