Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
周伟奇
/
bmw-ocr
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
c98a3add
authored
2021-10-08 00:56:00 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'feature/cms4' into feature/0918
2 parents
ed98abdf
e01e2f43
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
src/apps/doc/consts.py
src/celery_compare/tasks.py
src/apps/doc/consts.py
View file @
c98a3ad
...
...
@@ -1738,9 +1738,9 @@ TENANT_MAP = {
APPLICANT_TYPE_MAP
=
{
'Borrower'
:
'CUSTR'
,
'Co
Borrower'
:
'COAPP'
,
'Co
-
Borrower'
:
'COAPP'
,
'Guarantor'
:
'GAUTR1'
,
'Mortgager'
:
'GAUTR2'
}
APPLICANT_TYPE_ORDER
=
[
'Borrower'
,
'Co
Borrower'
,
'Guarantor'
,
'Mortgager'
]
APPLICANT_TYPE_ORDER
=
[
'Borrower'
,
'Co
-
Borrower'
,
'Guarantor'
,
'Mortgager'
]
...
...
src/celery_compare/tasks.py
View file @
c98a3ad
...
...
@@ -1395,7 +1395,7 @@ def se_compare_process(compare_info, ocr_res_dict):
failure_reason
=
{}
for
info_key
,
info_value
in
compare_info
.
items
():
if
info_key
==
'individualCusInfo'
:
if
info_key
in
[
'individualCusInfo'
,
'applicantInformation'
]
:
for
idx
,
license_list
in
info_value
.
items
():
for
license_dict
in
license_list
:
for
license_en
,
field_list
in
license_dict
.
items
():
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment