MOD:模拟下单的文件不支持重新识别
Showing
1 changed file
with
3 additions
and
0 deletions
... | @@ -2155,6 +2155,9 @@ class BatchReOcrView(GenericView, DocHandler): | ... | @@ -2155,6 +2155,9 @@ class BatchReOcrView(GenericView, DocHandler): |
2155 | time_stamp = time.time() | 2155 | time_stamp = time.time() |
2156 | for doc in docs.iterator(): | 2156 | for doc in docs.iterator(): |
2157 | self.running_log.info('[batch doc reocr timestamp={0}] [doc_id={1}]'.format(time_stamp, doc.id)) | 2157 | self.running_log.info('[batch doc reocr timestamp={0}] [doc_id={1}]'.format(time_stamp, doc.id)) |
2158 | if doc.application_id.startswith(consts.FIXED_APPLICATION_ID_PREFIX): | ||
2159 | self.running_log.info('[doc re-ocr fail not support CH-S] [application_entity={0}] [doc_id={1}]'.format(application_entity, doc.id)) | ||
2160 | continue | ||
2158 | 2161 | ||
2159 | # 3. 选择队列进入 | 2162 | # 3. 选择队列进入 |
2160 | is_priority = PriorityApplication.objects.filter(application_id=doc.application_id, on_off=True).exists() | 2163 | is_priority = PriorityApplication.objects.filter(application_id=doc.application_id, on_off=True).exists() | ... | ... |
-
Please register or sign in to post a comment