40a2eb08 by 王聪

fsm activated update

1 parent 1f2a4883
...@@ -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()
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!