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
39c6b60f
authored
2024-08-02 18:10:20 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fss加入sql查询
1 parent
8be54979
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
src/apps/doc/consts.py
src/celery_compare/tasks.py
src/apps/doc/consts.py
View file @
39c6b60
...
...
@@ -1306,6 +1306,7 @@ COMPARE_FIELDS = (
HIL_CONTRACT_2_FIELD
,
HIL_CONTRACT_3_FIELD
,
FS_FIELD
,
FSS_FIELD
,
)
PRE_COMPARE_FIELDS
=
(
...
...
src/celery_compare/tasks.py
View file @
39c6b60
...
...
@@ -2443,7 +2443,6 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type):
def
se_compare_license
(
license_en
,
ocr_res_dict
,
field_list
):
ocr_field
,
compare_logic
,
special_expiry_date
=
consts
.
SE_COMPARE_FIELD
[
license_en
]
compare_log
.
info
(
'{0} [{1}_compare] ocr_res:{2}'
.
format
(
log_base
,
license_en
,
ocr_res_str
))
is_find
=
False
no_ocr_result
=
False
...
...
@@ -2452,6 +2451,7 @@ def se_compare_license(license_en, ocr_res_dict, field_list):
section_img_info
=
dict
()
field_img_path_dict
=
dict
()
ocr_res_str
=
ocr_res_dict
.
get
(
ocr_field
)
compare_log
.
info
(
'{0} [{1}_compare] ocr_res:{2}'
.
format
(
log_base
,
license_en
,
ocr_res_str
))
if
ocr_res_str
is
not
None
:
ocr_res_list
=
json
.
loads
(
ocr_res_str
)
...
...
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