Merge branch 'feature/portal-reocr' into feature/uat-tmp
Showing
1 changed file
with
3 additions
and
0 deletions
... | @@ -2361,6 +2361,9 @@ class BatchReOcrView(GenericView, DocHandler): | ... | @@ -2361,6 +2361,9 @@ class BatchReOcrView(GenericView, DocHandler): |
2361 | time_stamp = time.time() | 2361 | time_stamp = time.time() |
2362 | for doc in docs.iterator(): | 2362 | for doc in docs.iterator(): |
2363 | self.running_log.info('[batch doc reocr timestamp={0}] [doc_id={1}]'.format(time_stamp, doc.id)) | 2363 | self.running_log.info('[batch doc reocr timestamp={0}] [doc_id={1}]'.format(time_stamp, doc.id)) |
2364 | if doc.application_id.startswith(consts.FIXED_APPLICATION_ID_PREFIX): | ||
2365 | self.running_log.info('[doc re-ocr fail not support CH-S] [application_entity={0}] [doc_id={1}]'.format(application_entity, doc.id)) | ||
2366 | continue | ||
2364 | 2367 | ||
2365 | # 3. 选择队列进入 | 2368 | # 3. 选择队列进入 |
2366 | is_priority = PriorityApplication.objects.filter(application_id=doc.application_id, on_off=True).exists() | 2369 | is_priority = PriorityApplication.objects.filter(application_id=doc.application_id, on_off=True).exists() | ... | ... |
-
Please register or sign in to post a comment