Merge branch 'feature/ca_compare' into feature/0611
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment