fix bug
Showing
2 changed files
with
3 additions
and
3 deletions
... | @@ -1720,9 +1720,9 @@ TENANT_MAP = { | ... | @@ -1720,9 +1720,9 @@ TENANT_MAP = { |
1720 | 1720 | ||
1721 | APPLICANT_TYPE_MAP = { | 1721 | APPLICANT_TYPE_MAP = { |
1722 | 'Borrower': 'CUSTR', | 1722 | 'Borrower': 'CUSTR', |
1723 | 'Co Borrower': 'COAPP', | 1723 | 'Co-Borrower': 'COAPP', |
1724 | 'Guarantor': 'GAUTR1', | 1724 | 'Guarantor': 'GAUTR1', |
1725 | 'Mortgager': 'GAUTR2' | 1725 | 'Mortgager': 'GAUTR2' |
1726 | } | 1726 | } |
1727 | 1727 | ||
1728 | APPLICANT_TYPE_ORDER = ['Borrower', 'Co Borrower', 'Guarantor', 'Mortgager'] | 1728 | APPLICANT_TYPE_ORDER = ['Borrower', 'Co-Borrower', 'Guarantor', 'Mortgager'] | ... | ... |
... | @@ -1395,7 +1395,7 @@ def se_compare_process(compare_info, ocr_res_dict): | ... | @@ -1395,7 +1395,7 @@ def se_compare_process(compare_info, ocr_res_dict): |
1395 | failure_reason = {} | 1395 | failure_reason = {} |
1396 | 1396 | ||
1397 | for info_key, info_value in compare_info.items(): | 1397 | for info_key, info_value in compare_info.items(): |
1398 | if info_key == 'individualCusInfo': | 1398 | if info_key in ['individualCusInfo', 'applicantInformation']: |
1399 | for idx, license_list in info_value.items(): | 1399 | for idx, license_list in info_value.items(): |
1400 | for license_dict in license_list: | 1400 | for license_dict in license_list: |
1401 | for license_en, field_list in license_dict.items(): | 1401 | for license_en, field_list in license_dict.items(): | ... | ... |
-
Please register or sign in to post a comment