fix bug
Showing
2 changed files
with
2 additions
and
2 deletions
| ... | @@ -1366,7 +1366,7 @@ BC_COMPARE_LOGIC = { | ... | @@ -1366,7 +1366,7 @@ BC_COMPARE_LOGIC = { |
| 1366 | DDA_COMPARE_LOGIC = { | 1366 | DDA_COMPARE_LOGIC = { |
| 1367 | 'applicationId(1)': ('check_Num', 'se_common_compare', {}), | 1367 | 'applicationId(1)': ('check_Num', 'se_common_compare', {}), |
| 1368 | 'applicationId(2)': ('check_Num', 'se_common_compare', {}), | 1368 | 'applicationId(2)': ('check_Num', 'se_common_compare', {}), |
| 1369 | 'bankName': ('to_bank', 'se_common_compare', {}), | 1369 | 'bankName': ('to_bank', 'se_both_contain_compare', {}), |
| 1370 | 'companyName': ('to_company', 'se_company_compare', {}), | 1370 | 'companyName': ('to_company', 'se_company_compare', {}), |
| 1371 | 'customerName': (DDA_IC_NAME, 'se_contain_compare_2', {}), | 1371 | 'customerName': (DDA_IC_NAME, 'se_contain_compare_2', {}), |
| 1372 | 'idNum': (DDA_IC_ID, 'se_contain_compare_2', {}), | 1372 | 'idNum': (DDA_IC_ID, 'se_contain_compare_2', {}), | ... | ... |
| ... | @@ -681,7 +681,7 @@ def se_mvc34_compare(license_en, ocr_res_dict, field_list): | ... | @@ -681,7 +681,7 @@ def se_mvc34_compare(license_en, ocr_res_dict, field_list): |
| 681 | if max_date is not None or first_res is not None: | 681 | if max_date is not None or first_res is not None: |
| 682 | is_find = True | 682 | is_find = True |
| 683 | ocr_res = first_res if max_date is None else page34_date_dict[time.strftime('%Y-%m-%d', max_date)][0] | 683 | ocr_res = first_res if max_date is None else page34_date_dict[time.strftime('%Y-%m-%d', max_date)][0] |
| 684 | for name, value in enumerate(field_list): | 684 | for name, value in field_list: |
| 685 | ocr_str = ocr_res.get(compare_logic[name][0]) | 685 | ocr_str = ocr_res.get(compare_logic[name][0]) |
| 686 | if not isinstance(ocr_str, str): | 686 | if not isinstance(ocr_str, str): |
| 687 | result = consts.RESULT_N | 687 | result = consts.RESULT_N | ... | ... |
-
Please register or sign in to post a comment