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
9b87d331
authored
2025-03-06 16:50:32 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
纸质流水真伪存库结果
1 parent
5c6ceb05
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
src/apps/doc/management/commands/ocr_process.py
src/apps/doc/management/commands/ocr_process.py
View file @
9b87d33
...
...
@@ -964,14 +964,21 @@ class Command(BaseCommand, LoggerMixin):
print_date
=
bs_info
.
get
(
'end_date'
,
''
)
.
strftime
(
"
%
Y-
%
m-
%
d"
)
except
Exception
as
e
:
print_date
=
''
is_eBank
=
bs_info
.
get
(
'e_bank'
,
False
)
if
is_eBank
:
bs_verify
=
bs_info
.
get
(
'verify_res_ebank'
,
True
)
else
:
bs_verify
=
bs_info
.
get
(
'verify_res_paper_bank'
,
True
)
res
.
append
(
{
'bankStatement_type'
:
str
(
bs_info
.
get
(
'classify'
,
''
)),
'role'
:
bs_info
.
get
(
'role'
,
''
),
'print_time'
:
print_date
,
'timedelta'
:
bs_info
.
get
(
'timedelta'
,
''
),
'verify'
:
bs_info
.
get
(
'verify_res_ebank'
,
True
),
'e_bank'
:
bs_info
.
get
(
'e_bank'
,
False
),
# 'verify': bs_info.get('verify_res_ebank', True),
'verify'
:
bs_verify
,
# 'e_bank': bs_info.get('e_bank', False),
'e_bank'
:
is_eBank
,
'income_keywords'
:
income_keywords_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