Merge branch 'feature/CHINARPA-5117' into feature/uat-tmp
Showing
1 changed file
with
8 additions
and
8 deletions
... | @@ -2308,16 +2308,16 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_ | ... | @@ -2308,16 +2308,16 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_ |
2308 | # 若仅提供纸质流水,则默认真伪为N2 | 2308 | # 若仅提供纸质流水,则默认真伪为N2 |
2309 | if not auto_elec_verify_list: | 2309 | if not auto_elec_verify_list: |
2310 | result = consts.RESULT_N2 | 2310 | result = consts.RESULT_N2 |
2311 | reason = '第{0}份银行流水为纸质版,请核查流水真伪。'.format('、'.join(auto_paper_verify_false_idx_list)) | 2311 | reason = '<关注>第{0}份流水为纸质版,请核查流水真伪。'.format('、'.join(auto_paper_verify_false_idx_list)) |
2312 | # 若仅提供电子流水,逐一比对,有false为N1,全部true为Y | 2312 | # 若仅提供电子流水,逐一比对,有false为N1,全部true为Y |
2313 | if not auto_paper_verify_list: | 2313 | if not auto_paper_verify_list: |
2314 | result = consts.RESULT_Y if all(auto_elec_verify_list) else consts.RESULT_N1 | 2314 | result = consts.RESULT_Y if all(auto_elec_verify_list) else consts.RESULT_N1 |
2315 | reason = '第{0}份银行流水疑似造假,需人工核查。'.format('、'.join(auto_elec_verify_false_idx_list)) | 2315 | reason = '<关注>第{0}份电子流水疑似造假,请核查excel。'.format('、'.join(auto_elec_verify_false_idx_list)) |
2316 | #同时包含,同时返回N1,N2 | 2316 | #同时包含,同时返回N1,N2 |
2317 | if auto_elec_verify_list and auto_paper_verify_list: | 2317 | if auto_elec_verify_list and auto_paper_verify_list: |
2318 | result = consts.RESULT_Y if all(auto_elec_verify_list) else consts.RESULT_N1 | 2318 | result = consts.RESULT_Y if all(auto_elec_verify_list) else consts.RESULT_N1 |
2319 | reason1 = '第{0}份银行流水疑似造假,需人工核查。'.format('、'.join(auto_elec_verify_false_idx_list)) | 2319 | reason1 = '<关注>第{0}份电子流水疑似造假,请核查excel。'.format('、'.join(auto_elec_verify_false_idx_list)) |
2320 | reason2 = '第{0}份银行流水为纸质版,请核查流水真伪。'.format('、'.join(auto_paper_verify_false_idx_list)) | 2320 | reason2 = '<关注>第{0}份流水为纸质版,请核查流水真伪。'.format('、'.join(auto_paper_verify_false_idx_list)) |
2321 | reason = reason1 + reason2 | 2321 | reason = reason1 + reason2 |
2322 | result_field_list.append((name, empty_str, result, json.dumps(verify_list, ensure_ascii=False), empty_str, empty_error_type, reason)) | 2322 | result_field_list.append((name, empty_str, result, json.dumps(verify_list, ensure_ascii=False), empty_str, empty_error_type, reason)) |
2323 | # 非FSM Full & Auto CAA2 目前逻辑和上面的完全一样 | 2323 | # 非FSM Full & Auto CAA2 目前逻辑和上面的完全一样 |
... | @@ -2326,16 +2326,16 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_ | ... | @@ -2326,16 +2326,16 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_ |
2326 | # 若仅提供纸质流水,则默认真伪为N2 | 2326 | # 若仅提供纸质流水,则默认真伪为N2 |
2327 | if not auto_elec_verify_list: | 2327 | if not auto_elec_verify_list: |
2328 | result = consts.RESULT_N2 | 2328 | result = consts.RESULT_N2 |
2329 | reason = '第{0}份银行流水为纸质版,请核查流水真伪。'.format('、'.join(auto_paper_verify_false_idx_list)) | 2329 | reason = '<关注>第{0}份流水为纸质版,请核查流水真伪。'.format('、'.join(auto_paper_verify_false_idx_list)) |
2330 | # 若仅提供电子流水,逐一比对,有false为N1,全部true为Y | 2330 | # 若仅提供电子流水,逐一比对,有false为N1,全部true为Y |
2331 | if not auto_paper_verify_list: | 2331 | if not auto_paper_verify_list: |
2332 | result = consts.RESULT_Y if all(auto_elec_verify_list) else consts.RESULT_N1 | 2332 | result = consts.RESULT_Y if all(auto_elec_verify_list) else consts.RESULT_N1 |
2333 | reason = '第{0}份银行流水疑似造假,需人工核查。'.format('、'.join(auto_elec_verify_false_idx_list)) | 2333 | reason = '<关注>第{0}份电子流水疑似造假,请核查excel。'.format('、'.join(auto_elec_verify_false_idx_list)) |
2334 | #同时包含,同时返回N1,N2 | 2334 | #同时包含,同时返回N1,N2 |
2335 | if auto_elec_verify_list and auto_paper_verify_list: | 2335 | if auto_elec_verify_list and auto_paper_verify_list: |
2336 | result = consts.RESULT_Y if all(auto_elec_verify_list) else consts.RESULT_N1 | 2336 | result = consts.RESULT_Y if all(auto_elec_verify_list) else consts.RESULT_N1 |
2337 | reason1 = '第{0}份银行流水疑似造假,需人工核查。'.format('、'.join(auto_elec_verify_false_idx_list)) | 2337 | reason1 = '<关注>第{0}份电子流水疑似造假,请核查excel。'.format('、'.join(auto_elec_verify_false_idx_list)) |
2338 | reason2 = '第{0}份银行流水为纸质版,请核查流水真伪。'.format('、'.join(auto_paper_verify_false_idx_list)) | 2338 | reason2 = '<关注>第{0}份流水为纸质版,请核查流水真伪。'.format('、'.join(auto_paper_verify_false_idx_list)) |
2339 | reason = reason1 + reason2 | 2339 | reason = reason1 + reason2 |
2340 | result_field_list.append((name, empty_str, result, json.dumps(verify_list, ensure_ascii=False), empty_str, empty_error_type, reason)) | 2340 | result_field_list.append((name, empty_str, result, json.dumps(verify_list, ensure_ascii=False), empty_str, empty_error_type, reason)) |
2341 | 2341 | ... | ... |
-
Please register or sign in to post a comment