5c5a6351 by 周伟奇

Merge branch 'feature/ca_compare' into feature/0611

2 parents 1613cf21 7b3b25a1
...@@ -959,7 +959,7 @@ class Command(BaseCommand, LoggerMixin): ...@@ -959,7 +959,7 @@ class Command(BaseCommand, LoggerMixin):
959 # TODO 识别结果存一张表,方便跑报表 959 # TODO 识别结果存一张表,方便跑报表
960 960
961 # CA比对 961 # CA比对
962 if doc.document_scheme == consts.DOC_SCHEME_LIST[0]: 962 if doc.document_scheme == consts.DOC_SCHEME_LIST[0] and len(license_summary) > 0:
963 try: 963 try:
964 # 更新OCR累计识别结果表 964 # 更新OCR累计识别结果表
965 result_class = HILOCRResult if business_type == consts.HIL_PREFIX else AFCOCRResult 965 result_class = HILOCRResult if business_type == consts.HIL_PREFIX else AFCOCRResult
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!