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
88f01673
authored
2025-08-13 11:04:59 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'feature/weixin-bs-2' into feature/uat-tmp
2 parents
0438240e
75c57aa6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/apps/doc/views.py
src/apps/doc/views.py
View file @
88f0167
...
...
@@ -700,7 +700,7 @@ class UploadDocView(GenericView, DocHandler):
classify_1
=
12
self
.
running_log
.
info
(
'[weixin bs process] [doc_id={0}]'
.
format
(
doc
.
id
))
if
classify_1
==
0
and
(
document_name
.
startswith
(
"dzfp
_"
)
):
if
classify_1
==
0
and
(
document_name
.
startswith
(
"dzfp
"
)
or
'电子发票'
in
document_name
):
classify_1
=
29
self
.
running_log
.
info
(
'[dzfp process] [doc_id={0}]'
.
format
(
doc
.
id
))
...
...
@@ -1284,7 +1284,7 @@ class DocView(DocGenericView, DocHandler):
classify_1
=
12
self
.
running_log
.
info
(
'[weixin bs process] [doc_id={0}]'
.
format
(
doc
.
id
))
if
classify_1
==
0
and
(
document_name
.
startswith
(
"dzfp
_"
)
):
if
classify_1
==
0
and
(
document_name
.
startswith
(
"dzfp
"
)
or
'电子发票'
in
document_name
):
classify_1
=
29
self
.
running_log
.
info
(
'[dzfp process] [doc_id={0}]'
.
format
(
doc
.
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