78354bef by 周伟奇

cancel test

1 parent 201ab38c
......@@ -888,7 +888,7 @@ class Command(BaseCommand, LoggerMixin):
os.remove(excel_path)
finally:
# TODO 识别结果存一张表,方便跑报表
# if doc.document_scheme == consts.DOC_SCHEME_LIST[0]:
if doc.document_scheme == consts.DOC_SCHEME_LIST[0]:
try:
# 更新OCR累计识别结果表
result_class = HILOCRResult if business_type == consts.HIL_PREFIX else AFCOCRResult
......
......@@ -443,8 +443,7 @@ class DocView(GenericView, DocHandler):
file.close()
# 1. 上传信息记录
# application_id = '{0}{1}'.format(consts.FIXED_APPLICATION_ID_PREFIX, metadata_version_id)
application_id = 'CH-S200012727'
application_id = '{0}{1}'.format(consts.FIXED_APPLICATION_ID_PREFIX, metadata_version_id)
upload_finish_time = timezone.now()
document_scheme = random.choice(consts.DOC_SCHEME_LIST)
data_source = random.choice(consts.DATA_SOURCE_LIST)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!