no license no compare
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -967,7 +967,7 @@ class Command(BaseCommand, LoggerMixin): | ... | @@ -967,7 +967,7 @@ class Command(BaseCommand, LoggerMixin): |
967 | # TODO 识别结果存一张表,方便跑报表 | 967 | # TODO 识别结果存一张表,方便跑报表 |
968 | 968 | ||
969 | # CA比对 | 969 | # CA比对 |
970 | if doc.document_scheme == consts.DOC_SCHEME_LIST[0]: | 970 | if doc.document_scheme == consts.DOC_SCHEME_LIST[0] and len(license_summary) > 0: |
971 | try: | 971 | try: |
972 | # 更新OCR累计识别结果表 | 972 | # 更新OCR累计识别结果表 |
973 | result_class = HILOCRResult if business_type == consts.HIL_PREFIX else AFCOCRResult | 973 | result_class = HILOCRResult if business_type == consts.HIL_PREFIX else AFCOCRResult | ... | ... |
-
Please register or sign in to post a comment