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
6bfb2fb8
authored
2022-12-07 19:19:43 +0800
by
王聪
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
de-mortgage 接口更新
1 parent
44bf59b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/pos/views.py
src/pos/views.py
View file @
6bfb2fb
...
...
@@ -108,10 +108,10 @@ class DeMortgageView(GenericView):
}
result
,
_
=
cp
.
common_compare
(
field_result
[
'input'
],
field_result
[
'ocr'
])
if
result
==
cp
.
RESULT_Y
:
field
s
_result
[
'field_is_pass'
]
=
result
field_result
[
'field_is_pass'
]
=
result
else
:
request_pass
=
False
field
s
_result
[
'comments'
]
=
de_mortgage_comments
.
get
(
field_name
,
''
)
field_result
[
'comments'
]
=
de_mortgage_comments
.
get
(
field_name
,
''
)
fields_result
.
append
(
field_result
)
...
...
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