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
38acff43
authored
2022-07-04 14:52:55 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
cms switch
1 parent
20d2fd06
Hide 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 @
38acff4
...
...
@@ -2769,7 +2769,11 @@ def se_compare(application_id, application_entity, ocr_res_id, last_obj, ocr_res
traceback
.
format_exc
()))
# cms结果发送
# if is_cms:
is_cms_send
=
Configs
.
objects
.
filter
(
id
=
2
)
.
first
()
if
is_cms_send
is
not
None
and
is_cms_send
.
value
==
'N'
:
compare_log
.
info
(
'{0} [SE] [cms closed] [entity={1}] [id={2}] [ocr_res_id={3}]'
.
format
(
log_base
,
application_entity
,
application_id
,
ocr_res_id
))
return
successful_at_this_level
try
:
application_link
=
'{0}/showList/showList?entity={1}&scheme={2}&case_id={3}'
.
format
(
conf
.
BASE_URL
,
application_entity
,
consts
.
COMPARE_DOC_SCHEME_LIST
[
1
],
application_id
)
...
...
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