38acff43 by 周伟奇

cms switch

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