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
66de28b0
authored
2021-07-12 19:38:23 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
f5984e39
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/apps/doc/views.py
src/apps/doc/views.py
View file @
66de28b
...
...
@@ -767,7 +767,7 @@ class CompareResultView(GenericView):
else
:
result_table
=
AFCCACompareResult
if
scheme
==
consts
.
COMPARE_DOC_SCHEME_LIST
[
0
]
else
AFCSECompareResult
if
result_id
is
None
:
if
result_id
is
not
None
:
result_str_list
=
result_table
.
objects
.
filter
(
id
=
result_id
)
.
values_list
(
'result'
,
flat
=
True
)
else
:
result_str_list
=
result_table
.
objects
.
filter
(
application_id
=
case_id
)
.
values_list
(
'result'
,
flat
=
True
)
...
...
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