cms switch
Showing
1 changed file
with
5 additions
and
1 deletions
... | @@ -2769,7 +2769,11 @@ def se_compare(application_id, application_entity, ocr_res_id, last_obj, ocr_res | ... | @@ -2769,7 +2769,11 @@ def se_compare(application_id, application_entity, ocr_res_id, last_obj, ocr_res |
2769 | traceback.format_exc())) | 2769 | traceback.format_exc())) |
2770 | 2770 | ||
2771 | # cms结果发送 | 2771 | # cms结果发送 |
2772 | # if is_cms: | 2772 | is_cms_send = Configs.objects.filter(id=2).first() |
2773 | if is_cms_send is not None and is_cms_send.value == 'N': | ||
2774 | compare_log.info('{0} [SE] [cms closed] [entity={1}] [id={2}] [ocr_res_id={3}]'.format( | ||
2775 | log_base, application_entity, application_id, ocr_res_id)) | ||
2776 | return successful_at_this_level | ||
2773 | try: | 2777 | try: |
2774 | application_link = '{0}/showList/showList?entity={1}&scheme={2}&case_id={3}'.format( | 2778 | application_link = '{0}/showList/showList?entity={1}&scheme={2}&case_id={3}'.format( |
2775 | conf.BASE_URL, application_entity, consts.COMPARE_DOC_SCHEME_LIST[1], application_id) | 2779 | conf.BASE_URL, application_entity, consts.COMPARE_DOC_SCHEME_LIST[1], application_id) | ... | ... |
-
Please register or sign in to post a comment