MOD:支付宝微信流水数字改成字符串
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -2246,7 +2246,7 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_ | ... | @@ -2246,7 +2246,7 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_ |
2246 | e_bank = ocr_res.get('e_bank', False) | 2246 | e_bank = ocr_res.get('e_bank', False) |
2247 | bankStatement_type = ocr_res.get('bankStatement_type', '') | 2247 | bankStatement_type = ocr_res.get('bankStatement_type', '') |
2248 | # 如果是高风险经销商,cms信息中包含‘不接受支付宝/微信’,但是识别出的流水是支付宝/微信,直接跳过这个文件,就当不存在 | 2248 | # 如果是高风险经销商,cms信息中包含‘不接受支付宝/微信’,但是识别出的流水是支付宝/微信,直接跳过这个文件,就当不存在 |
2249 | if allow_bs_type == '不接受支付宝/微信' and bankStatement_type in [12, 13, 48]: | 2249 | if allow_bs_type == '不接受支付宝/微信' and bankStatement_type in ['12', '13', '48']: |
2250 | continue | 2250 | continue |
2251 | all_zhifubao_weixin = False | 2251 | all_zhifubao_weixin = False |
2252 | #verify_list.append(verify_bool) | 2252 | #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_ | ... | @@ -2347,7 +2347,7 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_ |
2347 | for ocr_res in ocr_res_list: | 2347 | for ocr_res in ocr_res_list: |
2348 | bankStatement_type = ocr_res.get('bankStatement_type', '') | 2348 | bankStatement_type = ocr_res.get('bankStatement_type', '') |
2349 | # 如果是高风险经销商,cms信息中包含‘不接受支付宝/微信’,但是识别出的流水是支付宝/微信,直接跳过这个文件,就当不存在 | 2349 | # 如果是高风险经销商,cms信息中包含‘不接受支付宝/微信’,但是识别出的流水是支付宝/微信,直接跳过这个文件,就当不存在 |
2350 | if allow_bs_type == '不接受支付宝/微信' and bankStatement_type in [12, 13, 48]: | 2350 | if allow_bs_type == '不接受支付宝/微信' and bankStatement_type in ['12', '13', '48']: |
2351 | continue | 2351 | continue |
2352 | 2352 | ||
2353 | correct_count = 0 | 2353 | correct_count = 0 |
... | @@ -2384,7 +2384,7 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_ | ... | @@ -2384,7 +2384,7 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_ |
2384 | for ocr_res in ocr_res_list: | 2384 | for ocr_res in ocr_res_list: |
2385 | bankStatement_type = ocr_res.get('bankStatement_type', '') | 2385 | bankStatement_type = ocr_res.get('bankStatement_type', '') |
2386 | # 如果是高风险经销商,cms信息中包含‘不接受支付宝/微信’,但是识别出的流水是支付宝/微信,直接跳过这个文件,就当不存在 | 2386 | # 如果是高风险经销商,cms信息中包含‘不接受支付宝/微信’,但是识别出的流水是支付宝/微信,直接跳过这个文件,就当不存在 |
2387 | if allow_bs_type == '不接受支付宝/微信' and bankStatement_type in [12, 13, 48]: | 2387 | if allow_bs_type == '不接受支付宝/微信' and bankStatement_type in ['12', '13', '48']: |
2388 | continue | 2388 | continue |
2389 | correct_count = 0 | 2389 | correct_count = 0 |
2390 | dbr2_tmp_res_part = {} | 2390 | dbr2_tmp_res_part = {} | ... | ... |
-
Please register or sign in to post a comment