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
ff8e7380
authored
2025-02-06 15:00:32 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
MOD:承诺书触发比对
1 parent
90b60c6b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
src/apps/doc/consts.py
src/apps/doc/management/commands/ocr_process.py
src/apps/doc/consts.py
View file @
ff8e738
...
...
@@ -2577,3 +2577,5 @@ FINANCIAL_EXPLANATION_SHEET_NAME = "财报情况说明"
DOWN_PAYMENT_CLASSIFY_LIST
=
[
96
]
# 首付款支付承诺书sheet名称
DOWN_PAYMENT_SHEET_NAME
=
"首付款支付承诺书"
NEW_FILE_COMPARE_SET
=
[
96
]
\ No newline at end of file
...
...
src/apps/doc/management/commands/ocr_process.py
View file @
ff8e738
...
...
@@ -2127,7 +2127,7 @@ class Command(BaseCommand, LoggerMixin):
license_summary
[
consts
.
BS_CLASSIFY
]
=
bs_rebuild
# 比对
if
len
(
license_summary
)
>
0
:
if
len
(
license_summary
)
>
0
or
classify
in
consts
.
NEW_FILE_COMPARE_SET
:
if
doc
.
document_scheme
!=
consts
.
DOC_SCHEME_LIST
[
2
]:
# if len(license_summary) > 0 and doc.document_scheme != consts.DOC_SCHEME_LIST[2]:
try
:
...
...
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