73004bca by 周伟奇

Merge branch 'feature/se_compare3' into feature/0611

2 parents bef16a86 ef3fdf32
......@@ -1402,7 +1402,7 @@ BC_COMPARE_LOGIC = {
DDA_COMPARE_LOGIC = {
'applicationId(1)': ('check_Num', 'se_common_compare', {}),
'applicationId(2)': ('check_Num', 'se_common_compare', {}),
'bankName': ('to_bank', 'se_common_compare', {}),
'bankName': ('to_bank', 'se_both_contain_compare', {}),
'companyName': ('to_company', 'se_company_compare', {}),
'customerName': (DDA_IC_NAME, 'se_contain_compare_2', {}),
'idNum': (DDA_IC_ID, 'se_contain_compare_2', {}),
......
......@@ -725,7 +725,7 @@ def se_mvc34_compare(license_en, ocr_res_dict, field_list):
if max_date is not None or first_res is not None:
is_find = True
ocr_res = first_res if max_date is None else page34_date_dict[time.strftime('%Y-%m-%d', max_date)][0]
for name, value in enumerate(field_list):
for name, value in field_list:
ocr_str = ocr_res.get(compare_logic[name][0])
if not isinstance(ocr_str, str):
result = consts.RESULT_N
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!