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
d8413b41
authored
2024-10-12 15:58:41 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
MOD:金额改成字符串才能进入比对
1 parent
2be87904
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/celery_compare/tasks.py
src/celery_compare/tasks.py
View file @
d8413b4
...
...
@@ -2519,7 +2519,7 @@ def se_compare_license(license_en, ocr_res_dict, field_list, is_auto):
compare_log
.
info
(
'{0} [bd_4962_price] [ori ocr_str:{1}] '
.
format
(
log_base
,
ocr_str
))
add_price
=
conf
.
BD_PRICE
compare_log
.
info
(
'{0} [bd_4962_price] [add_price:{1}] '
.
format
(
log_base
,
add_price
))
ocr_str
=
float
(
ocr_str
)
+
float
(
add_price
)
ocr_str
=
str
(
float
(
ocr_str
)
+
float
(
add_price
)
)
compare_log
.
info
(
'{0} [bd_4962_price] [final ocr_str:{1}] '
.
format
(
log_base
,
ocr_str
))
else
:
ocr_str
=
ocr_res_list
[
res_idx
]
.
get
(
compare_logic
[
name
][
0
])
...
...
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