fix bug
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -767,7 +767,7 @@ class CompareResultView(GenericView): | ... | @@ -767,7 +767,7 @@ class CompareResultView(GenericView): |
767 | else: | 767 | else: |
768 | result_table = AFCCACompareResult if scheme == consts.COMPARE_DOC_SCHEME_LIST[0] else AFCSECompareResult | 768 | result_table = AFCCACompareResult if scheme == consts.COMPARE_DOC_SCHEME_LIST[0] else AFCSECompareResult |
769 | 769 | ||
770 | if result_id is None: | 770 | if result_id is not None: |
771 | result_str_list = result_table.objects.filter(id=result_id).values_list('result', flat=True) | 771 | result_str_list = result_table.objects.filter(id=result_id).values_list('result', flat=True) |
772 | else: | 772 | else: |
773 | result_str_list = result_table.objects.filter(application_id=case_id).values_list('result', flat=True) | 773 | result_str_list = result_table.objects.filter(application_id=case_id).values_list('result', flat=True) | ... | ... |
-
Please register or sign in to post a comment