8398c4fb by 冯轩

MOD:支付宝微信流水数字改成字符串

1 parent 10cae765
......@@ -2246,7 +2246,7 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_
e_bank = ocr_res.get('e_bank', False)
bankStatement_type = ocr_res.get('bankStatement_type', '')
# 如果是高风险经销商,cms信息中包含‘不接受支付宝/微信’,但是识别出的流水是支付宝/微信,直接跳过这个文件,就当不存在
if allow_bs_type == '不接受支付宝/微信' and bankStatement_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)
......@@ -2347,7 +2347,7 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_
for ocr_res in ocr_res_list:
bankStatement_type = ocr_res.get('bankStatement_type', '')
# 如果是高风险经销商,cms信息中包含‘不接受支付宝/微信’,但是识别出的流水是支付宝/微信,直接跳过这个文件,就当不存在
if allow_bs_type == '不接受支付宝/微信' and bankStatement_type in [12, 13, 48]:
if allow_bs_type == '不接受支付宝/微信' and bankStatement_type in ['12', '13', '48']:
continue
correct_count = 0
......@@ -2384,7 +2384,7 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_
for ocr_res in ocr_res_list:
bankStatement_type = ocr_res.get('bankStatement_type', '')
# 如果是高风险经销商,cms信息中包含‘不接受支付宝/微信’,但是识别出的流水是支付宝/微信,直接跳过这个文件,就当不存在
if allow_bs_type == '不接受支付宝/微信' and bankStatement_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!