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
68af8930
authored
2023-01-15 15:49:37 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
FIX:is_fsm判断条件
1 parent
62e0a02b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/apps/doc/management/commands/ocr_process.py
src/apps/doc/management/commands/ocr_process.py
View file @
68af893
...
...
@@ -2061,7 +2061,7 @@ class Command(BaseCommand, LoggerMixin):
# 是否fsm
cms_status_class
=
HILCmsStatusInfo
if
business_type
in
consts
.
HIL_SET
else
AFCCmsStatusInfo
cms_status_info
=
cms_status_class
.
objects
.
filter
(
application_id
=
doc
.
application_id
)
.
first
()
is_fsm
=
cms_status_info
and
cms_status_info
.
is_fsm
==
1
is_fsm
=
cms_status_info
is
not
None
and
cms_status_info
.
is_fsm
==
1
self
.
online_log
.
info
(
'{0} [isfsm] [task={1}] [true or false={2}]'
.
format
(
self
.
log_base
,
task_str
,
is_fsm
))
if
is_fsm
:
...
...
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