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
aff90c6d
authored
2024-11-04 17:52:15 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'feature/CHINARPA-5015' into feature/uat-tmp
2 parents
d8755880
8398c4fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/celery_compare/tasks.py
src/celery_compare/tasks.py
View file @
aff90c6
...
...
@@ -2248,7 +2248,7 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_
e_bank
=
ocr_res
.
get
(
'e_bank'
,
False
)
bankStatement_type
=
ocr_res
.
get
(
'bankStatement_type'
,
''
)
# 如果是高风险经销商,cms信息中包含‘不接受支付宝/微信’,但是识别出的流水是支付宝/微信,直接跳过这个文件,就当不存在
if
allow_bs_type
==
'不接受支付宝/微信'
and
bankStatement_type
in
[
12
,
13
,
48
]:
if
allow_bs_type
==
'不接受支付宝/微信'
and
bankStatement_type
in
[
'12'
,
'13'
,
'48'
]:
continue
all_zhifubao_weixin
=
False
#verify_list.append(verify_bool)
...
...
@@ -2349,7 +2349,7 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_
for
ocr_res
in
ocr_res_list
:
bankStatement_type
=
ocr_res
.
get
(
'bankStatement_type'
,
''
)
# 如果是高风险经销商,cms信息中包含‘不接受支付宝/微信’,但是识别出的流水是支付宝/微信,直接跳过这个文件,就当不存在
if
allow_bs_type
==
'不接受支付宝/微信'
and
bankStatement_type
in
[
12
,
13
,
48
]:
if
allow_bs_type
==
'不接受支付宝/微信'
and
bankStatement_type
in
[
'12'
,
'13'
,
'48'
]:
continue
correct_count
=
0
...
...
@@ -2386,7 +2386,7 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type, allow_
for
ocr_res
in
ocr_res_list
:
bankStatement_type
=
ocr_res
.
get
(
'bankStatement_type'
,
''
)
# 如果是高风险经销商,cms信息中包含‘不接受支付宝/微信’,但是识别出的流水是支付宝/微信,直接跳过这个文件,就当不存在
if
allow_bs_type
==
'不接受支付宝/微信'
and
bankStatement_type
in
[
12
,
13
,
48
]:
if
allow_bs_type
==
'不接受支付宝/微信'
and
bankStatement_type
in
[
'12'
,
'13'
,
'48'
]:
continue
correct_count
=
0
dbr2_tmp_res_part
=
{}
...
...
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