fsm activated update
Showing
1 changed file
with
4 additions
and
4 deletions
... | @@ -581,14 +581,14 @@ class UploadDocView(GenericView, DocHandler): | ... | @@ -581,14 +581,14 @@ class UploadDocView(GenericView, DocHandler): |
581 | if consts.FSM_ACTIVITED_STATUS.get(application_status): | 581 | if consts.FSM_ACTIVITED_STATUS.get(application_status): |
582 | result_class = None | 582 | result_class = None |
583 | if business_type == consts.HIL_PREFIX: | 583 | if business_type == consts.HIL_PREFIX: |
584 | if document_scheme == RequestTeam.ACCEPTANCE[1]: | 584 | if document_scheme == RequestTeam.ACCEPTANCE.name: |
585 | result_class = HILOCRResult | 585 | result_class = HILOCRResult |
586 | elif document_scheme == RequestTeam.SETTLEMENT[1]: | 586 | elif document_scheme == RequestTeam.SETTLEMENT.name: |
587 | result_class = HILSEOCRResult | 587 | result_class = HILSEOCRResult |
588 | elif business_type == consts.AFC_PREFIX: | 588 | elif business_type == consts.AFC_PREFIX: |
589 | if document_scheme == RequestTeam.ACCEPTANCE[1]: | 589 | if document_scheme == RequestTeam.ACCEPTANCE.name: |
590 | result_class = AFCOCRResult | 590 | result_class = AFCOCRResult |
591 | elif document_scheme == RequestTeam.SETTLEMENT[1]: | 591 | elif document_scheme == RequestTeam.SETTLEMENT.name: |
592 | result_class = AFCSEOCRResult | 592 | result_class = AFCSEOCRResult |
593 | 593 | ||
594 | ocr_result_obj = result_class.objects.filter(application_id=application_id).first() | 594 | ocr_result_obj = result_class.objects.filter(application_id=application_id).first() | ... | ... |
-
Please register or sign in to post a comment