c98a3add by 周伟奇

Merge branch 'feature/cms4' into feature/0918

2 parents ed98abdf e01e2f43
...@@ -1738,9 +1738,9 @@ TENANT_MAP = { ...@@ -1738,9 +1738,9 @@ TENANT_MAP = {
1738 1738
1739 APPLICANT_TYPE_MAP = { 1739 APPLICANT_TYPE_MAP = {
1740 'Borrower': 'CUSTR', 1740 'Borrower': 'CUSTR',
1741 'Co Borrower': 'COAPP', 1741 'Co-Borrower': 'COAPP',
1742 'Guarantor': 'GAUTR1', 1742 'Guarantor': 'GAUTR1',
1743 'Mortgager': 'GAUTR2' 1743 'Mortgager': 'GAUTR2'
1744 } 1744 }
1745 1745
1746 APPLICANT_TYPE_ORDER = ['Borrower', 'Co Borrower', 'Guarantor', 'Mortgager'] 1746 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():
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!