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
141a5662
authored
2024-03-21 14:05:02 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'feature/CHINARPA-4395'
2 parents
1c81d7d8
0a6bf496
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
src/apps/doc/mixins.py
src/celery_compare/tasks.py
src/apps/doc/mixins.py
View file @
141a566
...
...
@@ -161,6 +161,7 @@ class PreSEHandler:
data_source
=
''
if
application_entity
==
consts
.
AFC_PREFIX
:
doc_obj
=
AFCDoc
.
objects
.
filter
(
application_id
=
application_id
,
document_name__icontains
=
'电子签署-车辆抵押贷款合同'
)
.
last
()
if
doc_obj
is
not
None
:
data_source
=
doc_obj
.
data_source
LoggerMixin
.
running_log
.
info
(
'[pre get data_source] [id={0}] [data_source={1}]]'
.
format
(
application_id
,
data_source
))
...
...
src/celery_compare/tasks.py
View file @
141a566
...
...
@@ -3430,6 +3430,7 @@ def compare(application_id, application_entity, uniq_seq, ocr_res_id, is_ca=True
data_source
=
''
if
application_entity
==
consts
.
AFC_PREFIX
:
doc_obj
=
AFCDoc
.
objects
.
filter
(
application_id
=
application_id
,
document_name__icontains
=
'电子签署-车辆抵押贷款合同'
)
.
last
()
if
doc_obj
is
not
None
:
data_source
=
doc_obj
.
data_source
compare_log
.
info
(
'{0} [get data_source] [id={1}] [data_source={2}]]'
.
format
(
log_base
,
application_id
,
data_source
))
...
...
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