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
e3565c7c
authored
2021-11-05 18:13:08 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix cms & compare bug
1 parent
8ef9d025
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
src/apps/doc/consts.py
src/apps/doc/management/commands/ocr_process.py
src/apps/doc/consts.py
View file @
e3565c7
...
...
@@ -1510,7 +1510,7 @@ DDA_COMPARE_LOGIC = {
'customerName'
:
(
DDA_IC_NAME
,
'se_contain_compare_2'
,
{}),
'idNum'
:
(
DDA_IC_ID
,
'se_contain_compare_2'
,
{}),
'accountHolderName'
:
(
DDA_BC_NAME
,
'se_common_compare'
,
{}),
'accountNo'
:
(
DDA_BC_ID
,
'se_common_compare'
,
{}),
'accountNo'
:
(
DDA_BC_ID
,
'se_common_compare'
,
{
'remove_space'
:
True
}),
}
JYPZ_COMPARE_LOGIC
=
{
...
...
src/apps/doc/management/commands/ocr_process.py
View file @
e3565c7
...
...
@@ -1479,7 +1479,7 @@ class Command(BaseCommand, LoggerMixin):
try
:
# pass
compare
.
apply_async
((
doc
.
application_id
,
business_type
,
None
,
res_obj
.
id
,
is_ca
),
queue
=
'queue_compare'
)
is_ca
,
True
),
queue
=
'queue_compare'
)
except
Exception
as
e
:
self
.
online_log
.
error
(
'{0} [process error (comparison info send)] [task={1}] [error={2}]'
.
format
(
...
...
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