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
e08e5c00
authored
2025-07-18 15:08:39 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'hotfix/2025-07'
2 parents
af1f592a
a1c4c8d3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
src/celery_compare/tasks.py
src/celery_compare/tasks.py
View file @
e08e5c0
...
...
@@ -2424,7 +2424,8 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_
# 只有电子流水,以电子为准
reason
=
reason_n1
result
=
consts
.
RESULT_Y
if
all
(
auto_elec_verify_list
)
else
consts
.
RESULT_N
elif
not
auto_elec_verify_list
:
elif
not
auto_elec_verify_list
and
auto_paper_verify_list
:
# 只有纸质流水
paperTrue
=
len
(
auto_paper_verify_false_idx_list
)
<=
0
paperNotClear
=
len
(
auto_paper_verify_true_idx_list
)
>
0
if
not
paperTrue
and
paperNotClear
:
...
...
@@ -2434,6 +2435,9 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_
elif
not
paperTrue
:
reason
=
reason_n3
result
=
consts
.
RESULT_N
else
:
result
=
consts
.
RESULT_N
reason
=
'高风险经销商流水类型异常'
result_field_list
.
append
((
name
,
empty_str
,
result
,
json
.
dumps
(
verify_list
,
ensure_ascii
=
False
),
empty_str
,
empty_error_type
,
reason
))
if
all_zhifubao_weixin
:
...
...
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