Merge branch 'feature/se_compare3' into feature/0611
Showing
2 changed files
with
2 additions
and
2 deletions
... | @@ -1402,7 +1402,7 @@ BC_COMPARE_LOGIC = { | ... | @@ -1402,7 +1402,7 @@ BC_COMPARE_LOGIC = { |
1402 | DDA_COMPARE_LOGIC = { | 1402 | DDA_COMPARE_LOGIC = { |
1403 | 'applicationId(1)': ('check_Num', 'se_common_compare', {}), | 1403 | 'applicationId(1)': ('check_Num', 'se_common_compare', {}), |
1404 | 'applicationId(2)': ('check_Num', 'se_common_compare', {}), | 1404 | 'applicationId(2)': ('check_Num', 'se_common_compare', {}), |
1405 | 'bankName': ('to_bank', 'se_common_compare', {}), | 1405 | 'bankName': ('to_bank', 'se_both_contain_compare', {}), |
1406 | 'companyName': ('to_company', 'se_company_compare', {}), | 1406 | 'companyName': ('to_company', 'se_company_compare', {}), |
1407 | 'customerName': (DDA_IC_NAME, 'se_contain_compare_2', {}), | 1407 | 'customerName': (DDA_IC_NAME, 'se_contain_compare_2', {}), |
1408 | 'idNum': (DDA_IC_ID, 'se_contain_compare_2', {}), | 1408 | 'idNum': (DDA_IC_ID, 'se_contain_compare_2', {}), | ... | ... |
... | @@ -725,7 +725,7 @@ def se_mvc34_compare(license_en, ocr_res_dict, field_list): | ... | @@ -725,7 +725,7 @@ def se_mvc34_compare(license_en, ocr_res_dict, field_list): |
725 | if max_date is not None or first_res is not None: | 725 | if max_date is not None or first_res is not None: |
726 | is_find = True | 726 | is_find = True |
727 | ocr_res = first_res if max_date is None else page34_date_dict[time.strftime('%Y-%m-%d', max_date)][0] | 727 | ocr_res = first_res if max_date is None else page34_date_dict[time.strftime('%Y-%m-%d', max_date)][0] |
728 | for name, value in enumerate(field_list): | 728 | for name, value in field_list: |
729 | ocr_str = ocr_res.get(compare_logic[name][0]) | 729 | ocr_str = ocr_res.get(compare_logic[name][0]) |
730 | if not isinstance(ocr_str, str): | 730 | if not isinstance(ocr_str, str): |
731 | result = consts.RESULT_N | 731 | result = consts.RESULT_N | ... | ... |
-
Please register or sign in to post a comment