aff90c6d by 冯轩

Merge branch 'feature/CHINARPA-5015' into feature/uat-tmp

2 parents d8755880 8398c4fb
...@@ -2248,7 +2248,7 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_ ...@@ -2248,7 +2248,7 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_
2248 e_bank = ocr_res.get('e_bank', False) 2248 e_bank = ocr_res.get('e_bank', False)
2249 bankStatement_type = ocr_res.get('bankStatement_type', '') 2249 bankStatement_type = ocr_res.get('bankStatement_type', '')
2250 # 如果是高风险经销商,cms信息中包含‘不接受支付宝/微信’,但是识别出的流水是支付宝/微信,直接跳过这个文件,就当不存在 2250 # 如果是高风险经销商,cms信息中包含‘不接受支付宝/微信’,但是识别出的流水是支付宝/微信,直接跳过这个文件,就当不存在
2251 if allow_bs_type == '不接受支付宝/微信' and bankStatement_type in [12, 13, 48]: 2251 if allow_bs_type == '不接受支付宝/微信' and bankStatement_type in ['12', '13', '48']:
2252 continue 2252 continue
2253 all_zhifubao_weixin = False 2253 all_zhifubao_weixin = False
2254 #verify_list.append(verify_bool) 2254 #verify_list.append(verify_bool)
...@@ -2349,7 +2349,7 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_ ...@@ -2349,7 +2349,7 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_
2349 for ocr_res in ocr_res_list: 2349 for ocr_res in ocr_res_list:
2350 bankStatement_type = ocr_res.get('bankStatement_type', '') 2350 bankStatement_type = ocr_res.get('bankStatement_type', '')
2351 # 如果是高风险经销商,cms信息中包含‘不接受支付宝/微信’,但是识别出的流水是支付宝/微信,直接跳过这个文件,就当不存在 2351 # 如果是高风险经销商,cms信息中包含‘不接受支付宝/微信’,但是识别出的流水是支付宝/微信,直接跳过这个文件,就当不存在
2352 if allow_bs_type == '不接受支付宝/微信' and bankStatement_type in [12, 13, 48]: 2352 if allow_bs_type == '不接受支付宝/微信' and bankStatement_type in ['12', '13', '48']:
2353 continue 2353 continue
2354 2354
2355 correct_count = 0 2355 correct_count = 0
...@@ -2386,7 +2386,7 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_ ...@@ -2386,7 +2386,7 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_
2386 for ocr_res in ocr_res_list: 2386 for ocr_res in ocr_res_list:
2387 bankStatement_type = ocr_res.get('bankStatement_type', '') 2387 bankStatement_type = ocr_res.get('bankStatement_type', '')
2388 # 如果是高风险经销商,cms信息中包含‘不接受支付宝/微信’,但是识别出的流水是支付宝/微信,直接跳过这个文件,就当不存在 2388 # 如果是高风险经销商,cms信息中包含‘不接受支付宝/微信’,但是识别出的流水是支付宝/微信,直接跳过这个文件,就当不存在
2389 if allow_bs_type == '不接受支付宝/微信' and bankStatement_type in [12, 13, 48]: 2389 if allow_bs_type == '不接受支付宝/微信' and bankStatement_type in ['12', '13', '48']:
2390 continue 2390 continue
2391 correct_count = 0 2391 correct_count = 0
2392 dbr2_tmp_res_part = {} 2392 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!