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
d9b45158
authored
2023-01-12 10:23:22 +0800
by
王聪
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'feature/fsm-full' into 'feature/uat-tmp'
fsm 添加日志 See merge request !11
2 parents
111e0f2b
73057e59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
src/apps/doc/views.py
src/apps/doc/views.py
View file @
d9b4515
...
...
@@ -578,6 +578,8 @@ class UploadDocView(GenericView, DocHandler):
document_scheme
=
self
.
fix_scheme
(
document_scheme
)
# fsm激活状态, 更新ocr_result 表fsm状态
self
.
running_log
.
info
(
'[doc upload applicationId-{0}] [applicationStatus-{1}, activated-{2}]'
.
format
(
application_id
,
application_status
,
True
if
consts
.
FSM_ACTIVITED_STATUS
.
get
(
application_status
)
else
False
))
if
consts
.
FSM_ACTIVITED_STATUS
.
get
(
application_status
):
result_class
=
None
if
business_type
==
consts
.
HIL_PREFIX
:
...
...
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