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
8929c27e
authored
2023-08-01 18:21:43 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'feature/CHINARPA-3813' into feature/uat-tmp
2 parents
9c5bbfc3
1a88a99f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
src/celery_compare/tasks.py
src/celery_compare/tasks.py
View file @
8929c27
...
...
@@ -2992,10 +2992,10 @@ def se_compare_process(compare_info, ocr_res_dict, is_gsyh, is_auto, id_res_list
total_fields
+=
1
if
result
==
consts
.
RESULT_N
:
# 确认书N2
if
license_en
==
consts
.
AFC_CONTRACT_QRS_EN
and
name
==
consts
.
SE_AFC_CON_QRS_FIELD
[
0
]
and
ocr_str
==
empty_str
:
pass
else
:
successful_at_this_level
=
False
#
if license_en == consts.AFC_CONTRACT_QRS_EN and name == consts.SE_AFC_CON_QRS_FIELD[0] and ocr_str == empty_str:
#
pass
#
else:
successful_at_this_level
=
False
failed_count
+=
1
each_license_failed_count
+=
1
failure_field
.
append
(
name
)
...
...
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